Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94967 - basic commands crash: ls , vi , vim , emerge
Summary: basic commands crash: ls , vi , vim , emerge
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-03 19:21 UTC by Ilya Bar-Haim
Modified: 2005-12-11 20:20 UTC (History)
1 user (show)

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 Ilya Bar-Haim 2005-06-03 19:21:20 UTC
After the last update of glibc to glibc-2.3.5.20050421 with --newuse flag     
which was only one new flag - userlocales , the system basic libraries stopped     
functioning with the following errors :    
    
# ls    
ls: relocation error: /lib/libpthread.so.0: symbol _h_errno, version GLIBC_2.0    
not defined in file libc.so.6 with link time reference    
   
Seems like some problem with libpthread and python libs - i suppose versions  
issue .  
I can restore them from the LiveCD and emerge glibc again with 
USE="static" ... ? 
    

Reproducible: Always
Steps to Reproduce:
1. Add new flag 'userlocales' to make.conf 
2. include the line "sys-libs/glibc userlocales" in "/etc/portage/package.use" 
3. emerge sync 
4. emerge --newuse glibc 
5. env-update 
 
Actual Results:  
Actually the following commands stoped working : 
 
/bin/ls 
/usr/bin/vi 
/usr/bin/python 
/usr/bin/emerge 
 
and of course all the libs and binaries that depends on them. 
 

Expected Results:  
... 

USE="x86 gif jpeg png ncurses readline crypt cups kde fluxbox -alsa arts oss 
avi opengl qt apache2 
php perl dvd mpegdvdr truetype ssl gtk X objc gcj xorg-x11 xmms 3dnow zlib 
3dnow 3dnowex flood gphoto2 nls 
userlocales -gtk2 static" 
CFLAGS="-march=pentium3 -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
CXXFLAGS="${CFLAGS}" 
LINGUAS="he ru" 
MAKEOPTS="-j2" 
FEATURES="ccache" 
CCACHE_SIZE="2G" 
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" 
AUTOCLEAN=Yes 
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ 
http://ftp.easynet.nl/mirror/gentoo/"
Comment 1 Rohan McGovern 2005-06-04 06:59:01 UTC
Which version of glibc did you update from?   Or did it just reinstall the 
current version due to the --newuse flag? 
Comment 2 Jeffrey Forman (RETIRED) gentoo-dev 2005-06-09 21:35:56 UTC
not a bugzilla bug, reassigning.
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-06-14 08:00:14 UTC
Can you post content of your /etc/locales.build file?
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-06-21 07:55:19 UTC
Due to no response from the reporter, I suggest closing this bug with status ->
resolved, resolution -> needinfo
Comment 5 Ilya Bar-Haim 2005-06-21 15:53:24 UTC
(In reply to comment #4)
> Due to no response from the reporter, I suggest closing this bug with status -
>
> resolved, resolution -> needinfo

I've been busy for few days ... sorry .
Here is the locales.build content:

en_US/ISO-8859-1
en_US.UTF-8/UTF-8
he_IL.UTF-8/UTF-8
ru_RU.UTF-8/UTF-8
ru_RU.CP1251/CP1251

Thanks
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-06-22 05:19:32 UTC
Your locales.build seems ok, please answer Rohan's question too (did you
reinstall glibc with userlocals USE flag or it was update to newer glibc?).
Comment 7 Ilya Bar-Haim 2005-06-24 17:36:38 UTC
(In reply to comment #1)
> Which version of glibc did you update from?   Or did it just reinstall the 
> current version due to the --newuse flag? 

Hi Rohan

As i've already posted that it was an update with --newuse option flag - update
to new version 2.3.5 and at the same time new USE flag - userlocales .
I'd like to add that is was done with package.keywords usage.

###/etc/portage/package.keywords
sys-libs/glibc

Regards
Ilya
Comment 8 Alexander Sobottka 2005-07-26 01:05:35 UTC
I have this Problem too but i have not used the *userlocales* Flag.
A simple emerge -u world produces this error after compiling glibc (same Version
described above).
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-29 07:21:07 UTC
Try 2.3.5.200507XX with USE=-linuxthreads-tls
Comment 10 Ilya Bar-Haim 2005-07-29 07:45:57 UTC
(In reply to comment #9)
> Try 2.3.5.200507XX with USE=-linuxthreads-tls

Thanks for the advise Jeremy .

I'll make a test with this option and report later .

Ilya
Comment 11 Mark Loeser (RETIRED) gentoo-dev 2005-12-11 20:20:19 UTC
Is this still a problem for anyone?