* [gentoo-user] borked gcc
@ 2006-09-13 0:44 David Talkington
2006-09-13 1:08 ` Richard Fish
0 siblings, 1 reply; 5+ messages in thread
From: David Talkington @ 2006-09-13 0:44 UTC (permalink / raw
To: gentoo-user
-----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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] borked gcc
2006-09-13 0:44 [gentoo-user] borked gcc David Talkington
@ 2006-09-13 1:08 ` Richard Fish
2006-09-13 1:10 ` Richard Fish
0 siblings, 1 reply; 5+ messages in thread
From: Richard Fish @ 2006-09-13 1:08 UTC (permalink / raw
To: gentoo-user
On 9/12/06, David Talkington <dtalk@prairienet.org> wrote:
> 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:
Yeah, you cannot just simply change CHOST. It is a very fundamental
system setting.
You should search the archives of this list first. But specifically read:
http://article.gmane.org/gmane.linux.gentoo.user/169677
http://article.gmane.org/gmane.linux.gentoo.user/169844
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] borked gcc
2006-09-13 1:08 ` Richard Fish
@ 2006-09-13 1:10 ` Richard Fish
2006-09-13 1:53 ` [gentoo-user] " David Talkington
0 siblings, 1 reply; 5+ messages in thread
From: Richard Fish @ 2006-09-13 1:10 UTC (permalink / raw
To: gentoo-user
On 9/12/06, Richard Fish <bigfish@asmallpond.org> wrote:
> http://article.gmane.org/gmane.linux.gentoo.user/169677
> http://article.gmane.org/gmane.linux.gentoo.user/169844
Bah, 169844 is not the one I wanted to link to. I wanted this one:
http://article.gmane.org/gmane.linux.gentoo.user/169894
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: borked gcc
2006-09-13 1:10 ` Richard Fish
@ 2006-09-13 1:53 ` David Talkington
2006-09-13 7:41 ` Nagatoro
0 siblings, 1 reply; 5+ messages in thread
From: David Talkington @ 2006-09-13 1:53 UTC (permalink / raw
To: Richard Fish; +Cc: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Richard Fish wrote:
> On 9/12/06, Richard Fish <bigfish@asmallpond.org> wrote:
>> http: //article.gmane.org/gmane.linux.gentoo.user/169677
>> http: //article.gmane.org/gmane.linux.gentoo.user/169844
>
> Bah, 169844 is not the one I wanted to link to. I wanted this one:
>
> http://article.gmane.org/gmane.linux.gentoo.user/169894
Thank you; my apologies for not finding that and saving your time
(especially since the thread was mere days ago ... gack ...)
I'll just rebuild the box; no biggie. Cheers -d
- --
David Talkington
PGP key: http://www.prairienet.org/~dtalk/004B8F8B.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFB2Sk5FKhdwBLj4sRAsZUAJ0TNwmmryoPz0IV+dabxPLezrV4GQCgo3c1
1K5A3UI3LQ0oBctiaS876y8=
=myPp
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: borked gcc
2006-09-13 1:53 ` [gentoo-user] " David Talkington
@ 2006-09-13 7:41 ` Nagatoro
0 siblings, 0 replies; 5+ messages in thread
From: Nagatoro @ 2006-09-13 7:41 UTC (permalink / raw
To: gentoo-user
David Talkington wrote:
> Richard Fish wrote:
>
>>> On 9/12/06, Richard Fish <bigfish@asmallpond.org> wrote:
>>>> http: //article.gmane.org/gmane.linux.gentoo.user/169677
>>>> http: //article.gmane.org/gmane.linux.gentoo.user/169844
>>>
>>> Bah, 169844 is not the one I wanted to link to. I wanted this one:
>>>
>>> http://article.gmane.org/gmane.linux.gentoo.user/169894
You should use this one :)
http://dev.gentoo.org/~amne/temp/change-chost.txt
--
Naga
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-09-13 7:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-13 0:44 [gentoo-user] borked gcc David Talkington
2006-09-13 1:08 ` Richard Fish
2006-09-13 1:10 ` Richard Fish
2006-09-13 1:53 ` [gentoo-user] " David Talkington
2006-09-13 7:41 ` Nagatoro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox