buildworld fails with distcc, buildkernel works fine though
Daimao
daimao at gmail.com
Mon Oct 11 22:15:23 PDT 2004
I'm posting again with an update, hopefully I can get a response out
of someone this time. I need a bit of help here.
First off, the good news. I've had two successfull kernel builds
using distcc on both of my dfly systems. So that should work for
anyone else too, I think. Didn't require any voodoo whatsoever, just
install the package through "pkg_add -r" and follow the docs on the
distcc site. Then do:
cd /usr/src
setenv DISTCC_HOSTS "localhost 123.123.123.123"
make -j5 CC=/usr/local/bin/distcc buildkernel
According to the distcc site, you should do two times the number of
cpus plus one, as ball park figure. So that's what I did.
Now, the bad news. Buildworld fails, and it appears to fail in a
different spot each time. Now, I'm not much of a coder so I don't
really know what's going on, but each time there was a lot of include
files with warnings about "unrecognized data at end of #line". Or
some other such thing. The other thing is the actual file failing to
build always seems to be on the remote distcc system. I'll have to
figure out how to get distcc to tell me what the actual compile time
error was though, it only tells me that a file failed.
I'd really like to get this working for dfly, but I'm at a point where
I just don't know what to do. If someone can help me out here I'd
really appreciate it a lot. I believe this is something that can
really benefit dfly users.
At least, until we get SSI :P
Daimao
More information about the Bugs
mailing list