QuantLib (one of my packages) doesn't compile in f14 or rawhide: g++ -DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fpermissive -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o BermudanSwaption.o BermudanSwaption.cpp In file included from /usr/include/boost/random/ranlux.hpp:20:0, from ../../ql/math/randomnumbers/ranluxuniformrng.hpp:28, from ../../ql/math/randomnumbers/all.hpp:18, from ../../ql/math/all.hpp:34, from ../../ql/quantlib.hpp:46, from BermudanSwaption.cpp:22: /usr/include/boost/random/subtract_with_carry.hpp: In member function 'void boost::random::subtract_with_carry<IntType, m, s, r, v>::seed(Gen&, typename boost::random::detail::disable_seed<SeedSeq>::type*)': /usr/include/boost/random/subtract_with_carry.hpp:521:9: error: 'generator_seed_seq' is not a member of 'boost::random::detail' /usr/include/boost/random/subtract_with_carry.hpp:521:39: error: expected primary-expression before '>' token /usr/include/boost/random/subtract_with_carry.hpp:522:25: error: 'seq' was not declared in this scope /usr/include/boost/random/subtract_with_carry.hpp: In member function 'void boost::random::subtract_with_carry_01<RealType, w, s, r, v>::seed(Gen&, typename boost::random::detail::disable_seed<SeedSeq>::type*)': /usr/include/boost/random/subtract_with_carry.hpp:547:9: error: 'generator_seed_seq' is not a member of 'boost::random::detail' /usr/include/boost/random/subtract_with_carry.hpp:547:39: error: expected primary-expression before '>' token /usr/include/boost/random/subtract_with_carry.hpp:548:25: error: 'seq' was not declared in this scope make[2]: *** [BermudanSwaption.o] Error 1 Full QuantLib build log is here: http://koji.fedoraproject.org/koji/getfile?taskID=2379436&name=build.log This is pretty simple to fix in boost, I've attached a patch. Please apply and push boost updates for f14/rawhide. (Alternately, if you want me to do it, just let me know.)
Created attachment 436917 [details] Fix broken boost header
(In reply to comment #0) > This is pretty simple to fix in boost, I've attached a patch. Please apply and > push boost updates for f14/rawhide. (Alternately, if you want me to do it, just > let me know.) Do you know whether upstream has already patched it? Or has that patch been submitted upstream? (I understand that that patch is harmless and simple, but it is to keep some consistency across delivered versions)
The patch has been applied in my cloned git repository: http://gitorious.org/boost/denisarnauds-zeuners-boost-cmake/commit/d596c8d5e8087c266984069f27b5e18da6daadb4 and a merge request has been created for upstream (http://gitorious.org/~zeuner/boost/zeuners-boost-cmake). Koji builds are on-going: * https://koji.fedoraproject.org/koji/buildinfo?buildID=188710 for Rawhide
Looks like the F15/rawhide build is done, Denis can you put this on F14 as well? I don't see these patches in boost-trunk, or in boost-bugzilla. It looks like there is some un-tested refactoring in boost's random support.
boost-1.44.0-0.5.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/boost-1.44.0-0.5.fc14
(In reply to comment #4) > Looks like the F15/rawhide build is done, Denis can you put this on F14 as > well? Done (see comment #5 above). Tom, could you try to rebuild the QuantLib package? > I don't see these patches in boost-trunk, or in boost-bugzilla. You are right. The corresponding header file, namely boost/random/subtract_with_carry.hpp, is not patched in the Boost Subversion trunk: http://svn.boost.org/svn/boost/trunk/boost/random/subtract_with_carry.hpp I'll try to propose that patch to someone of the Boost team.
boost-1.44.0-0.5.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.