View previous topic :: View next topic |
Author |
Message |
dgellis n00b
Joined: 02 Dec 2003 Posts: 13
|
Posted: Fri Apr 02, 2004 1:41 am Post subject: Emerge coreutils fails on my Sparc20 |
|
|
Hi,
This is the tail of the emerge log when I tried to emerge the new coreutils:
pr.c:3297:19121: warning: null character(s) ignored
pr.c:3297: error: stray '\330' in program
pr.c:3297:19129: warning: null character(s) ignored
pr.c:3297:19149: warning: null character(s) ignored
pr.c:3297: error: stray '\20' in program
pr.c:3297: error: stray '\340' in program
pr.c:3297:19165: warning: null character(s) ignored
pr.c:3297: confused by earlier errors, bailing out
make[3]: *** [pr.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/coreutils-5.2.0/work/coreutils-5.2.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/coreutils-5.2.0/work/coreutils-5.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/coreutils-5.2.0/work/coreutils-5.2.0'
make: *** [all] Error 2
!!! ERROR: sys-apps/coreutils-5.2.0 failed.
!!! Function src_compile, Line 117, Exitcode 2
!!! (no error message)
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/coreutils-5.2.0 to /
>>> md5 src_uri coreutils-5.2.0.tar.bz2
>>> md5 src_uri coreutils-5.2.0-i18n-0.1.patch.gz
>>> md5 src_uri coreutils-5.2.0-gentoo-0.1.tar.bz2
I'm afraid I don't know why this happened, but a similar error occurred when I tried to emerge perl.
Darren |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Fri Apr 02, 2004 12:24 pm Post subject: |
|
|
I've seen it too, it's a side effect of a patch to pr.c, and it doesn't
happen on sparc64 systems.
I haven't gotten far enough to know how to report it as a bug or to fix it,
but what you are seeing is real. (On sparc32, the compiler gets completely
lost on this particular source module.)
Since you are seeing exactly what I am seeing, I guess it's not local to my
system; a possibility I've been trying to confirm or eliminate. |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Fri Apr 02, 2004 1:19 pm Post subject: |
|
|
And, for your information (and you can verify this):
* The patches to pr.c in coreutils seem to be for WCHAR support;
* pr.c as patched ends with "}\n"
* If you change this to "} \n" the compile goes fine (edit pr.c and add a
space after the final brace)
I'm going to try to reproduce this in something a little smaller than 3100 lines,
but something about this patch causes gcc-3.2.3-r3 and gcc-3.3.3 to completely
go off the rails if the last thing they see in pr.c (as patched) is a brace. |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
|
Back to top |
|
|
aftermath n00b
Joined: 14 Apr 2004 Posts: 1 Location: Minnesota, USA
|
Posted: Wed Apr 14, 2004 8:54 pm Post subject: |
|
|
Thank you all. I was a little baffled about this problem, and I kep re-trying to compile it for about two days. I cant belive i didnt search the forums
Anyway, thsnks a shitload for the help! _________________ ---
Andrei Bazhgin
THNAKS FOR THE INFO! |
|
Back to top |
|
|
hansoncoyne n00b
Joined: 17 Oct 2003 Posts: 5 Location: 18th Floor
|
Posted: Fri Jul 09, 2004 2:47 am Post subject: |
|
|
hey i was having the same probs. started another post before i found this one. just cross linking here for the next guy. thanks for the help guys. compiling now. i'll let you know how it goes.
https://forums.gentoo.org/viewtopic.php?p=1323820#1323820 _________________ Sparc20 2xRoss 150s 512MB (yeah baby)
Mr. Coffee |
|
Back to top |
|
|
hansoncoyne n00b
Joined: 17 Oct 2003 Posts: 5 Location: 18th Floor
|
Posted: Fri Jul 09, 2004 2:45 pm Post subject: |
|
|
n00b question....
this all started while i was doing a brand spankin new install off a stage 2 tarball.
#emerge system
i interrupted the emerge when it starts to puke. edited the pr.c file in /var/tmp/portage...
then what ?
#emerge --resume ... goes back and untars the files again.
is there some arguments i can pass emerge to not untar from the portage tree and just compile and link whats there in /var/tmp? or do i use the mask thing, (example?) new to emerge, looking for a little help.
--norm _________________ Sparc20 2xRoss 150s 512MB (yeah baby)
Mr. Coffee |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Sat Jul 10, 2004 11:17 pm Post subject: |
|
|
It's ugly, but ^Z (Ctrl-Z); go fix pr.c; fg ought to work. (Or, start the compile,
and in another virtual terminal go fix pr.c). That is, fix pr.c while coreutils is
building so that you don't have to bother with restarting the emerge. |
|
Back to top |
|
|
|