|
|
所有的包都编译不过了……但是关掉distcc就没问题了
google也奇怪地么有找到解决方案……
本地和远程两台机器都是gentoo
但是一两个星期之前同样的配置还是能用的……
我自问自答好了
这个和服务器配置好像无关
我把make.conf中CCACHE_PREFIX="distcc"注释掉,现在暂时能编译了
下面log显示,有问题的时候,由distccd启动的编译器被捅到/usr/lib/distcc/bin下了,这应该是出错的原因,不过难道是这个distcc的prefix一起被传过去了?
现在则是在服务器log中看到只有/usr/libexec/gcc/..那里的gcc在运行了。
不过我非常很奇怪,之前使用另一台Debian的机器作为distcc服务器的时候,这么干是成功的。然而distccd我却没有发现什么可以多配置的地方……
某份本地编译的错误信息如下
- checking for a BSD-compatible install... /usr/bin/install -c
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
- config.status: creating config.h
- distcc[11170] ERROR: compile /var/ccache/fad-getad.tmp.Cyber-laptop.11137.i on 172.16.1.20 failed with exit code 111
- distcc[26858] (main) CRITICAL! distcc seems to have invoked itself recursively!
- distcc[26858] (dcc_mkdir) ERROR: mkdir /root/.distcc failed: Permission denied
- make: *** [fad-getad.o] Error 111
- make: *** Waiting for unfinished jobs....
- distcc[11180] ERROR: compile /var/ccache/inet.tmp.Cyber-laptop.11142.i on 172.16.1.20 failed with exit code 111
- distcc[26859] (main) CRITICAL! distcc seems to have invoked itself recursively!
- distcc[26859] (dcc_mkdir) ERROR: mkdir /root/.distcc failed: Permission denied
- make: *** [inet.o] Error 111
- distcc[11181] ERROR: compile /var/ccache/gencode.tmp.Cyber-laptop.11148.i on 172.16.1.20 failed with exit code 111
- distcc[26860] (main) CRITICAL! distcc seems to have invoked itself recursively!
- distcc[26860] (dcc_mkdir) ERROR: mkdir /root/.distcc failed: Permission denied
- make: *** [gencode.o] Error 111
- distcc[11182] ERROR: compile /var/ccache/etherent.tmp.Cyber-laptop.11162.i on 172.16.1.20 failed with exit code 111
- distcc[26861] (main) CRITICAL! distcc seems to have invoked itself recursively!
- distcc[26861] (dcc_mkdir) ERROR: mkdir /root/.distcc failed: Permission denied
- make: *** [etherent.o] Error 111
- distcc[11186] ERROR: compile /var/ccache/nametoaddr.tmp.Cyber-laptop.11153.i on 172.16.1.20 failed with exit code 111
- distcc[26862] (main) CRITICAL! distcc seems to have invoked itself recursively!
- distcc[26862] (dcc_mkdir) ERROR: mkdir /root/.distcc failed: Permission denied
- make: *** [nametoaddr.o] Error 111
- ERROR: net-libs/libpcap-0.9.8 failed.
- Call stack:
- ebuild.sh, line 1701: Called dyn_compile
- ebuild.sh, line 1039: Called qa_call 'src_compile'
- ebuild.sh, line 44: Called src_compile
- libpcap-0.9.8.ebuild, line 31: Called die
- The specific snippet of code:
- emake || die "compile problem"
- The die message:
- compile problem
- If you need support, post the topmost build error, and the call stack if relevant.
- A complete build log is located at '/var/tmp/portage/net-libs/libpcap-0.9.8/temp/build.log'.
复制代码
distcc机器上的log
- distccd[26840] (dcc_setup_daemon_path) daemon's PATH is /usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2
- distccd[26840] (dcc_listen_by_addr) listening on :::3632
- distccd[26840] (dcc_standalone_server) 1 CPU online on this server
- distccd[26840] (dcc_standalone_server) allowing up to 10 active jobs
- distccd[26841] (dcc_log_daemon_started) preforking daemon started (2.18.3 i686-pc-linux-gnu, built Dec 19 2007 06:16:24)
- distccd[26842] (dcc_check_client) connection from ::ffff:172.16.1.1:48768
- distccd[26842] compile from fad-getad.tmp.Cyber-laptop.11137.i to tmp.hash.Cyber-laptop.11137.o
- distccd[26842] (dcc_r_file_timed) 92531 bytes received in 0.048990s, rate 1845kB/s
- distccd[26842] (dcc_collect_child) cc times: user 0.000000s, system 0.000999s, 184 minflt, 0 majflt
- distccd[26842] /usr/lib/distcc/bin/i686-pc-linux-gnu-gcc /var/ccache/fad-getad.tmp.Cyber-laptop.11137.i on localhost failed with exit code 111
- distccd[26842] job complete
- distccd[26849] (dcc_check_client) connection from ::ffff:172.16.1.1:48769
- distccd[26849] compile from inet.tmp.Cyber-laptop.11142.i to tmp.hash.Cyber-laptop.11142.o
- distccd[26849] (dcc_r_file_timed) 119772 bytes received in 0.054979s, rate 2127kB/s
- distccd[26849] (dcc_collect_child) cc times: user 0.000000s, system 0.000999s, 182 minflt, 0 majflt
- distccd[26849] /usr/lib/distcc/bin/i686-pc-linux-gnu-gcc /var/ccache/inet.tmp.Cyber-laptop.11142.i on localhost failed with exit code 111
- distccd[26849] job complete
- distccd[26850] (dcc_check_client) connection from ::ffff:172.16.1.1:48770
- distccd[26850] compile from gencode.tmp.Cyber-laptop.11148.i to tmp.hash.Cyber-laptop.11148.o
- distccd[26850] (dcc_r_file_timed) 197185 bytes received in 0.085484s, rate 2253kB/s
- distccd[26850] (dcc_collect_child) cc times: user 0.000000s, system 0.000999s, 183 minflt, 0 majflt
- distccd[26850] /usr/lib/distcc/bin/i686-pc-linux-gnu-gcc /var/ccache/gencode.tmp.Cyber-laptop.11148.i on localhost failed with exit code 111
- distccd[26850] job complete
- distccd[26851] (dcc_check_client) connection from ::ffff:172.16.1.1:48771
- distccd[26851] compile from etherent.tmp.Cyber-laptop.11162.i to tmp.hash.Cyber-laptop.11162.o
- distccd[26851] (dcc_r_file_timed) 54009 bytes received in 0.297453s, rate 177kB/s
- distccd[26851] (dcc_collect_child) cc times: user 0.000000s, system 0.000999s, 184 minflt, 0 majflt
- distccd[26851] /usr/lib/distcc/bin/i686-pc-linux-gnu-gcc /var/ccache/etherent.tmp.Cyber-laptop.11162.i on localhost failed with exit code 111
- distccd[26851] job complete
- distccd[26852] (dcc_check_client) connection from ::ffff:172.16.1.1:48772
- distccd[26852] compile from nametoaddr.tmp.Cyber-laptop.11153.i to tmp.hash.Cyber-laptop.11153.o
- distccd[26852] (dcc_r_file_timed) 116409 bytes received in 0.775786s, rate 147kB/s
- distccd[26852] (dcc_collect_child) cc times: user 0.000000s, system 0.000000s, 183 minflt, 0 majflt
- distccd[26852] /usr/lib/distcc/bin/i686-pc-linux-gnu-gcc /var/ccache/nametoaddr.tmp.Cyber-laptop.11153.i on localhost failed with exit code 111
- distccd[26852] job complete
复制代码 |
|