[OE-core] boost breaks on rebuild

Steve Sakoman sakoman at gmail.com
Wed Mar 14 22:28:39 UTC 2012


Boost is another package when a rebuild is triggered:

ERROR: Logfile of failure stored in:
/media/Work/yocto/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/boost-1.49.0-r2.0/temp/log.do_compile.22475
Log data follows:
| ERROR: Function failed: do_compile (see
/media/Work/yocto/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/boost-1.49.0-r2.0/temp/log.do_compile.22475
for further information)
| + bjam -sTOOLS=gcc '-sGCC=ccache arm-poky-linux-gnueabi-gcc
-march=armv7-a -fno-tree-vectorize      -mthumb-interwork
-mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8  -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed
--sysroot=/media/Work/yocto/tmp/sysroots/omap4-multi
'\''-DBOOST_PLATFORM_CONFIG="boost/config/platform/linux-gnueabi.hpp"'\'''
'-sGXX=ccache arm-poky-linux-gnueabi-g++  -march=armv7-a
-fno-tree-vectorize      -mthumb-interwork -mfloat-abi=softfp
-mfpu=neon -mtune=cortex-a8  -Wl,-O1 -Wl,--hash-style=gnu
-Wl,--as-needed --sysroot=/media/Work/yocto/tmp/sysroots/omap4-multi
'\''-DBOOST_PLATFORM_CONFIG="boost/config/platform/linux-gnueabi.hpp"'\'''
-sGCC_INCLUDE_DIRECTORY=/media/Work/yocto/tmp/sysroots/omap4-multi/usr/include
-sGCC_STDLIB_DIRECTORY=/media/Work/yocto/tmp/sysroots/omap4-multi/usr/lib
-sNO_BZIP2=1 -sNO_ZLIB=1 '-sBUILD=release <optimization>space
<threading>multi <inlining>on <debug-symbols>off'
'-sPYTHON_VERSION=${PYTHON_VERSION}' --layout=system
--builddir=/media/Work/yocto/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/boost-1.49.0-r2.0/boost_1_49_0/arm-poky-linux-gnueabi
--disable-icu --with-date_time --with-filesystem --with-graph
--with-iostreams --with-program_options --with-regex --with-signals
--with-system --with-test --with-thread --prefix=/usr
--exec-prefix=/usr --libdir=/usr/lib --includedir=/usr/include
| error: at /media/Work/yocto/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/boost-1.49.0-r2.0/boost_1_49_0/tools/build/v2/user-config.jam:94
| error: duplicate initialization of gcc with the following parameters:
| error: version = 4.3.1
| error: previous initialization at
/media/Work/yocto/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/boost-1.49.0-r2.0/boost_1_49_0/tools/build/v2/user-config.jam:93
|
NOTE: package boost-1.49.0-r2.0: task do_compile: Failed

I don't have a fix for this but wanted to document the failure.

As with all the other failures of this type, a -c cleansstate and
rebuild is the workaround.

It feels to me like there are quite a few recipes that don't handle
rebuilds -- I seem to run into a few after every pull.

Steve




More information about the Openembedded-core mailing list