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): qpid-cpp-0.22-12 How reproducible: 100% Steps to Reproduce: rm -rf ~/rpmbuild mkdir ~/rpmbuild mkdir ~/rpmbuild/SOURCES cd ~/rpmbuild/SOURCES wget http://download.devel.redhat.com/brewroot/////packages/qpid-cpp/0.22/12.el6/src/qpid-cpp-0.22-12.el6.src.rpm rpm2cpio qpid-cpp-0.22-12.el6.src.rpm | cpio -div rpmbuild -ba qpid-cpp.spec Actual results: RPM build errors: File not found: /root/rpmbuild/BUILDROOT/qpid-cpp-0.22-12.el6.x86_64/usr/lib64/qpid/client/amqpc.so Expected results: Build passes Additional info: 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] build log
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 BuildRequires: qpid-proton-c BuildRequires: qpid-proton-c-devel $ 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 <iboverma> - 0.22-13 - Changed qpid-proton... >= 0.5 Rebuild test passed on both i386 and x86_64.