| Summary: | giflib - Compile crash when using distcc | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Tor Håkon Haugen <torh> |
| Component: | New packages | Assignee: | Lisa Seelye (RETIRED) <lisa> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | graphics+disabled |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Logfile | ||
|
Description
Tor Håkon Haugen
2003-12-10 08:59:31 UTC
Almost looks like the Makefile is getting ahead of itself. Is there a way to specify an ebuild not to use distcc? Similar to the IUSE option, it could have a FEATURE="-distcc" to remove distcc form the FEATURES. does it work with MAKEOPTS="-j1" ? No, it still crash. Can you enable distcc in FEATURES, and set MAKEOPTS to -j1 please and then do: # DISTCC_VERBOSE="1" DISTCC_LOG="/tmp/giflib.txt" emerge giflib Attach the log here when it fails. Well, let's say we have found something interesting. All tests are with these options in /etc/make.conf : MAKEOPTS="-j1" FEATURES="distcc" First: # DISTCC_VERBOSE="1" DISTCC_LOG="/tmp/giflib.txt" emerge giflib Works. Number two: This one already had distcc-config --set-verbose 1, same with the one above. # emerge giflib -v OR emerge giflib Fails # distcc-config --set-verbose 0 # source /etc/profile # emerge giflib -v OR emerge giflib Works #distcc-config --set-verbose 1 # source /etc/profile # emerge giflib -v OR emerge giflib Works... strange enough. So I open a new terminal and su to root... guess what? # emerge giflib -v OR emerge giflib FAILS... and it's the exact same settings as the previous test. And again... this time without source /etc/profile. # distcc-config --set-verbose 0 # emerge giflib Works... # distcc-config --set-verbose 1 # emerge giflib Fails.. Sorry, I am unable to generate the error if i DISTCC_LOG is set, either via command line, or by using distcc-config --set-log. The error seems to occure only if verbose is set with distcc-conf --set-verbose, not if it's set with the DISTCC_VERBOSE. Steps to reproduce (more exact): 1. # emerge distcc 2. add distcc to FEATURES in make.conf, and set MAKEOPTS to -j1 or -j5, doesn't seems to matter. 3. # distcc-config --set-verbose 1 4. # emerge giflib I'll see if I can play with the distcc-config script this weekend, maybe it's something odd there? Let me run some tests here this week (since I finally got my other node back up!)... Okay, this is verified. This appears to be a distcc problem since it fails with localhost and 127.0.0.1. I can not reproduce this at all. I am even using the same CFLAGS as the initial poster and have tried the suggested steps to get the failure. Actually, I think i may have made an error in judgement in comment 9. If this works when using only localhost to compile then it is unlikely to be a distcc problem since distcc will not connect through the daemon, but rather just pass it to gcc. Even trying now with distcc and giflib it compiles. I'm going to go ahead and mark this as NEEDINFO and wait until the original poster can provide additional information (is this still a problem? can you account for comment 10 ?). Your right, it does compile with distcc. However, would you try again with this line? # DISTCC_VERBOSE=1 emerge giflib It's the only safe way I have found to reproduce the fault. Can anyone confirm this? I ran into this problem during a new install. I was using distcc, and it crashed even though there were no remote compilers available at the time (and thus everything was taking place on the local machine), the compile still failed unless I removed distcc from the FEATURES. Created attachment 38275 [details]
Logfile
Here is a log with both stdout and stderr of the event.
|