The following occured on a mostly stable package AMD64 system. emerge --info Portage 2.1 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.3.6-r3, 2.6.15-gentoo-r7 x86_64) ================================================================= System uname: 2.6.15-gentoo-r7 x86_64 AMD Sempron(tm) Processor 3000+ Gentoo Base System version 1.6.15 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=k8 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://mirror.espri.arizona.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo http://gentoo.cs.lewisu.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 calendar cdparanoia cdr cli crypt ctype cups curl curlwrappers dba dbx dga dio directfb divx4linux dri dv dvb dvd dvdr dvdread eds emboss encode esd exif fam fbcon ffmpeg firefox flac flash flatfile foomaticdb fortran ftp gcj gd gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imap imlib isdnlog java javascript jikes joystick jpeg kde kerberos ladcca lcms libcaca libwww lirc lm_sensors lzw lzw-tiff mad memlimit mhash mikmod ming mng mono mp3 mpeg mpeg4 mplayer ncurses nls nptl odbc ofx ogg opengl oss pam pcntl pcre pda pdflib perl php plotutils png portaudio posix ppds pppd prelude python qt quicktime readline reflection rtc samba sdl session simpexml slp sndfile soap sockets sox speex spell spl sqlite ssl svg tcpd theora tidy tiff tokenizer truetype truetype-fonts type1 type1-fonts unichrome unicode usb v4l vcd videos vorbis wddx wifi wmf xcomposite xine xml xml2 xmms xorg xosd xpm xrandr xscreensaver xsl xv xvid xvmc zeroconf zlib elibc_glibc kernel_linux userland_GNU video_cards_ati video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS [ebuild U ] media-libs/netpbm-10.34 [10.30-r1] USE="jpeg png tiff xml% zlib" 0 kB ... x86_64-pc-linux-gnu-gcc -Wall -o ppmspread ppmspread.o -lm `/var/tmp/portage/netpbm-10.34/work/netpbm-10.34/buildtools/libopt /var/tmp/portage/netpbm-10.34/work/netpbm-10.34/lib/libnetpbm.so` \ x86_64-pc-linux-gnu-gcc -Wall -o ppmtv ppmtv.o -lm `/var/tmp/portage/netpbm-10.34/work/netpbm-10.34/buildtools/libopt /var/tmp/portage/netpbm-10.34/work/netpbm-10.34/lib/libnetpbm.so` \ make[1]: Leaving directory `/var/tmp/portage/netpbm-10.34/work/netpbm-10.34/editor' !!! ERROR: media-libs/netpbm-10.34 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile netpbm-10.34.ebuild, line 96: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant.
> !!! If you need support, post the topmost build error You didn't post any error. Try with MAKEOPTS="-j1" if you can't see any.
I noticed the lack of any error. First time I'd seen this kind of stoppage. I'll try with -j1 and report back. Thanks.
Reattempted with -j1 set instead of -j2. Much more informative... x86_64-pc-linux-gnu-gcc -Wall -c -I/var/tmp/portage/netpbm-10.34/work/netpbm-10.34/converter/pbm -I. -I importinc -DNDEBUG \ -march=k8 -pipe -fomit-frame-pointer -o pbmtog3.o pbmtog3.c importinc/wordaccess_64_le.h: In function `wordintClz': importinc/wordaccess_64_le.h:47: internal compiler error: in emit_library_call_value_1, at calls.c:3895 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/netpbm-10.34/temp/ccIz0eWf.out file, please attach this to your bugreport. make[2]: *** [pbmtog3.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/netpbm-10.34/work/netpbm-10.34/converter/pbm' make[1]: *** [pbm/all] Error 2 make[1]: Leaving directory `/var/tmp/portage/netpbm-10.34/work/netpbm-10.34/converter' make: *** [converter/all] Error 2 !!! ERROR: media-libs/netpbm-10.34 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile netpbm-10.34.ebuild, line 96: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 90165 [details] File of preprocessed source error said to attach Attachment as requested by error message.
Created attachment 90221 [details] 137999.i
this is fixed in gcc-4.x so unfortunately, this will stay broken forever with gcc-3.x
Is there any way to adjust the ebuild to require GCC-4 as a compiler so other users don't encounter this? Is doesn't really do me or a great many users much good to have something require netpbm if it requires GCC-4 or higher which in turn isn't marked stable on anything other than HPPA and PPC (gcc-4.1.1 for those two). All other platforms have gcc-3.4.6 at best. That's a lot of "emerge -aD world" commands breaking. So the only reason I could see someone marking this as "RESOLVED WORKSFORME" is they're either running on PPC, HPPA, or unstable. Having netpbm marked stable, yet having no stable gcc to compile it with on each of the platforms it's marked stable for, would seem to be an outstanding bug to me.
This bug can't be fixed on a stable system, meaning they can't upgrade a package with a known vulnerability, until GCC-4 is stable or the package is rewritten to somehow work with GCC-3.4 (for all but HPPA and PPC architectures at least). I'm adding a dependancy to hopefully have someone revisit this security update when GCC-4 is finally marked stable.
I also had a build error with this package on amd64 but it turned out just to be a parellel make issue. It will build with '-j1'. Can we just force this package to use -j1 until the upstream devs fix their build deps?
I wish it were so simple for me, Joshua. Unfortunately, I've tried MAKEOPTS="-j1" in both make.conf and the command line emerge call and it still crashes at... x86_64-pc-linux-gnu-gcc -Wall -c -I/var/tmp/portage/netpbm-10.34/work/netpbm-10.34/converter/pbm -I. -I importinc -DNDEBUG \ -march=k8 -pipe -fomit-frame-pointer -o pbmtog3.o pbmtog3.c importinc/wordaccess_64_le.h: In function `wordintClz': importinc/wordaccess_64_le.h:47: internal compiler error: in emit_library_call_value_1, at calls.c:3895 Did you install GCC-4.x, Joshua? I just did a fresh emerge --sync and gcc-3.4.6-r1 is still the latest GCC marked stable for AMD64s.
Whoever changed the bug to -O0 (oh zero) is correct, I added -O2 to my compiler flags and netpbm compiled under GCC-3.4. I imaging many people installing Gentoo would use the -O2 setting to get optimization. I went without so I could try out packages in a fairly vanilla manner for inclusion. Is there an option for status "workaround exists"?
for me (ppc32 gcc-4.1.1) netpmb was failing to build very quickly, with a message that it couldn't symlink something onto the "importinc" directory because "file exists". This happened consistantly. I tried building with MAKEOPTS="-j1" and it installed without complaint. Perhaps MAKEOPTS="-j1" could be added to the ebuild.
unrelated
3.4 is not supported anymore as 4.1.1 is now stable
And thank you for taking the time to revisit this now that GCC-4.1 is out.
*** Bug 199885 has been marked as a duplicate of this bug. ***