Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19141 - glibc-2.3.2-* impossible to emerge. fails on everty emerge glibc
Summary: glibc-2.3.2-* impossible to emerge. fails on everty emerge glibc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-11 09:01 UTC by tom
Modified: 2006-02-04 06:03 UTC (History)
1 user (show)

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


Attachments
result from emerge glibc (test.txt,1.83 KB, text/plain)
2003-04-11 10:26 UTC, tom
Details
test0.txt (test0.txt,1.04 KB, text/plain)
2003-04-11 10:27 UTC, tom
Details
make.conf file (make_conf.txt,11.88 KB, text/plain)
2003-04-11 10:29 UTC, tom
Details
new emerge of glibc with error code ...! probably more useful... (emerge_glibc_0.txt,4.24 KB, text/plain)
2003-04-11 11:45 UTC, tom
Details
details of just added emerge... (emerge glibc > emerge_glibc_0_details.txt (emerge_glibc_0_details.txt,1.67 KB, text/plain)
2003-04-11 11:47 UTC, tom
Details
2nd emerge today after rm -rf and emerge rsync (emerge_glibc_1.txt,4.86 KB, text/plain)
2003-04-11 13:17 UTC, tom
Details
details of emerge glibc 1 (emerge_glibc_1_details.txt,4.77 KB, text/plain)
2003-04-11 13:17 UTC, tom
Details
after doing emerge portage, emerge rsync, emerge glibc... (emerge_glibc_2_details.txt,3.55 KB, text/plain)
2003-04-12 11:07 UTC, tom
Details
for good measure I tried another emerge glibc... (emerge_glibc_3.txt,3.49 KB, text/plain)
2003-04-12 12:50 UTC, tom
Details
the emerge output details.... (emerge_glibc_3_details.txt,2.21 KB, text/plain)
2003-04-12 12:51 UTC, tom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tom 2003-04-11 09:01:09 UTC
For the last month I have been trying to update glibc-2.3.1-r2 to 2.3.2 but it
fails every time.   The error vary depending on when it is emerge:
1. /usr/portage/distfiles/ & /var/tmp/portage/ empt, error as atttachement test.txt
2. second try with glibc tbz2 already downloaded, error as attachement text0.txt



Reproducible: Always
Steps to Reproduce:
1. rm -rf /usr/portage/distfiles/*, rm -rf /var/tmp/portage/*
2. emerge -u glibc or emerge glibc
3. 

Actual Results:  
see attachement test.txt and test0.txt

Expected Results:  
compile without error


Portage 2.0.47-r10 (default-ppc-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-ppc-r3 ppc 
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="dvd nls mitshm ppc gnome-libs alsa arts guile postgres esd ldap pcmcia pnp
trusted gphoto2 X opengl xv fbcon kde qt gnome gtk gtk2 bonobo evo gb gtkhtml
motif tcltk aalib imlib ncurses readline sdl lcms gif jpeg png tiff gd avi mpeg
quicktime oss xmms oggvorbis encode snmp ggz pam ssl crypt imap tcpd mozilla
spell truetype xml xml2 pdflib plotutils java perl python ruby slang libwww
libg++ berkdb mysql odbc innodb gdbm samba gpm apache apache2 usb cups"
COMPILER="gcc3"
CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-O3 -pipe -mcpu=750", (have also tried with -02 same results)
CXXFLAGS="-O2 -pipe"  
ACCEPT_KEYWORDS="ppc ~ppc"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="ccache"

have a /var partition of 5G
Comment 1 Luca Barbato gentoo-dev 2003-04-11 09:24:19 UTC
tom seems that the attachments aren't present, could you try sending them again?
Comment 2 tom 2003-04-11 10:26:03 UTC
Created attachment 10502 [details]
result from emerge glibc

this is the result of emerge glibc with /usr/portage/distfiles &
/var/tmp/portage empty
Comment 3 tom 2003-04-11 10:27:56 UTC
Created attachment 10503 [details]
test0.txt
Comment 4 tom 2003-04-11 10:29:20 UTC
Created attachment 10504 [details]
make.conf file
Comment 5 tom 2003-04-11 11:45:29 UTC
Created attachment 10505 [details]
new emerge of glibc with error code ...! probably more useful...
Comment 6 tom 2003-04-11 11:47:49 UTC
Created attachment 10506 [details]
details of just added emerge... (emerge glibc > emerge_glibc_0_details.txt

a 8 m file for emerge_glibc_0_details.txt is available if necessary... just let
me know.
thx for the help...
Comment 7 tom 2003-04-11 13:17:08 UTC
Created attachment 10510 [details]
2nd emerge today after rm -rf and emerge rsync

result of emerge glibc after
emerge rsync
rm -rf /usr/portage/distfiles/*
rm -rf /var/tmp/portage/*

emerge glibc
error but at different place then before emerge...
Comment 8 tom 2003-04-11 13:17:54 UTC
Created attachment 10511 [details]
details of emerge glibc 1

details of 2nd emerge...
Comment 9 Luca Barbato gentoo-dev 2003-04-11 18:59:54 UTC
Please emerge again portage, then emerge glibc
Comment 10 tom 2003-04-12 11:07:28 UTC
Created attachment 10560 [details]
after doing emerge portage, emerge rsync, emerge glibc...

As recommended I proceeded to do the following:
emerge portage
emerge rsync
emerge glibc

half way through my system crashed... have to restart my pc so that fsck will
recover crashed system...
after restarting I get the following:
1. All partition are recover, but only user partition has the following
message:
 error message: "clearing orphaned inode ...."
2. when starting X get the following error message:
 "/etc/X11/startDM.sh: line 1: /etc/conf.d/basic no such a file or directory"
Comment 11 tom 2003-04-12 12:50:15 UTC
Created attachment 10566 [details]
for good measure I tried another emerge glibc...

for good measure I tried an emerge glibc again
This time without
    emerge portage or emerge rsync

the following occured also check emerge_glibc_3_details, next attachement
Comment 12 tom 2003-04-12 12:51:35 UTC
Created attachment 10567 [details]
the emerge output details....

look in preceding update...
detail of emerge_glibc_3.txt
Comment 13 Luca Barbato gentoo-dev 2003-04-27 23:59:11 UTC
Double check your ram and hd cosistency seems more a HW failure than a software issue =/
Comment 14 Graham Forest 2003-04-29 00:39:57 UTC
Yes, with the randomness of issues here combined with our inability to reproduce, this definitely sounds like a hardware problem. Even if not, if we can't reproduce it we can't fix it, so unless something develops in the next day or two, we'll have to WORKSFORME it.
Comment 15 Luca Barbato gentoo-dev 2003-06-08 17:08:25 UTC
marked as worksforme, since there is no reply from tom.
Comment 16 tom 2003-06-12 08:14:50 UTC
Sorry about not getting back earlier... 
Still cannot emerge glibc, now it even crashes my system... I have change my kernel to benh-r10, check memory and hardware all is ok on hardware side, but still same pb...  One thing I noticed recently, although not always reproductible, is that when it crashes, it is very often when my screen goes into screensaver mode... I have disabled xscreensaver... but not sure which other app i should disable to completely disable powerdown of screen... 

if you could let me know, I then could check that last possibility as a possible cause of crashes...

thx for the help
Comment 17 Luca Barbato gentoo-dev 2003-06-12 08:26:59 UTC
Please test booting from the livecd and chroot build the glibc

Comment 18 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-07-15 03:47:32 UTC
wild guess: 
could you set ACCEPT_KEYWORDS="~ppc" instead of ACCEPT_KEYWORDS="ppc ~ppc"

one thing I've noticed in your output logs is that offtime.c __offtime function fails
Can you try again by emerging gcc and latest ppc-sources kernel first? Feel free to use this kernel config:
http://dev.gentoo.org/~pvdabeel/kernel/
Comment 19 tom 2003-07-21 12:28:50 UTC
Hello,

I have done as Pieter suggested... run into trouble emerging gcc... similar type of error was observed on X86 so I added my info to that bug:

Bug # 24906

have resolved erratic segfaulting though, it was L2 cache related.  Using:
sysctl -w kernel.l2cr=0

Since I have done that only recently and tried to compile (unsuccessfuly)  gcc, i have not tried to compile glibc... I thaught it would be better to have gcc compiled first...the upgrade glibc...

Would gcc-3.3 be safe if successfuly compiled or would it crashes my apps...?

Thank you again for all the help... I really hope I can solve this puzzle... and finally get newest gcc and glibc to work on my machine..
Comment 20 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-10-11 04:43:34 UTC
This definately has to be related to bad memory or some other hardware problem.
I'm totally unable to reproduce it.