Description of problem: GCC 4.8.1 has a problem with BOOST_STATIC_ASSERT in Boost versions less than 1.54. This bug is fixed by Boost 1.54. BIND 10 is a new feature in Fedora 19 and we use BOOST_STATIC_ASSERT in its codebase, and build with -Werror. It generates warnings like this: ---- ip_check_unittest.cc: In member function ‘std::vector<unsigned char> {anonymous}::GeneralAddress::convertUint32(uint32_t)’: ip_check_unittest.cc:44:146: error: typedef ‘boost_static_assert_typedef_44’ locally defined but not used [-Werror=unused-local-typedefs] BOOST_STATIC_ASSERT(sizeof(uint32_t) == IPV4_SIZE); ^ cc1plus: all warnings being treated as errors ---- See: https://bind10.isc.org/ticket/3039 See: https://svn.boost.org/trac/boost/ticket/7242 Version-Release number of selected component (if applicable): boost-1.53.0-7.fc19.x86_64 How reproducible: Always Steps to Reproduce: See description of: https://svn.boost.org/trac/boost/ticket/7242 Or compile BIND 10 master branch: https://bind10.isc.org/ Actual results: Generates warning which causes compile failure with -Werror. Expected results: No warnings. ACTION: Please upgrade Boost in Fedora 19 to version 1.54.
I identified several of these issues. The one you mention is fixed in 1.54, but there are others (upstream tickets 8844, 8847, 8859). Rebase to 1.54 is absolutely out of the question, but I will backport the relevant patches.
More related tickets: 8853, 8854, 8855, 8856.
More related tickets: 8870, 8871, 8872.
I've now committed my work in progress, which covers the above bugs. I'll spin a test build and possibly push the actual thing later today.
More related tickets: 8876, 8877, 8878, 8879, 8880, 8881. I committed this work in progress, and am spinning another test build. Hopefully I'll be able to finalize this tomorrow.
boost-1.53.0-8.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/boost-1.53.0-8.fc19
Package boost-1.53.0-8.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing boost-1.53.0-8.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-13501/boost-1.53.0-8.fc19 then log in and leave karma (feedback).
I confirm that this update package fixes my problem (in comment #0). Thank you for making a fix available quickly.
boost-1.53.0-8.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.