Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 53476

Summary: emerge fails with error after upgrading portage, gcc and glibc
Product: Gentoo Linux Reporter: Peter Humphrey <peter>
Component: New packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED CANTFIX    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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/libpthread.so.0: symbol __libc_fork, version GLIBC_2.2.5 not 
defined in file libc.so.6 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://193.190.198.20/gentoo-portage 
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-2.3.3.20040420 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 
--skipfirst"] 
 
1086785849:  >>> emerge (1 of 2) media-sound/rosegarden-4.0.9.8 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". 
 
/etc/make.conf: 
CFLAGS="-O3 -pipe -fomit-frame-pointer" 
CHOST="x86_64-pc-linux-gnu" 
USE="gnome gtk gtk2 crypt nls gpm cups java kde qt dvd alsa oss cdr imap" 
CXXFLAGS="$CFLAGS" 
MAKEOPTS="-j3" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
RSYNC_RETRIES="2" 
RSYNC_TIMEOUT=40 
PORTAGE_NICENESS=3 
AUTOCLEAN="no" 
# 
CONFIG_PROTECT_MASK="/etc/wget /etc/rc.d /etc/fonts /etc/rsync /etc/terminfo" 
# 
ACCEPT_KEYWORDS="amd64 ~amd64" 
# 
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr/ 
                http://212.219.247.10/sites/www.ibiblio.org/gentoo/ 
                http://212.219.56.131/sites/www.ibiblio.org/gentoo/ 
                http://194.83.57.2/sites/www.ibiblio.org/gentoo/ 
                http://212.219.56.162/sites/www.ibiblio.org/gentoo/" 
 
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://134.147.32.57/gentoo-portage
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-0.4.8.20040322-r1 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/libpthread.so.0 | 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?