If you use the -l option in your global MAKEOPTS, the option gets passed to bjam. bjam uses this option to limit compile times and fails if they take too long. Reproducible: Always Steps to Reproduce: 1. set MAKEOPTS="-l2" in your make.conf 2. emerge =dev-libs/boost-1.35.0-r5 Actual Results: >>> Compiling source in /var/tmp/portage/dev-libs/boost-1.35.0-r5/work/boost_1_35_0 ... * Using the following options to build: * --without-mpi --user-config=/var/tmp/portage/dev-libs/boost-1.35.0-r5/work/boost_1_35_0/user-config.jam --boost-build=/usr/share/boost-build-1_35 --prefix=/var/tmp/portage/dev-libs/boost-1.35.0-r5/image//usr --layout=versioned warning: Graph library does not contain optional GraphML reader. note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the note: directories containing the Expat headers and libraries, respectively. Building Boost.Regex with the optional Unicode/ICU support disabled. Please refer to the Boost.Regex documentation for more information (don't panic: this is a strictly optional feature). Skipping build of: ./headers <build>no in common properties Skipping build of: ./stage-unversioned <build>no in common properties Skipping build of: ./install-unversioned <build>no in common properties Skipping build of: ./build_all <build>no in common properties Skipping build of: ./headers <build>no in common properties Skipping build of: ./stage-unversioned <build>no in common properties Skipping build of: ./install-unversioned <build>no in common properties Skipping build of: ./build_all <build>no in common properties ...patience... ...patience... ...found 4875 targets... ...updating 1162 targets... MkDir1 bin.v2 MkDir1 bin.v2/libs MkDir1 bin.v2/libs/serialization MkDir1 bin.v2/libs/serialization/build MkDir1 bin.v2/libs/serialization/build/gcc-4.1 MkDir1 bin.v2/libs/serialization/build/gcc-4.1/gentoorelease gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.1/gentoorelease/basic_archive.o 2 second time limit exceeded "x86_64-pc-linux-gnu-g++" -ftemplate-depth-128 -march=athlon64 -O2 -pipe -msse3 -finline-functions -Wno-inline -Wall -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_SERIALIZATION_DYN_LINK=1 -DNDEBUG -I"." -c -o "bin.v2/libs/serialization/build/gcc-4.1/gentoorelease/basic_archive.o" "libs/serialization/src/basic_archive.cpp" ...failed gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.1/gentoorelease/basic_archive.o... ...removing bin.v2/libs/serialization/build/gcc-4.1/gentoorelease/basic_archive.o ...failed updating 1 target... ...updated 6 targets... * * ERROR: dev-libs/boost-1.35.0-r5 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3733: Called die * The specific snippet of code: * ${BJAM} ${NUMJOBS} -q gentoorelease ${OPTIONS} threading=single,multi link=shared,static runtime-link=shared,static || die "building boost failed"; * The die message: * building boost failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-libs/boost-1.35.0-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.35.0-r5/temp/environment'. * Expected Results: >>> Compiling source in /var/tmp/portage/dev-libs/boost-1.35.0-r5/work/boost_1_35_0 ... * Using the following options to build: * --without-mpi --user-config=/var/tmp/portage/dev-libs/boost-1.35.0-r5/work/boost_1_35_0/user-config.jam --boost-build=/usr/share/boost-build-1_35 --prefix=/var/tmp/portage/dev-libs/boost-1.35.0-r5/image//usr --layout=versioned warning: Graph library does not contain optional GraphML reader. note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the note: directories containing the Expat headers and libraries, respectively. Building Boost.Regex with the optional Unicode/ICU support disabled. Please refer to the Boost.Regex documentation for more information (don't panic: this is a strictly optional feature). Skipping build of: ./headers <build>no in common properties Skipping build of: ./stage-unversioned <build>no in common properties Skipping build of: ./install-unversioned <build>no in common properties Skipping build of: ./build_all <build>no in common properties Skipping build of: ./headers <build>no in common properties Skipping build of: ./stage-unversioned <build>no in common properties Skipping build of: ./install-unversioned <build>no in common properties Skipping build of: ./build_all <build>no in common properties ...patience... ...patience... ...found 4875 targets... ...updating 1162 targets... MkDir1 bin.v2 MkDir1 bin.v2/libs MkDir1 bin.v2/libs/serialization MkDir1 bin.v2/libs/signals MkDir1 bin.v2/libs/test MkDir1 bin.v2/libs/test/build MkDir1 bin.v2/libs/signals/build MkDir1 bin.v2/libs/serialization/build MkDir1 bin.v2/libs/serialization/build/gcc-4.1 MkDir1 bin.v2/libs/signals/build/gcc-4.1 MkDir1 bin.v2/libs/test/build/gcc-4.1 MkDir1 bin.v2/libs/test/build/gcc-4.1/gentoorelease MkDir1 bin.v2/libs/signals/build/gcc-4.1/gentoorelease MkDir1 bin.v2/libs/serialization/build/gcc-4.1/gentoorelease gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.1/gentoorelease/basic_iserializer.o gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.1/gentoorelease/basic_archive.o gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.1/gentoorelease/basic_oserializer.o gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.1/gentoorelease/basic_pointer_iserializer.o ...... Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Athlon-tm-_7750_Dual-Core_Processor-with-gentoo-2.0.1 Timestamp of tree: Thu, 03 Dec 2009 18:30:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.4.4-r13, 2.5.4-r3, 2.6.4 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r2 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" 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 /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-l2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acl amd64 bash-completion berkdb bonjour bzip2 cairo cli cracklib crypt cxx dbus dri embedded encode fortran gdbm gpm gtk iconv ipv6 jpeg kde kerberos mmx mng modules mudflap multilib mysql ncurses netboot nls nptl nptlonly openmp pam pcre perl png pppd python qt3support qt4 rdp readline reflection samba session spl sql sse sse2 ssl ssse3 svg sysfs syslog tcpd tftp threads tordns unicode vnc vorbis webkit xorg xulrunner zlib" 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 lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_connect proxy_http" ELIBC="glibc" INPUT_DEVICES="keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
*** This bug has been marked as a duplicate of bug 241684 ***