Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53476 - emerge fails with error after upgrading portage, gcc and glibc
Summary: emerge fails with error after upgrading portage, gcc and glibc
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
Depends on:
Reported: 2004-06-09 17:57 UTC by Peter Humphrey
Modified: 2004-08-15 04:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Peter Humphrey 2004-06-09 17:57:34 UTC
Whenever I invoke emerge, it aborts with an error message.

Reproducible: Always
Steps to Reproduce:
1. emerge -uaD world, or
2. emerge sync, or
3. emerge info

Actual Results:  
emerge aborts with this error message: /usr/bin/python: relocation 
error: /lib/ symbol __libc_fork, version GLIBC_2.2.5 not 
defined in file with link time reference 

Expected Results:  
emerge should complete as usual. 

This is an excerpt got by "grep '>>>' /var/log/emerge.log". It was generated 
by "emerge sync && emerge -uaD world": 
1086782356: >>> starting rsync with rsync:// 
1086782900:  >>> emerge (1 of 8) sys-apps/portage-2.0.50-r8 to / 
1086783187:  >>> emerge (1 of 7) sys-devel/gcc-3.3.3-r6 to / 
1086783769:  >>> emerge (2 of 7) sys-libs/glibc- to / 
1086784958:  >>> emerge (3 of 7) x11-base/opengl-update-1.7.1 to / 
1086784962:  >>> emerge (4 of 7) x11-themes/gnome-themes-2.6.2 to / 
1086785346:  >>> emerge (5 of 7) app-office/koffice-1.3.1-r1 to / 
[this one failed with a compilation error, so I said "emerge --resume 
1086785849:  >>> emerge (1 of 2) media-sound/rosegarden- to / 
1086786787:  >>> emerge (2 of 2) net-www/mozilla-launcher-1.12 to / 
1086797138:  >>> emerge (1 of 3) kde-base/arts-1.1.5 to / 
1086797459:  >>> emerge (2 of 3) kde-base/kdelibs-3.1.5-r1 to / 
1086799925:  >>> emerge (3 of 3) net-im/kopete-0.8.0 to / 
The kdelibs version is older than what was already installed. I thought 
simultaneous versions could be handled in gentoo, and I don't see a connection 
between kdelibs and libpthread, python etc. so perhaps this isn't the cause of 
the problem. I can't run "emerge info". 
CFLAGS="-O3 -pipe -fomit-frame-pointer" 
USE="gnome gtk gtk2 crypt nls gpm cups java kde qt dvd alsa oss cdr imap" 
CONFIG_PROTECT_MASK="/etc/wget /etc/rc.d /etc/fonts /etc/rsync /etc/terminfo" 
ACCEPT_KEYWORDS="amd64 ~amd64" 
The system was fine after yesterday's emerge -uaD world.
Comment 1 Peter Humphrey 2004-06-09 18:08:52 UTC
I should have included the following entries from /var/log/emerge.log, which followed the excerpt I did give. emerge evidently wasn't failing until after these further updates:
1086819634: >>> starting rsync with rsync://
1086819756:  >>> emerge (1 of 5) x11-terms/xterm-191 to /
1086821556:  >>> emerge (1 of 4) app-office/koffice-1.3.1-r1 to /
1086822331:  >>> emerge (1 of 3) dev-util/cvs-1.11.17 to /
1086822681:  >>> emerge (2 of 3) app-text/aspell-0.50.5-r1 to /
1086822758:  >>> emerge (3 of 3) media-video/ffmpeg- to /
After that, emerge failed as described, and after a reboot kdm could not start KDE either, so I issued emerge commands at a virtual terminal. I can't fix KDE until I've fixed emerge.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-06-09 18:15:11 UTC
Reopen with output from emerge --info please.
Comment 3 Peter Humphrey 2004-06-10 01:26:03 UTC
As I have already said, I cannot run emerge at all. How else can I help?
Comment 4 Travis Tilley (RETIRED) gentoo-dev 2004-07-14 07:53:03 UTC
ayanami rxvt-unicode # readelf -s /lib/ | grep libc_fork
   269: 0000000000000000    71 FUNC    GLOBAL DEFAULT  UND __libc_fork@GLIBC_PRIVATE (7)

looks like libc_fork is now an @GLIBC_PRIVATE symbol... other than recompiling python on another machine/install and transferring it over or using quickpkg from within a recent stage3 tarball, i have no idea how to help here.
Comment 5 Greisberger Christophe 2004-08-15 04:36:22 UTC
I just upgraded my system and I have the same problem.
Did you find any solution since the last post?