View previous topic :: View next topic |
Author |
Message |
ookabooka n00b
Joined: 22 Jul 2003 Posts: 36 Location: root@localhost.localdomain
|
Posted: Tue Jan 13, 2004 1:39 am Post subject: Distcc and packages that don't like it |
|
|
Ok, im trying to use distcc to help speed things up here. but I have a lot of packages that fail, a few of them are, "m4" and "db". of course i can just comment out the features line and emerge the failing package manually, but thats just plain annoying and ineficient. Is there a script that will automatically emerge a package without distcc if it fails, then continue with world with distcc enabled? I made sure that each node had the same version of distcc and gcc. Is thereanything else i need to do, glibs, g++? I read the howto and it looks like i did everything. _________________ CFLAGS="-march=i386 -m64"
from root (/) : mount -t proc proc proc |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Jan 13, 2004 2:33 am Post subject: |
|
|
What error messages are you getting ?
I try to use distcc for everything (whenever I have more than 1 computer turned on). I even tried distcc from stage 1 on my laptop, everything compiled without errors. |
|
Back to top |
|
|
ookabooka n00b
Joined: 22 Jul 2003 Posts: 36 Location: root@localhost.localdomain
|
Posted: Tue Jan 13, 2004 3:21 am Post subject: |
|
|
SERIOUSLY?? I'm emerging glibc on all the nodes, just in case thats it, I didn't think to save the error messages, but I will save the next one and upload it here. Basically it was like
exit status 1
package db-blah-blah in src_compile (i know its almost always src_compile)
edit: could u post how u did it? like did u emerge distcc --nodeps before bootstrapping. etc. . .I thought it was a well known fact that some packages just plain failed in distcc.
In file included from ../generic/tclInt.h:46,
from ../generic/tclFileName.c:16:
/usr/include/stdlib.h:517: error: stray '\361' in program
/usr/include/stdlib.h:517: error: syntax error before "e"
distcc[23691] (dcc_r_token_int) got SOUT00000000
distcc[23691] (dcc_r_token_int) got DOTO00000000
distcc[23691] (dcc_unlock) release lock fd3
distcc[23691] ERROR: compile on 192.168.1.23/2 failed
distcc[23691] elapsed compilation time 1.016613s
distcc[23691] (dcc_exit) exit: code 1; self: 0.010000 user 0.010000 sys; children: 0.100000 user 0.070000 sys
distcc[23691] (dcc_cleanup_tempfiles) deleted 1 temporary files
make: *** [tclFileName.o] Error 1
make: *** Waiting for unfinished jobs....
after a bunch of debug messages from distcc
!!! ERROR: dev-lang/tcl-8.4.5 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! (no error message)
There is one, along with local distcc logging, It looks to me like the files are being corrupted in transit, but I have a good network, with a good switch, i just don't see how this could be, never had any problems with anything else. _________________ CFLAGS="-march=i386 -m64"
from root (/) : mount -t proc proc proc |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Jan 13, 2004 3:59 am Post subject: |
|
|
ookabooka wrote: | edit: could u post how u did it? like did u emerge distcc --nodeps before bootstrapping. etc. . .I thought it was a well known fact that some packages just plain failed in distcc. |
Some packages fail to distribute, but I didn't have any fail to compile with distcc.
Setting up distcc for bootstrap required a couple of extra steps, but these are mentioned in the Gentoo distcc guide |
|
Back to top |
|
|
bokkepoot Tux's lil' helper
Joined: 14 Mar 2003 Posts: 123 Location: The Hague, The Netherlands
|
Posted: Tue Jan 13, 2004 4:38 am Post subject: |
|
|
Ookabooka: Are you using gentoo-sources-2.4.22 and using an athlon? If so i'd like you to take a look at https://bugs.gentoo.org/show_bug.cgi?id=36230 and report if that is the typical errornous behaviour you are encountering. |
|
Back to top |
|
|
ookabooka n00b
Joined: 22 Jul 2003 Posts: 36 Location: root@localhost.localdomain
|
Posted: Tue Jan 13, 2004 4:54 am Post subject: |
|
|
the nodes are all athlon-xp's running gentoo-sources-2.4.22-r1, while the target machine is a pentium 4, no kernel on hd, running kernel that came with recent livecd. If it is the kernel that is causing the problem, i would gladly replace it on all my nodes I really need this to work. Are there any kernels available to the athlon that dont' cause this problem?
edit: a lot of the errors seem to be syntax errors now that i look at it. Its just that when you get a syntax error, it spawns a zillion other errors. _________________ CFLAGS="-march=i386 -m64"
from root (/) : mount -t proc proc proc |
|
Back to top |
|
|
|