build fails with ... CMakeFiles/txshift.dir/txshift.cpp.o: In function `boost::program_options::value_semantic* qpid::optValue<unsigned long>(unsigned long&, char const*)': /builddir/build/BUILD/qpid-cpp-0.30/src/qpid/Options.h:77: undefined reference to `boost::program_options::value_semantic* qpid::create_value<unsigned long>(unsigned long&, std::string const&)' collect2: error: ld returned 1 exit status for a full please see build.log at http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1579517 The reason is that the workers atribute is declared as size_t and size_t is defined as unsigned long (as opposed to the usual unsigned int) and there is no instance of qpid::optValue() for size_t/unsigned long. The solution would be to add template QPID_COMMON_EXTERN po::value_semantic* create_value(size_t& val, const std::string& arg); in src/qpid/Options.cpp, but I think it would conflict with existing create_value() functions, at least I recolled such problems from other projects. The workaround is to declare workers as uint in txshift.cpp.
Created attachment 982348 [details] Patch submitted by Dan Horák upstream
qpid-cpp-0.30-6.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/qpid-cpp-0.30-6.fc21
qpid-cpp-0.30-6.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/qpid-cpp-0.30-6.el7
qpid-cpp-0.30-7.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/qpid-cpp-0.30-7.fc21
qpid-cpp-0.30-7.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/qpid-cpp-0.30-7.el7
Package qpid-cpp-0.30-7.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing qpid-cpp-0.30-7.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1129/qpid-cpp-0.30-7.fc21 then log in and leave karma (feedback).
qpid-cpp-0.30-7.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/qpid-cpp-0.30-7.fc20
qpid-cpp-0.30-9.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/qpid-cpp-0.30-9.fc21
qpid-cpp-0.30-9.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/qpid-cpp-0.30-9.el7
qpid-cpp-0.30-8.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/qpid-cpp-0.30-8.fc20
qpid-cpp-0.30-11.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/qpid-cpp-0.30-11.fc21
qpid-cpp-0.30-11.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/qpid-cpp-0.30-11.el7
qpid-cpp-0.30-12.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/qpid-cpp-0.30-12.el7
qpid-cpp-0.30-12.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/qpid-cpp-0.30-12.fc21
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22
qpid-cpp-0.32-1.fc21.1 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/qpid-cpp-0.32-1.fc21.1
qpid-cpp-0.32-3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/qpid-cpp-0.32-3.fc21
qpid-cpp-0.30-12.el7, qpid-qmf-0.28-27.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
qpid-cpp-0.32-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/qpid-cpp-0.32-4.fc21
qpid-cpp-0.32-4.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.