Red Hat Bugzilla – Bug 1003700
rpmbuild of qpid-cpp-0.22-12 fails due to missing amqpc.so
Last modified: 2015-01-21 07:54:23 EST
Description of problem:
Trying to rpmbuild from SRPM of qpid-cpp-0.22-12 fails due to missing amqpc.so
Version-Release number of selected component (if applicable):
Steps to Reproduce:
rm -rf ~/rpmbuild
rpm2cpio qpid-cpp-0.22-12.el6.src.rpm | cpio -div
rpmbuild -ba qpid-cpp.spec
RPM build errors:
File not found: /root/rpmbuild/BUILDROOT/qpid-cpp-0.22-12.el6.x86_64/usr/lib64/qpid/client/amqpc.so
Full build log attached.
qpid-cpp-0.22-4 can be built, since that there were some changes wrt. amqc.so in mrg.patch
Created attachment 792981 [details]
From the log:
> -- checking for module 'libqpid-proton'
> -- found libqpid-proton, version 0.4
> -- Qpid proton 0.4 is too old, require 0.5 - 0.5; amqp 1.0 support not enabled
I.e. the proton libs need to be updated. This dependency on specific versions is unfortunate but is due to a minor change in the proton protocol engine API. I think trying to handle both versions of that API through includes etc would actually lead to more confusion.
The cause in missing dependency version in spec file:
$ grep proton qpid-cpp.spec
While to build qpid-cpp, really qpid-proton-c-0.5 or higher is required (now with that version, my rpmbuild succeeds).
Irina, could you pls. confirm (and fix the spec file)?
Verified on qpid-cpp-0.22-33.el6.src.rpm
From the spec file:
BuildRequires: qpid-proton-c-devel >= 0.6
* Tue Sep 3 2013 Irina Boverman <firstname.lastname@example.org> - 0.22-13
- Changed qpid-proton... >= 0.5
Rebuild test passed on both i386 and x86_64.