Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 448996

Summary: sys-devel/gcc-4.6.3 dies with "bootstrap-lean" error 2
Product: Gentoo Linux Reporter: Svenne Krap <svenne>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bruce, xarthisius
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gcc-build-logs for gcc-4.6.3 failing with "bootstrap-lean" error 2
build.log.bzip

Description Svenne Krap 2012-12-28 08:44:15 UTC
Created attachment 333558 [details]
gcc-build-logs for gcc-4.6.3 failing with "bootstrap-lean" error 2

My gcc wants to get re-emerged (as it has removed the (unused) nocxx flag). 

But this time it cannot compile and dies with 

Adding multilib support to Makefile in /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libjava/libltdl
with_multisubdir=
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing gstdint.h commands
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.6.3/work/build'
make: *** [bootstrap-lean] Error 2
emake failed
Comment 1 Svenne Krap 2012-12-28 08:45:08 UTC
# emerge --info '=sys-devel/gcc-4.6.3'
Portage 2.1.11.38 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.16.0, 3.7.1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.7.1-x86_64-Intel-R-_Core-TM-_i7-3820QM_CPU_@_2.70GHz-with-gentoo-2.2
Timestamp of tree: Thu, 27 Dec 2012 21:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p39-r1
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo proaudio gentoo-haskell lokalt
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/polkit-1/actions /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="da_DK.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio /var/lib/layman/haskell /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aacplus aalib acl adns aften aio alsa amd64 amr apache2 autotrace avahi avx bazaar berkdb bluetooth bluray bzip2 cairo caps cdda cddb cdio celt cli compressed-lumas consolekit corefonts cpudetection cracklib crypt css cups curl cvs cxx darcs dbus dc1943 dga dia dirac directfp doc dot dri dts dv dvb dvd dvdr dvju egl examples exif expat extras faac fam fbosd fdt ffmpeg ffmpeg2 fftw flac fluidsynth fontconfig fontforge fortran frei0r g3dvl gbm gd gdbm git gles1 gles2 gme gnome gnutls go gpac gpg gpm graphviz growl gsm gst gstreamer gtk gudev hdri http hwdb iconv ieee1394 inkjar inotify iproute2 ipv6 jack java jbig jce jpeg jpeg2k json kate kde kdrive kerberos keymap kvm lame latex lcms libass libnotify libsamplerate libtiger libusb libv4l libvisual lirc litar live lqr lua lzma lzo matroska melt mercurial midi mms mmx mng modplug modules mono mp3 mpeg mtp mudflap multilib musepack mythtv ncurses network nlpsolver nls nptl nsplugin nss ntp objc objc++ objc-gc odk ofono ogg okteta omxil openal opencv opengl openmp openssl openvg openvpn opus osmesa pam pcap pcre pdf pdfimport perl pgp pkcs11 png policykit portaudio postgres postscript pppd projectm pulseaudio pvr python qemu-ifup qt3support qt4 quicktime quota radius rdb readline realtime resolvconf reviewboard rtaudio rtmp rtsp samba sasl scanner schroedinger sdl sdl-image sdlgfx session shine shout sid skins smartcard smp sox speex spell spice sqlite sse sse2 ssl startup-notification subversion svg swfdec switcher taglib tcpd theora threads tiff tls truetype twolame udev unicode upnp usb utils uuid v4l vaapi vala vcd vcdx vde vdpau vhost-net virtfs vlc vlm vorbis vpx wavpack webkit webm webp wma-fixed wmf x264 x509 xa xattr xcb xml xorg xosd xpm xscreensaver xv xvid xvmc zeroconf zlib zvbi" ALSA_CARDS="hda-intel" 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa intel nouveau fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================
Comment 2 Svenne Krap 2012-12-28 08:46:13 UTC
# emerge -pqv '=sys-devel/gcc-4.6.3'
[ebuild   R   ] sys-devel/gcc-4.6.3  USE="cxx doc fortran gcj go gtk mudflap (multilib) nls nptl objc objc++ objc-gc openmp (-altivec) -bootstrap -build (-fixed-point) -graphite (-hardened) (-libssp) -multislot -nopie -nossp {-test} -vanilla (-nocxx%)"
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-12-28 10:18:58 UTC
Could you also attach build.log? I don't see it in your first attachment
Comment 4 Svenne Krap 2012-12-28 12:48:29 UTC
Created attachment 333586 [details]
build.log.bzip

Sorry, thought the gcc-build-logs where sufficient.

Notice, this is from a different run as /var/tmp/portage is on a tmpfs (17GB with 8M inodes) and the machine has been rebooted in between

compressed in bzip2 because of size constraints
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-12-28 14:33:15 UTC

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