Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200501 - gcc-3.3.6-r1 fails to emerge
Summary: gcc-3.3.6-r1 fails to emerge
Status: RESOLVED DUPLICATE of bug 183766
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-27 11:26 UTC by Tobias Hunger
Modified: 2007-11-27 11:31 UTC (History)
0 users

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 Tobias Hunger 2007-11-27 11:26:58 UTC
I am trying to emerge gcc-3.3.6-r1 on an ~x86 system using the following USE flags:
sys-devel/gcc-3.3.6-r1  USE="doc nls (-altivec) -bootstrap -boundschecking -build -fortran -gcj -gtk (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla"
This version of the compiler seems to be required for win32codecs and some others.

These are the last lines I see of the build:

bison  -v /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.y\
        --output=/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.c --defines
flex  -o/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/lex.c /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/lex.l
bison: cannot open file `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.y--output=/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.c': No such file or directory
make[2]: *** [/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.h] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
make: *** [bootstrap-lean] Error 2
 *
 * ERROR: sys-devel/gcc-3.3.6-r1 failed.
 * Call stack:
 *               ebuild.sh, line 1762:  Called dyn_compile
 *               ebuild.sh, line  891:  Called qa_call 'src_compile'
 *               ebuild.sh, line   35:  Called src_compile
 *             environment, line 4536:  Called toolchain_src_compile
 *             environment, line 5004:  Called gcc_src_compile
 *             environment, line 2900:  Called gcc_do_make
 *             environment, line 2730:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with bootstrap-lean

Now I am stuck... updates no longer work as they try to emerge gcc-3.3.6-r1 and I can not unmerge it either as it is not yet installed:-(

Reproducible: Always

Steps to Reproduce:
1. emerge win32codecs
2. wait
3.

Actual Results:  
Emerge fails with error (see above).

Expected Results:  
Emerge succeeds.

I am trying to emerge gcc-3.3.6-r1 on an ~x86 system using the following USE flags:
sys-devel/gcc-3.3.6-r1  USE="doc nls (-altivec) -bootstrap -boundschecking -build -fortran -gcj -gtk (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla"

Emerge --info produces this:
# emerge --info
Portage 2.1.4_rc3 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.7-r0, 2.6.22-14-generic i686)
=================================================================
System uname: 2.6.22-14-generic i686 Intel(R) Pentium(R) M processor 2.13GHz
Timestamp of tree: Tue, 27 Nov 2007 06:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -march=686 -pipe"
CHOST="i486-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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="en_US.UTF-8"
LINGUAS="de en"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa arts avahi bash-completion bluetooth bzip2 cairo caps cddb cdr cli cracklib crypt cups curl cvs dbus dga doc dri drm dts dvd dvdr dxr3 encode exif fam flac fontconfig fortran gdbm gif gnutls gphoto2 gpm gstreamer hal iconv ieee1394 imagemagick imlib ipv6 irda isdnlog jpeg jpeg2k kde kdehiddenvisibility latex lcms lzo maildir midi mime mmx mng mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin offensive ogg openexr opengl openmp pam pcre pdf perl png postgres postscript pppd python qt3 qt4 rar readline real reflection rtc ruby samba sasl scanner session speex spell spl sse ssl subversion svg syslog tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd vim-syntax vorbis webdav wmf x86 xcb xcomposite xml xorg xpm xscreensaver xv zeroconf zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="*" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="evdev keyboard synaptics mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" LIRC_DEVICES="*" USERLAND="GNU" VIDEO_CARDS="*"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Dawid Węgliński (RETIRED) gentoo-dev 2007-11-27 11:31:32 UTC
Don't use gcc-3

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