Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x86_64 RPM package missing "provides" [CORE981] #1386

Closed
firebird-automations opened this issue Oct 29, 2006 · 12 comments
Closed

x86_64 RPM package missing "provides" [CORE981] #1386

firebird-automations opened this issue Oct 29, 2006 · 12 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Rick Wagner (rjwgnr27)

I installed FirebirdSS-2.0.0.12745-ReleaseCandidate5.amd64.rpm on Fedora Core 5, x86_64. This package supplies the following to the RPM system (rpm --query --provides FirebirdSS):

libfbclient.so.2
http://libgds.so
FirebirdSS = 2.0.0.12745-ReleaseCandidate5

I can build various other packages with Firbird support (PHP, qt, hk_classes), and they build fine. However they fail to install, due to the missing dependency "libfbclient.so.2()(64bit)". Thus when I build the binary for "hk_classes" (http://hk-classes.sourceforge.net/, .spec file from http://svn.rpmforge.net/svn/trunk/rpms/hk_classes/hk_classes.spec), the binary build fine. Attempting to install the binary package:

#⁠ rpm -ivh /home/rwagner/rpmbuild/RPMS/x86_64/hk_classes-0.8.2-0rw1.x86_64.rpm
error: Failed dependencies:
libfbclient.so.2()(64bit) is needed by hk_classes-0.8.2-0rw1.x86_64
#⁠

This can be worked around by using the "AutoReqProv: no" in the package definition of the client .spec file.

I've seen this attempting to build php and qt too.

Another suggestion, have the package supply a generic "Firebird" or "FirebirdSQL". That way clients can use a generic 'Requires' clause; the clients should have to know whether the Firebird server is SS or CS. Yet I have to build the clients with a specific "Requires" clause of either FirebirdSS or FirbirdCS.

Commits: cf31f49

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Rick, would you be able to test packages when I do changes?
I do not have access to rpm-enabled 64-bit linux.

@firebird-automations
Copy link
Collaborator Author

Commented by: Rick Wagner (rjwgnr27)

Alexander,

Yes I can test a package. Both FC6 and FC5, if that matters.

Thanks,
--rick

@firebird-automations
Copy link
Collaborator Author

Commented by: @pmakowski

can't we provide a package with libfbclient only ?
under Mandriva it is what is done

%package -n %libfbclient
Summary: Multi-threaded, non-local client libraries for Firebird SQL Database
Group: System/Libraries

%description -n %libfbclient
Multi-threaded, non-local client libraries for Firebird SQL Database

%files -n %libfbclient
%defattr(0644,root,root,0755)
%dir %{fbroot}/lib
%{_libdir}/libfbclient.so.*
%{fbroot}/lib/libfbclient.so.*

@firebird-automations
Copy link
Collaborator Author

@firebird-automations
Copy link
Collaborator Author

Commented by: Rick Wagner (rjwgnr27)

Alexander,

I installed the package. During installation I got the following messages:

Starting Firebird server: ASSERT: file ../src/utilities/ibmgr/ibmgr.cpp line 711: in_sw = 20
server has been successfully started

I then rebuilt PHP, removing the "AutoReqDep: No" line. Installing the updated PHP worked.

This package seems to have fixed the problem!

Thank you.

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Learned rpmheader to distinguish between 32/64 builds.
Also fixed reported by Rick assertion in fbmgr when DEV_BUILD.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.1 Beta 1 [ 10141 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 11291 ] => Firebird [ 15371 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Cannot be tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants