Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge coreutils fails on my Sparc20
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
dgellis
n00b
n00b


Joined: 02 Dec 2003
Posts: 13

PostPosted: Fri Apr 02, 2004 1:41 am    Post subject: Emerge coreutils fails on my Sparc20 Reply with quote

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
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Fri Apr 02, 2004 12:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Fri Apr 02, 2004 1:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Fri Apr 02, 2004 2:25 pm    Post subject: Reply with quote

And further, you can track this at
https://bugs.gentoo.org/show_bug.cgi?id=46593
where there's lots more information.
Back to top
View user's profile Send private message
aftermath
n00b
n00b


Joined: 14 Apr 2004
Posts: 1
Location: Minnesota, USA

PostPosted: Wed Apr 14, 2004 8:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
hansoncoyne
n00b
n00b


Joined: 17 Oct 2003
Posts: 5
Location: 18th Floor

PostPosted: Fri Jul 09, 2004 2:47 am    Post subject: Reply with quote

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
View user's profile Send private message
hansoncoyne
n00b
n00b


Joined: 17 Oct 2003
Posts: 5
Location: 18th Floor

PostPosted: Fri Jul 09, 2004 2:45 pm    Post subject: Reply with quote

:?: 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
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Sat Jul 10, 2004 11:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum