Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137534 - emerge -Du failed, somehow glibc is messed up, computer bairly functional
Summary: emerge -Du failed, somehow glibc is messed up, computer bairly functional
Status: VERIFIED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-21 19:29 UTC by Shaw
Modified: 2006-06-22 13:38 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 Shaw 2006-06-21 19:29:54 UTC
m: /lib/libc.so.6: version `GLIBC_2.4' not found (required by rm)
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking udev-087.tar.bz2 ;-)
install: /lib/libc.so.6: version `GLIBC_2.4' not found (required by install)

!!! ERROR: sys-fs/udev-087-r1 failed.

not a whole lot works, for example: 
[root@kronos shaw 519]% mkdir /var/tmp/portage/udev-087-r1/work
mkdir: /lib/libc.so.6: version `GLIBC_2.4' not found (required by mkdir)

I did a emerge -Dup prior to the emerge but it didn't say anything would be downgraded or removed.  emerge --search glibc shows that 2.3.6-r3 is installed, with that being the latest version available.

Note that I'm running running an AMD64 machine.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 00:14:36 UTC
Reopen with emerge --info and 'genlop -s glibc' output (emerge  app-portage/genlop if you haven't yet).
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 00:50:17 UTC
Well, the above probably won't work. Try 'mv /bin/grep grep.bak; cp /bin/busybox grep; grep glibc /var/log/emerge.log' and post the output.
Comment 3 Shaw 2006-06-22 08:19:52 UTC
emerge, mv, cp won't work. grep does work, however.


[shaw@kronos ~ 52]% grep glibc /var/log/emerge.log
1144014567:  >>> emerge (24 of 62) sys-libs/glibc-2.3.5-r2 to /
1144014567:  === (24 of 62) Cleaning (sys-libs/glibc-2.3.5-r2::/usr/portage/sys-libs/glibc/glibc-2.3.5-r2.ebuild)
1144014568:  === (24 of 62) Compiling/Merging (sys-libs/glibc-2.3.5-r2::/usr/portage/sys-libs/glibc/glibc-2.3.5-r2.ebuild)
1144016456:  === (24 of 62) Post-Build Cleaning (sys-libs/glibc-2.3.5-r2::/usr/portage/sys-libs/glibc/glibc-2.3.5-r2.ebuild)
1144016458:  >>> AUTOCLEAN: sys-libs/glibc
1144016458:  ::: completed emerge (24 of 62) sys-libs/glibc-2.3.5-r2 to /
1146341336:  *** emerge  search glibc
1146341958:  *** emerge  glibc
1146341958:  >>> emerge (1 of 1) sys-libs/glibc-2.3.5-r2 to /
1146341958:  === (1 of 1) Cleaning (sys-libs/glibc-2.3.5-r2::/usr/portage/sys-libs/glibc/glibc-2.3.5-r2.ebuild)
1146341959:  === (1 of 1) Compiling/Merging (sys-libs/glibc-2.3.5-r2::/usr/portage/sys-libs/glibc/glibc-2.3.5-r2.ebuild)
1146341999:  *** emerge  glibc-2.4-r1
1146342008:  *** emerge  =glibc-2.4-r1
1146342015:  *** emerge  glibc
1146342016:  >>> emerge (1 of 1) sys-libs/glibc-2.3.5-r2 to /
1146342016:  === (1 of 1) Cleaning (sys-libs/glibc-2.3.5-r2::/usr/portage/sys-libs/glibc/glibc-2.3.5-r2.ebuild)
1146342016:  === (1 of 1) Compiling/Merging (sys-libs/glibc-2.3.5-r2::/usr/portage/sys-libs/glibc/glibc-2.3.5-r2.ebuild)
1146343861:  === (1 of 1) Post-Build Cleaning (sys-libs/glibc-2.3.5-r2::/usr/portage/sys-libs/glibc/glibc-2.3.5-r2.ebuild)
1146343862:  >>> AUTOCLEAN: sys-libs/glibc
1146343862:  ::: completed emerge (1 of 1) sys-libs/glibc-2.3.5-r2 to /
1146345751:  *** emerge  glibc
1146345772:  >>> emerge (2 of 2) sys-libs/glibc-2.4-r1 to /
1146345772:  === (2 of 2) Cleaning (sys-libs/glibc-2.4-r1::/usr/portage/sys-libs/glibc/glibc-2.4-r1.ebuild)
1146345772:  === (2 of 2) Compiling/Merging (sys-libs/glibc-2.4-r1::/usr/portage/sys-libs/glibc/glibc-2.4-r1.ebuild)
1146345811:  *** emerge  search glibc
1146348734:  === (2 of 2) Post-Build Cleaning (sys-libs/glibc-2.4-r1::/usr/portage/sys-libs/glibc/glibc-2.4-r1.ebuild)
1146348736:  >>> AUTOCLEAN: sys-libs/glibc
1146348741: === Unmerging... (sys-libs/glibc-2.3.5-r2)
1146348743:  >>> unmerge success: sys-libs/glibc-2.3.5-r2
1146348743:  ::: completed emerge (2 of 2) sys-libs/glibc-2.4-r1 to /
1150907429:  >>> emerge (5 of 12) sys-libs/glibc-2.3.6-r3 to /
1150907429:  === (5 of 12) Cleaning (sys-libs/glibc-2.3.6-r3::/usr/portage/sys-libs/glibc/glibc-2.3.6-r3.ebuild)
1150907429:  === (5 of 12) Compiling/Merging (sys-libs/glibc-2.3.6-r3::/usr/portage/sys-libs/glibc/glibc-2.3.6-r3.ebuild)
1150910058:  >>> AUTOCLEAN: sys-libs/glibc
1150910063: === Unmerging... (sys-libs/glibc-2.4-r1)
1150910068:  >>> unmerge success: sys-libs/glibc-2.4-r1
1150910068:  === (5 of 12) Post-Build Cleaning (sys-libs/glibc-2.3.6-r3::/usr/portage/sys-libs/glibc/glibc-2.3.6-r3.ebuild)
1150910068:  ::: completed emerge (5 of 12) sys-libs/glibc-2.3.6-r3 to /
1150942744:  *** emerge  search glibc
1150943326:  *** emerge  search glibc
[shaw@kronos ~ 53]%    
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 09:15:56 UTC
Well - what could I say. *NEVER* downgrade glibc.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 09:17:12 UTC
Closing CANTFIX, nothing we could do here. 

Maybe you could recover this if you manage to get glibc-2.4 binary package and untar it on your system.
Comment 6 Shaw 2006-06-22 10:36:04 UTC
I'd guess this happened months ago when I when from ~x86 down to stable, but not sure, I know I had complications doing that.  Not sure why it happened during this relatively simple update, but I guess it was a ticking time bomb.

I can restore my machine from backup before this latest emerge..  This will put me in a workable state, though I'm not really sure what that state is.  Are those timestamps on the output below?
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 10:38:09 UTC
(In reply to comment #6)
> Are those timestamps on the output below?

Yeah...

 

Comment 8 Shaw 2006-06-22 10:41:07 UTC
Can you tell me when all of this happened?  Are those seconds?!
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 10:57:24 UTC
(In reply to comment #8)
> Can you tell me when all of this happened?  Are those seconds?!

 

1150907429:  >>> emerge (5 of 12) sys-libs/glibc-2.3.6-r3 to /
1150907429:  === (5 of 12) Cleaning

Wed, 21 Jun 2006 16:30:29 GMT
Comment 10 Shaw 2006-06-22 11:45:51 UTC
>In reply to comment #8)
> Can you tell me when all of this happened?  Are those seconds?!


>1150907429:  >>> emerge (5 of 12) sys-libs/glibc-2.3.6-r3 to /
>1150907429:  === (5 of 12) Cleaning

>Wed, 21 Jun 2006 16:30:29 GMT

Well, this makes sense, because everything worked fine until I did an emerge -Du.  Afterwards my system was borked.  I did not remove glibc myself, emerge did it itself for reasons that are beyond me.

So why did emerge do this?
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 11:52:15 UTC
Please, don't reopen this bug. You've clearly downgraded your glibc from 2.4 to 2.3.6, that's not a Gentoo bug and I've already explained to you that we can't fix your broken system.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 11:53:39 UTC
(In reply to comment #10)
> 
> Well, this makes sense, because everything worked fine until I did an emerge
> -Du.  Afterwards my system was borked.  I did not remove glibc myself, emerge
> did it itself for reasons that are beyond me.
> 
> So why did emerge do this?

Your glibc was not removed, it was downgraded. Emerge did this because you can't have two glibc versions installed, that's pretty normal, expected and not a bug either.

Closing.
 

Comment 13 Shaw 2006-06-22 11:54:22 UTC
Yes, running emerge -Du clearly unmerged glibc.  How is that my fault?
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 12:03:27 UTC
(In reply to comment #13)
> Yes, running emerge -Du clearly unmerged glibc.  How is that my fault?

Erm, most likely when you downgraded from ~x86 to x86, like you yourself said... :P 

Closed case, nothing we could do here. Next time watch what you are doing to avoid such b0rkage.
Comment 15 Shaw 2006-06-22 12:06:33 UTC
emerge -Dup didn't tell me about the downgrade or I would have consulted you guys first.
Comment 16 Shaw 2006-06-22 13:27:08 UTC
Last question, promise.

My backup is a week or so old and took place long after I went from ~x86 to the stable branch.  I'd like to restore from that backup and fix the problem (more than one glibc) somehow that led to emerge downgrading to glibc.  Do you think something like that will work or should I just reinstall the box from scratch?  The end goal would be to have a system that doesn't get killed when I do a simple emerge. Thanks.
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 13:38:43 UTC
forums.gentoo.org, or #gentoo on IRC. Bugzilla is not a support forum.