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

Bug 224681

Summary: sys-apps/coreutils-6.10-r2 will not compile
Product: Gentoo Linux Reporter: Christian Gnägi <support>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: major CC: support
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Portage Log for coreutils
ebuild environment
Uname.o file which seems to be of an unknown format
emerge --info

Description Christian Gnägi 2008-06-02 22:15:08 UTC
compilation will stop complaining about uname.o being unrecognized:


.... snippet:.....
i586-pc-linux-gnu-gcc -std=gnu99  -march=i586 -m3dnow -mmmx -Os -pipe  -lrt  -Wl,--as-needed -o who who.o ../lib/libcoreutils.a  ../lib/libcoreutils.a 
uname.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [uname] Error 1
make[2]: *** Waiting for unfinished jobs....
who.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [who] Error 1
mv -f .deps/setuidgid.Tpo .deps/setuidgid.Po
mv -f .deps/su.Tpo .deps/su.Po
../../lib/libcoreutils.a(closeout.o): In function `close_stdout':
closeout.c:(.text+0x34): undefined reference to `quotearg_colon'
../
Comment 1 Christian Gnägi 2008-06-02 22:16:42 UTC
Created attachment 155283 [details]
Portage Log for coreutils
Comment 2 Christian Gnägi 2008-06-02 22:28:49 UTC
Created attachment 155289 [details]
ebuild environment
Comment 3 Christian Gnägi 2008-06-02 22:35:15 UTC
Created attachment 155291 [details]
Uname.o file which seems to be of an unknown format

MC view (F3) will pretend: MPEG sequence, v1, system multiplex
Comment 4 Christian Gnägi 2008-06-02 22:38:28 UTC
Created attachment 155293 [details]
emerge --info
Comment 5 SpanKY gentoo-dev 2008-06-03 03:25:24 UTC
does it fail at the same place every time ?  what if you try MAKEOPTS=-j1 ?
Comment 6 Christian Gnägi 2008-06-03 06:37:53 UTC
Thanks for the suggestion. I tried export MAKEOPTS=" -jl " && emerge coreutils,
the result is the same. And yes, it always fails at the same place.
Comment 7 SpanKY gentoo-dev 2008-06-03 13:53:43 UTC
go into the directory, remove uname.o, and run the compile line manually.  see if you get the same result.  also see if you get the same result if you set the output to like /tmp/foo.o.

we've seen disk corruption cause weird things like this (so forcing a fsck run on your disks may be a good idea)
Comment 8 Christian Gnägi 2008-06-05 10:06:21 UTC
removing uname.o didn't help, neither did fsck, but wiping /tmp completely did! Might have been a ccache issue. Thanks for your help, and sorry for bothering you.