[pkg-boost-devel] Bug#701377: boost1.49: ftbfs with GCC-4.8

Daniel Hartwig mandyke at gmail.com
Fri Mar 1 11:45:35 UTC 2013

On 27 February 2013 15:40, Daniel Hartwig <mandyke at gmail.com> wrote:
> The errors related to BOOST_STATIC_ASSERT are fixed upstream:
>   <https://svn.boost.org/trac/boost/ticket/7242>

The upstream changeset associated with that includes unrelated changes
to the macro.  Attached gcc4.8_trac-7242.patch includes only the fix
for the unused local typedef warnings.

Fix is not yet in any released upstream version.

Many unused local typedef warnings remain that do not appear to be
addressed upstream or cause the build to fail.

>>  ./boost/thread/xtime.hpp:23:5: error: expected identifier
>>  before numeric constant

This is <https://svn.boost.org/trac/boost/ticket/6940>.  C11
introduces a macro (TIME_UTC) that conflicts with a boost enum; the
macro is maybe present with eglibc-2.16 and later.  Again, the
associated upstream changeset includes some unrelated.  Attached
c11_trac-6490.patch includes only the fix for this enum issue.

This fix is in boost 1.50 (according to trac).

These two patches are sufficient to _build_ boost1.49 with gcc-4.8 and
eglibc-2.17, and the produced binary packages are sufficient to build
anytun [1], libzeep [1], and aptitude [2].  I lack the resources to
test more thoroughly.


[1] Selected as a quick test for its small size and few

[2] Aptitude also suffers from a similar issue with google-mock,
    but builds ok for the parts using boost.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c11_trac-6940.patch
Type: application/octet-stream
Size: 7622 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20130301/a8141d23/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc4.8_trac-7242.patch
Type: application/octet-stream
Size: 1076 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20130301/a8141d23/attachment-0001.obj>

More information about the pkg-boost-devel mailing list