Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217577 - 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: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-14 02:01 UTC by Nick Potts
Modified: 2008-11-01 20:35 UTC (History)
2 users (show)

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 Nick Potts 2008-04-14 02:01:41 UTC
I dont know too much about the build system nor how it works, but I am willing to give as much information as I can give.

Despite trying previous versions of boost, they all end in the same compile time problems.

Reproducible: Always

Steps to Reproduce:
1.emerge boost
2.
3.

Actual Results:  
...
MkDir1 bin.v2/libs/wave
MkDir1 bin.v2/libs/wave/build
MkDir1 bin.v2/libs/wave/build/gcc-4.1
MkDir1 bin.v2/libs/wave/build/gcc-4.1/release
MkDir1 bin.v2/libs/wave/build/gcc-4.1/release/debug-symbols-none
MkDir1 bin.v2/libs/wave/build/gcc-4.1/release/debug-symbols-none/link-static
MkDir1 bin.v2/libs/wave/build/gcc-4.1/release/debug-symbols-none/link-static/optimization-none
MkDir1 bin.v2/libs/wave/build/gcc-4.1/release/debug-symbols-none/link-static/optimization-none/runtime-link-static
gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/instantiate_cpp_exprgrammar.o
gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/instantiate_cpp_grammar.o
...on 200th target...
gcc.archive bin.v2/libs/signals/build/gcc-4.1/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/threading-multi/libboost_signals-mt-s.a
gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/instantiate_cpp_literalgrs.o
{standard input}: Assembler messages:
{standard input}:6292: Warning: end of file not at end of a line; newline inserted
x86_64-pc-linux-gnu-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.

    "x86_64-pc-linux-gnu-g++"  -ftemplate-depth-128 -march=athlon64 -O3 -pipe -finline-functions -Wno-inline -Wall  -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"." -c -o "bin.v2/libs/wave/build/gcc-4.1/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/instantiate_cpp_exprgrammar.o" "libs/wave/src/instantiate_cpp_exprgrammar.cpp"

...failed gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/instantiate_cpp_exprgrammar.o...
...removing bin.v2/libs/wave/build/gcc-4.1/release/debug-symbols-none/link-static/optimization-none/runtime-link-static/instantiate_cpp_exprgrammar.o
...failed updating 1 target...
...updated 199 targets...
 *
 * ERROR: dev-libs/boost-1.34.1-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3098:  Called die
 * The specific snippet of code:
 *           bjam ${NUMJOBS} -q ${OPTIONS} threading=single,multi runtime-link=${linkoption} link=${linkoption} --prefix="${D}/usr" --layout=system || 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.34.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.34.1-r2/temp/environment'.



Portage 2.1.4.4 (default-linux/amd64/2007.0/no-multilib, gcc-4.1.2, glibc-2.5-r4, 2.6.23-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4000+
Timestamp of tree: Mon, 14 Apr 2008 01:04:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo"
LDFLAGS="--verbose"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/sunrise /usr/portage/local/layman/gentooiverse /usr/portage/local/layman/enlightenment /usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/sunrise /usr/portage/local/layman/gentooiverse /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit 7zip X acl administrator afs alias alsa amd64 apache2 asf async berkdb bzip2 cdr cgi chroot cli console cracklib crypt css cups curl curlwrappers dri dvd dvdnav dvdr dvdread enblend exif ffmpeg flac fortran gb gd-external gdbm gif gnome gphoto2 gpm gstreamer gtk gtkhtml html iconv icp id3 ipod ipv6 isdnlog jack jpeg jpeg2k kde linguas lzw midi mmx mng mp3 mp4 mudflap musicbrainz mysql ncurses nls nptl nptlonly ogg opengl openmp openssl pam pcre perl php png ppds pppd pulseaudio python qt3 qt3support qt4 readline reflection samba scenarios session sift smp spl sse sse2 ssl tcpd threads tidy tiff timidity tokenizer transcode unicode usb vorbis webdav xml xorg zip zlib" ALSA_CARDS="intel8x0 ALC883 AC97 hda-intel intel-hd hd-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2008-04-14 14:51:19 UTC
Please check your kernel logs for "out of memory" messages (or "oom killer" messages) and try again with "-j1".
Comment 2 Nick Potts 2008-04-19 18:33:04 UTC
(In reply to comment #1)
> Please check your kernel logs for "out of memory" messages (or "oom killer"
> messages) and try again with "-j1".
> 
I checked the kernel messages via dmesg, but I have nothing related to out of memory / oom or any kill commands.  im going to rerun it with -j1 in my compile time options

Comment 3 Rafael 2008-05-26 14:03:58 UTC
I have no  "out of memory" messages (or "oom killer"
messages).
I did test with -j1 and it didn't compile. This error message is bellow, but i don't know if its the same problem reported before.

---
    "i686-pc-linux-gnu-g++"  -ftemplate-depth-128 -O2 -march=prescott -fomit-frame-pointer -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 106 targets...
 * 
 * ERROR: dev-libs/boost-1.34.1-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3034:  Called die
 * The specific snippet of code:
 *           bjam ${NUMJOBS} -q ${OPTIONS} threading=single,multi runtime-link=${linkoption} link=${linkoption} --prefix="${D}/usr" --layout=system || 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.34.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.34.1-r2/temp/environment'.
 * 

 * Messages for package dev-libs/boost-1.34.1-r2:

 * Using the following options to build: 
 *   release debug-symbols=none optimization=none --user-config=/var/tmp/portage/dev-libs/boost-1.34.1-r2/work/boost_1_34_1/user-config.jam
 * 
 * ERROR: dev-libs/boost-1.34.1-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3034:  Called die
 * The specific snippet of code:
 *           bjam ${NUMJOBS} -q ${OPTIONS} threading=single,multi runtime-link=${linkoption} link=${linkoption} --prefix="${D}/usr" --layout=system || 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.34.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.34.1-r2/temp/environment'.
 * 
--

emerge --info

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.3.0, glibc-2.6.1-r0, 2.6.25.4 i686)
=================================================================
System uname: 2.6.25.4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Mon, 26 May 2008 12:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9, 2.5.1-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ http://mirror.datapipe.net/gentoo"
LANG="pt_BR.UTF-8"
LC_ALL="pt_BR.UTF-8"
LINGUAS="pt_BR en_US"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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="X a52 aac acl aiglx aim alsa apache2 avahi avi background bash-completion berkdb branding bzip2 cairo cdr chardet cli compiz-fusion cracklib crypt cups dbus divx4linux dmi dri dvd dvdr dvdread dvi encode escreen ffmpeg firefox fortran gcc-libffi gcj gdbm gif glitz gnome gnustep gphoto2 gpm gstreamer gtk gtk2 hal i8x0 iconv imlib isdnlog java jikes jpeg kdeenablefinal kdehiddenvisibility latex lcms libnotify lm_sensors logrotate mad matroska midi mmap mmx motif mozilla mp3 mp4 mpeg mpi msn mudflap musepack musicbrainz mysql ncurses nls nocd nptl nptlonly nsplugin objc ogg opengl openmp pam pcre pdf perl plugin png postscript pppd ps python qt3 qt4 quicktime readline real reflection rtsp sdl session spell spl sse sse2 ssl startup-notification stream svg tagwriting tcpd tetex theora threads tiff trayicon truetype unicode usb utempter vidix vim-pager vim-syntax vim-with-x vorbis win32codecs wmf x264 x86 xattr xcb xcomposite xine xml xorg xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse usbmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR en_US" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev i915"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Rafael 2008-05-26 16:23:49 UTC
I've just discovered that my problem isn't related to this bug. It only happens with gcc 4.3. So it's bug 210427 which is marked resolved with resolution WONTFIX.


Sorry! :-)
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2008-11-01 20:35:31 UTC

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