ERROR: sys-libs/glibc-2.4-r4 failed

Written by Friday, 10 November 2006
Rate this item
(0 votes)

Trying to do a system-wide gentoo update using emerge, I ran into a compile error trying to update glibc:

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

!!!ERROR: sys-libs/glibc-2.4-r4 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
glibc-2.4-r4.ebuild, line 1174: Called toolchain-glibc_src_compile
glibc-2.4-r4.ebuild, line 257: Called glibc_do_configure 'nptl'
glibc-2.4-r4.ebuild, line 925: Called die

Turns out the system felt that my gcc compiler was outdated.

But I had updated it to the latest gentoo-stable version.

Well, yes and no. Here's what I learned:

gcc-config --list-profiles

Will list the various gcc versions installed on your system. The current one is marked with an asterisk.

gcc-config #

Where # is a number from the list shown from above, will switch your compiler to the specified version.

Now I can compile glibc using the latest gcc.

Hopefully I won't have to recompile the whole system because of this compiler switch... I'll update this post whether I do or don't.

So far, no need to recompile anything. Everything works fine.

UPDATE

December 7th 2006

I'm not sure its related to the gcc-config, but I bet it is...

See I don't use KDE all that much. I run my web servers and test things out.

So when I tried to log back into KDE, I noticed that it wasn't working anymore.

So I tried to update and recompile everything kde-related. Nothing works. kdemultimedia keeps finding excuses not to compile.

I got it further and further along as I found some modules which didn't show up as dependencies (?) even when using emerge --deep

So I ended up giving up my hopes of not having to recompile planet linux and an now running:

emerge -e world

6 comments

  • Comment Link http://www.big-easy-footage-library-software.co.uk/ Tuesday, 30 October 2007 posted by http://www.big-easy-footage-library-software.co.uk/

    It didn't work for me. I guess I need some more infor or something didn't work out :((

  • Comment Link cyber Friday, 05 January 2007 posted by cyber

    Works also fine for me (using neither KDE nor GNOME)

  • Comment Link jp gentoo Tuesday, 02 January 2007 posted by jp gentoo

    good info. Thanks!

  • Comment Link gentoodude Saturday, 30 December 2006 posted by gentoodude

    thank you so much for this. it saved me the hours i'm sure i would have spent digging for the answer myself. keep em commin.

  • Comment Link Eric Maziade Wednesday, 22 November 2006 posted by Eric Maziade

    Hope it helps! Keep me informed - its always nice to know that my headeaches can help others get rid of theirs :P

  • Comment Link enqack Wednesday, 22 November 2006 posted by enqack

    Nice piece of info. I've been pullin my hair on failed updates of glibc. ...about to find out if it beats any info I've found so far ;)

Leave a comment

Make sure you enter the (*) required information where indicated.
Basic HTML code is allowed.