-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Salutations --

I seem to have munged something pretty spectacularly. A system that updates itself every couple of weeks, using a current portage tree, recently began emitting this error when running 'emerge -uD system':

 !!! ERROR: sys-libs/glibc-2.4-r3 failed.
 Call stack:
   ebuild.sh, line 1562:   Called dyn_setup
   ebuild.sh, line 665:   Called pkg_setup
   glibc-2.4-r3.ebuild, line 1079:   Called die

 !!! please add USE='nptl nptlonly' to make.conf

Obediently, albeit with trepidation, I added nptl and nptlonly to my USE flags and restarted the emerge. The immediate result was a complaint that CHOST was incorrect, and that <= i686 was required. Indeed, I found that CHOST="i386-pc-linux-gnu", and corrected it to be CHOST="i686-pc-linux-gnu". I then re-ran the emerge, resulting in this:

 configure: error:
 *** These critical programs are missing or too old: gcc
 *** Check the INSTALL file for required versions.

 !!! ERROR: sys-libs/glibc-2.4-r3 failed.
 Call stack:
   ebuild.sh, line 1546:   Called dyn_compile
   ebuild.sh, line 937:   Called src_compile
   glibc-2.4-r3.ebuild, line 1179:   Called toolchain-glibc_src_compile
   glibc-2.4-r3.ebuild, line 251:   Called glibc_do_configure 'nptl'
   glibc-2.4-r3.ebuild, line 941:   Called die

 !!! failed to configure glibc

In a hamfisted attempt to resolve the problem, I decided to try 'emerge - -e system', which begot the same error. In desperation, I tried to re-bootstrap, and have now received this rude expletive:

make: i686-pc-linux-gnu-gcc: Command not found
/var/tmp/portage/linux-headers-2.6.11-r5/work/linux-2.6.11/scripts/gcc-version.sh: line 11: i686-pc-linux-gnu-gcc: command not found /var/tmp/portage/linux-headers-2.6.11-r5/work/linux-2.6.11/scripts/gcc-version.sh: line 12: i686-pc-linux-gnu-gcc: command not found
make: i686-pc-linux-gnu-gcc: Command not found
make: i686-pc-linux-gnu-gcc: Command not found
  SPLIT   include/linux/autoconf.h -> include/config/*
make: i686-pc-linux-gnu-gcc: Command not found
  CC      scripts/mod/empty.o
/bin/sh: i686-pc-linux-gnu-gcc: command not found
make[2]: *** [scripts/mod/empty.o] Error 127
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2

!!! ERROR: sys-kernel/linux-headers-2.6.11-r5 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called kernel-2_src_compile
  kernel-2.eclass, line 1011:   Called compile_headers
  kernel-2.eclass, line 452:   Called die

!!! prepare failed

Below is my make.conf:

CFLAGS="-Os -mcpu=i686 -pipe"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

USE='nptl nptlonly vorbis flac nsplugin X png alsa ldap ssl postgresql mysql session -gnome -kde'

# portage locations
# machine-specific
PORTAGE_TMPDIR=/var/tmp
# shared
PORTDIR=/data/install/linux/gentoo/portage
PKGDIR=/data/install/linux/gentoo/portage/packages
DISTDIR=/data/install/linux/gentoo/portage/distfiles
RPMDIR=/data/install/linux/gentoo/portage/rpm

CONFIG_PROTECT_MASK='/etc/X11 /etc/init.d /etc/sound /etc/mail/spamassassin /etc/udev /etc/rulesdujour /etc/gnome-vfs-2.0 /etc/scsi_id.config /etc/services /etc/vhosts /usr/share'

And:

# cat /etc/gentoo-release
Gentoo Base System version 1.12.4


If it is not yet apparent to anyone how I've got myself into this pickle, please let me know what other information I can provide.

Cheers .... -d

- --
David Talkington
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFB1Rl5FKhdwBLj4sRApwuAJ9TMFG/5HF2r3KDujj7o77CkIBMrgCeLotJ
kmsJt+ISpTzAzgKi0Yt79/A=
=OjtH
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list

Reply via email to