dev-libs/boost-1.52.0-r5 failes to compile with gcc-4.5.4 # emerge -1 \=boost-1.52.0-r5 Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-libs/boost-1.52.0-r5 * boost_1_52_0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking boost_1_52_0.tar.bz2 to /var/tmp/portage/dev-libs/boost-1.52.0-r5/work >>> Source unpacked in /var/tmp/portage/dev-libs/boost-1.52.0-r5/work >>> Preparing source in /var/tmp/portage/dev-libs/boost-1.52.0-r5/work/boost_1_52_0 ... * Applying boost-1.48.0-mpi_python3.patch ... [ ok ] * Applying boost-1.51.0-respect_python-buildid.patch ... [ ok ] * Applying boost-1.51.0-support_dots_in_python-buildid.patch ... [ ok ] * Applying boost-1.48.0-no_strict_aliasing_python2.patch ... [ ok ] * Applying boost-1.48.0-disable_libboost_python3.patch ... [ ok ] * Applying boost-1.48.0-python_linking.patch ... [ ok ] * Applying boost-1.48.0-disable_icu_rpath.patch ... [ ok ] * Applying remove-toolset-1.48.0.patch ... [ ok ] * Applying boost-1.52.0-tuple.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/boost-1.52.0-r5/work/boost_1_52_0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/boost-1.52.0-r5/work/boost_1_52_0 ... * python3.2: running building b2 gentoorelease -j999 -q -d+2 --user-config=/var/tmp/portage/dev-libs/boost-1.52.0-r5/work/boost_1_5 2_0/user-config.jam --disable-icu boost.locale.icu=off --without-mpi pch=off --boost-build=/usr/share /boost-build --prefix="/var/tmp/portage/dev-libs/boost-1.52.0-r5/image/usr" --layout=system threading =multi link=shared --without-context --python-buildid=3.2 Building the Boost C++ Libraries. /var/tmp/portage/dev-libs/boost-1.52.0-r5/temp/environment: line 964: 31328 Segmentation fault b 2 "$@" * ERROR: dev-libs/boost-1.52.0-r5 failed (compile phase): * Building of Boost libraries failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3132: Called python_foreach_impl 'building' * environment, line 2858: Called building * environment, line 3102: Called die * The specific snippet of code: * ejam ${OPTIONS} $(use python && echo --python-buildid=${EPYTHON#python}) || die "Buildin g of Boost libraries failed"; * * If you need support, post the output of `emerge --info '=dev-libs/boost-1.52.0-r5'`, * the complete build log and the output of `emerge -pqv '=dev-libs/boost-1.52.0-r5'`. * The complete build log is located at '/var/tmp/portage/dev-libs/boost-1.52.0-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.52.0-r5/temp/environm ent'. * Working directory: '/var/tmp/portage/dev-libs/boost-1.52.0-r5/work/boost_1_52_0' * S: '/var/tmp/portage/dev-libs/boost-1.52.0-r5/work/boost_1_52_0' >>> Failed to emerge dev-libs/boost-1.52.0-r5, Log file: >>> '/var/tmp/portage/dev-libs/boost-1.52.0-r5/temp/build.log' * Messages for package dev-libs/boost-1.52.0-r5: * ERROR: dev-libs/boost-1.52.0-r5 failed (compile phase): * Building of Boost libraries failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3132: Called python_foreach_impl 'building' * environment, line 2858: Called building * environment, line 3102: Called die * The specific snippet of code: * ejam ${OPTIONS} $(use python && echo --python-buildid=${EPYTHON#python}) || die "Buildin g of Boost libraries failed"; * * If you need support, post the output of `emerge --info '=dev-libs/boost-1.52.0-r5'`, * the complete build log and the output of `emerge -pqv '=dev-libs/boost-1.52.0-r5'`. * The complete build log is located at '/var/tmp/portage/dev-libs/boost-1.52.0-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.52.0-r5/temp/environm ent'. * Working directory: '/var/tmp/portage/dev-libs/boost-1.52.0-r5/work/boost_1_52_0' * S: '/var/tmp/portage/dev-libs/boost-1.52.0-r5/work/boost_1_52_0' # emerge --info \=boost-1.52.0-r5 Portage 2.2.0_alpha148 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.5.7-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5645-with-gentoo-2.1 Timestamp of tree: Tue, 18 Dec 2012 23:15:01 +0000 ld GNU ld (GNU Binutils) 2.22 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.4 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo betagarden sunrise rkmathi-overlay ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc /gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe " DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafi les merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms stri ct unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.iij.ad.jp/pub/linux/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j -l4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/pack ages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/betagarden /var/lib/layman/sunrise /home/rkmathi/rep/my/rkmathi-over lay" SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage" USE="aalib acl amd64 bash-completion berkdb bzip2 cgi cjk cli cracklib crypt cscope curl cxx dbus dri fastcgi fortran gd gdbm gif git gnutils gpm grapviz gsl gzip iconv imagemagick imap java javascript jpeg latex lzo mime mmx modules mudflap multilib mysql mysqli ncurses nls nptl ocaml openmp pam pcre perl php png posix pppd python raw readline ruby session sockets socks5 source sqlite sqlite3 sse sse 2 sse3 ssl svg syslog szip tcpd threads udev unicode vim-syntax webkit xml zlib zsh-completion" ALSA_ CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM _PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloa t linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_c ore authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_de fault authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter he aders include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling st atus unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage ta bles krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool sw ap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpscl ock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 t iming tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console p resenter-minimizer" LINGUAS="en ja" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARG ETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19 ree18 jruby rbx" USERLAND="GNU" VIDEO_CARDS="fb dev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition t ee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRE SS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
I am pretty sure this has nothing to do with sys-devel/gcc.
Confirmed here ~amd64.
(In reply to Allan Gottlieb from comment #2) > Confirmed here ~amd64. And again (~amd64) with boost-1-52.0-r6. Looks to be same problem. build.log ends with >>> Source prepared. >>> Configuring source in /mnt/h/portage-tmpdir/portage/dev-libs/boost-1.52.0-r6/work/boost_1_52_0 ... >>> Source configured. >>> Compiling source in /mnt/h/portage-tmpdir/portage/dev-libs/boost-1.52.0-r6/work/boost_1_52_0 ... b2 gentoorelease -j999 -q -d+2 --user-config=/mnt/h/portage-tmpdir/portage/dev-libs/boost-1.52.0-r6/work/boost_1_52_0/user-config.jam --disable-icu boost.locale.icu=off --without-mpi --without-python pch=off --boost-build=/usr/share/boost-build --prefix="/mnt/h/portage-tmpdir/portage/dev-libs/boost-1.52.0-r6/image/usr" --layout=system threading=multi link=shared --without-context Building the Boost C++ Libraries. /mnt/h/portage-tmpdir/portage/dev-libs/boost-1.52.0-r6/temp/environment: line 1093: 9362 Aborted b2 "$@" * ERROR: dev-libs/boost-1.52.0-r6::gentoo failed (compile phase): * Building of Boost libraries failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3721: Called building * environment, line 3689: Called die * The specific snippet of code: * ejam ${OPTIONS} $(use python && echo --python-buildid=${EPYTHON#python}) || die "Building of Boost libraries failed"; * * If you need support, post the output of `emerge --info '=dev-libs/boost-1.52.0-r6::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/boost-1.52.0-r6::gentoo'`. * The complete build log is located at '/mnt/h/portage-tmpdir/portage/dev-libs/boost-1.52.0-r6/temp/build.log'. * The ebuild environment file is located at '/mnt/h/portage-tmpdir/portage/dev-libs/boost-1.52.0-r6/temp/environment'. * Working directory: '/mnt/h/portage-tmpdir/portage/dev-libs/boost-1.52.0-r6/work/boost_1_52_0' * S: '/mnt/h/portage-tmpdir/portage/dev-libs/boost-1.52.0-r6/work/boost_1_52_0'
Hi, try to modify the MAKEOPTS variable in /etc/portage/make.conf or set it temporarly to something like "-j 4". I had exactly the same error with dev-libs/boost-1.52.0-r6 and was wondering about the -j999 in the b2 command. Using a value smaller 50 worked on my system. Best Regards, donnerzusel
(In reply to Thomas from comment #4) > try to modify the MAKEOPTS variable in /etc/portage/make.conf or set it > temporarly to something like "-j 4". Bingo. I had failures on two amd64 systems. I tried one with --jobs 4 and one with --jobs 1. Both worked! I now set /etc/portage/package.env to use --jobs 4 with boost. thanks, allan
*** This bug has been marked as a duplicate of bug 498134 ***