Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253362 - dev-libs/boost-1.34.1-r2 fails to compile
Summary: dev-libs/boost-1.34.1-r2 fails to compile
Status: RESOLVED DUPLICATE of bug 210427
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-01 15:39 UTC by Matti Bickel (RETIRED)
Modified: 2009-01-01 16:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matti Bickel (RETIRED) gentoo-dev 2009-01-01 15:39:33 UTC
Here's the error:
gcc.compile.c++ bin.v2/libs/test/build/gcc-4.3/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/framework.o
In file included from ./boost/test/impl/framework.ipp:28,
                 from libs/test/src/framework.cpp:16:
./boost/test/test_tools.hpp: In function 'boost::test_tools::predicate_result boost::test_tools::tt_detail::bitwise_equal_impl(const Left&, const Right&)':
./boost/test/test_tools.hpp:567: error: 'CHAR_BIT' was not declared in this scope
In file included from libs/test/src/framework.cpp:16:
./boost/test/impl/framework.ipp: In member function 'bool boost::unit_test::framework_impl::priority_order::operator()(boost::unit_test::test_observer*, boost::unit_test::test_observer*) const':
./boost/test/impl/framework.ipp:178: warning: suggest parentheses around && within ||
gcc.compile.c++ bin.v2/libs/test/build/gcc-4.3/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/plain_report_formatter.o
./boost/test/test_tools.hpp: At global scope:
./boost/test/test_tools.hpp:262: warning: 'boost::test_tools::<unnamed>::dummy_cond' defined but not used

    "powerpc-unknown-linux-gnu-g++"  -ftemplate-depth-128 -O2 -mtune=G4 -maltivec -mabi=altivec -pipe -finline-functions -Wno-inline -Wall  -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"." -c -o "bin.v2/libs/test/build/gcc-4.3/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/framework.o" "libs/test/src/framework.cpp"

...failed gcc.compile.c++ bin.v2/libs/test/build/gcc-4.3/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/framework.o...
...failed updating 1 target...
...updated 24 targets...

!!! ERROR in dev-libs/boost-1.34.1-r2:
!!! In src_compile at line 4378
!!! building boost failed

!!! Call stack:
!!!    * src_compile (/var/tmp/paludis/dev-libs-boost-1.34.1-r2/temp/loadsaveenv:4378)
!!!    * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:49)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:482)
!!!    * main (/usr/libexec/paludis/ebuild.bash:498)

I dunno exactly what causes this, but this happened during a python-updater triggered rebuild. So my best guess is that something external to boost changed (like gcc update to 4.3)

Here's how i try to install it:
mabi@pluto ~ % ppi boost
Building target list... 
Building dependency list...

These packages will be installed:

* dev-libs/boost [R 1.34.1-r2] <target>
    -debug -doc icu -pyste -tools build_options: -optional_tests split strip

Total: 1 package (1 rebuild)


And my info:
    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p33
        dev-java/java-config:  1.3.7-r1 2.1.6-r1
        dev-lang/python:       2.4.4-r13 2.5.2-r7
        dev-python/pycrypto:   2.0.1-r6
        dev-util/ccache:       (none)
        dev-util/cmake:        2.4.6-r1
        dev-util/confcache:    (none)
        sys-apps/baselayout:   2.0.0
        sys-apps/openrc:       0.4.1-r1
        sys-apps/sandbox:      1.2.18.1-r2
        sys-devel/autoconf:    2.13 2.61-r2
        sys-devel/automake:    1.10.2 1.4_p6 1.5 1.6.3 1.7.9-r1 1.8.5-r3 1.9.6-r2
        sys-devel/binutils:    2.18-r3
        sys-devel/gcc-config:  1.4.0-r4
        sys-devel/libtool:     1.5.26
        virtual/os-headers:    2.6.23-r3 (for sys-kernel/linux-headers::installed)

Please tell me if you need more information.
Comment 1 Rafał Mużyło 2009-01-01 16:34:03 UTC
Well, you were right.

*** This bug has been marked as a duplicate of bug 210427 ***