Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224681 - sys-apps/coreutils-6.10-r2 will not compile
Summary: sys-apps/coreutils-6.10-r2 will not compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-02 22:15 UTC by Christian Gnägi
Modified: 2008-06-05 17:43 UTC (History)
1 user (show)

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


Attachments
Portage Log for coreutils (sys-apps:coreutils-6.10-r2:20080602-211947.log,112.01 KB, text/plain)
2008-06-02 22:16 UTC, Christian Gnägi
Details
ebuild environment (environment,106.28 KB, text/plain)
2008-06-02 22:28 UTC, Christian Gnägi
Details
Uname.o file which seems to be of an unknown format (uname.o,5.68 KB, application/octet-stream)
2008-06-02 22:35 UTC, Christian Gnägi
Details
emerge --info (emerge.info,3.10 KB, text/plain)
2008-06-02 22:38 UTC, Christian Gnägi
Details

Note You need to log in before you can comment on or make changes to this bug.
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.