LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1123|回复: 0

[奇怪地解决了]distcc出问题了

[复制链接]
发表于 2008-2-6 17:05:39 | 显示全部楼层 |阅读模式
所有的包都编译不过了……但是关掉distcc就没问题了
google也奇怪地么有找到解决方案……
本地和远程两台机器都是gentoo
但是一两个星期之前同样的配置还是能用的……

我自问自答好了
这个和服务器配置好像无关
我把make.conf中CCACHE_PREFIX="distcc"注释掉,现在暂时能编译了
下面log显示,有问题的时候,由distccd启动的编译器被捅到/usr/lib/distcc/bin下了,这应该是出错的原因,不过难道是这个distcc的prefix一起被传过去了?
现在则是在服务器log中看到只有/usr/libexec/gcc/..那里的gcc在运行了。

不过我非常很奇怪,之前使用另一台Debian的机器作为distcc服务器的时候,这么干是成功的。然而distccd我却没有发现什么可以多配置的地方……


某份本地编译的错误信息如下

  1. checking for a BSD-compatible install... /usr/bin/install -c
  2. configure: creating ./config.status
  3. config.status: creating Makefile
  4. config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
  5. config.status: creating config.h
  6. distcc[11170] ERROR: compile /var/ccache/fad-getad.tmp.Cyber-laptop.11137.i on 172.16.1.20 failed with exit code 111
  7. distcc[26858] (main) CRITICAL! distcc seems to have invoked itself recursively!
  8. distcc[26858] (dcc_mkdir) ERROR: mkdir /root/.distcc failed: Permission denied
  9. make: *** [fad-getad.o] Error 111
  10. make: *** Waiting for unfinished jobs....
  11. distcc[11180] ERROR: compile /var/ccache/inet.tmp.Cyber-laptop.11142.i on 172.16.1.20 failed with exit code 111
  12. distcc[26859] (main) CRITICAL! distcc seems to have invoked itself recursively!
  13. distcc[26859] (dcc_mkdir) ERROR: mkdir /root/.distcc failed: Permission denied
  14. make: *** [inet.o] Error 111
  15. distcc[11181] ERROR: compile /var/ccache/gencode.tmp.Cyber-laptop.11148.i on 172.16.1.20 failed with exit code 111
  16. distcc[26860] (main) CRITICAL! distcc seems to have invoked itself recursively!
  17. distcc[26860] (dcc_mkdir) ERROR: mkdir /root/.distcc failed: Permission denied
  18. make: *** [gencode.o] Error 111
  19. distcc[11182] ERROR: compile /var/ccache/etherent.tmp.Cyber-laptop.11162.i on 172.16.1.20 failed with exit code 111
  20. distcc[26861] (main) CRITICAL! distcc seems to have invoked itself recursively!
  21. distcc[26861] (dcc_mkdir) ERROR: mkdir /root/.distcc failed: Permission denied
  22. make: *** [etherent.o] Error 111
  23. distcc[11186] ERROR: compile /var/ccache/nametoaddr.tmp.Cyber-laptop.11153.i on 172.16.1.20 failed with exit code 111
  24. distcc[26862] (main) CRITICAL! distcc seems to have invoked itself recursively!
  25. distcc[26862] (dcc_mkdir) ERROR: mkdir /root/.distcc failed: Permission denied
  26. make: *** [nametoaddr.o] Error 111

  27. ERROR: net-libs/libpcap-0.9.8 failed.
  28. Call stack:
  29.               ebuild.sh, line 1701:  Called dyn_compile
  30.               ebuild.sh, line 1039:  Called qa_call 'src_compile'
  31.               ebuild.sh, line   44:  Called src_compile
  32.    libpcap-0.9.8.ebuild, line   31:  Called die
  33. The specific snippet of code:
  34.            emake || die "compile problem"
  35.   The die message:
  36.    compile problem

  37. If you need support, post the topmost build error, and the call stack if relevant.
  38. A complete build log is located at '/var/tmp/portage/net-libs/libpcap-0.9.8/temp/build.log'.

复制代码


distcc机器上的log

  1. 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
  2. distccd[26840] (dcc_listen_by_addr) listening on :::3632
  3. distccd[26840] (dcc_standalone_server) 1 CPU online on this server
  4. distccd[26840] (dcc_standalone_server) allowing up to 10 active jobs
  5. distccd[26841] (dcc_log_daemon_started) preforking daemon started (2.18.3 i686-pc-linux-gnu, built Dec 19 2007 06:16:24)
  6. distccd[26842] (dcc_check_client) connection from ::ffff:172.16.1.1:48768
  7. distccd[26842] compile from fad-getad.tmp.Cyber-laptop.11137.i to tmp.hash.Cyber-laptop.11137.o
  8. distccd[26842] (dcc_r_file_timed) 92531 bytes received in 0.048990s, rate 1845kB/s
  9. distccd[26842] (dcc_collect_child) cc times: user 0.000000s, system 0.000999s, 184 minflt, 0 majflt
  10. 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
  11. distccd[26842] job complete
  12. distccd[26849] (dcc_check_client) connection from ::ffff:172.16.1.1:48769
  13. distccd[26849] compile from inet.tmp.Cyber-laptop.11142.i to tmp.hash.Cyber-laptop.11142.o
  14. distccd[26849] (dcc_r_file_timed) 119772 bytes received in 0.054979s, rate 2127kB/s
  15. distccd[26849] (dcc_collect_child) cc times: user 0.000000s, system 0.000999s, 182 minflt, 0 majflt
  16. 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
  17. distccd[26849] job complete
  18. distccd[26850] (dcc_check_client) connection from ::ffff:172.16.1.1:48770
  19. distccd[26850] compile from gencode.tmp.Cyber-laptop.11148.i to tmp.hash.Cyber-laptop.11148.o
  20. distccd[26850] (dcc_r_file_timed) 197185 bytes received in 0.085484s, rate 2253kB/s
  21. distccd[26850] (dcc_collect_child) cc times: user 0.000000s, system 0.000999s, 183 minflt, 0 majflt
  22. 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
  23. distccd[26850] job complete
  24. distccd[26851] (dcc_check_client) connection from ::ffff:172.16.1.1:48771
  25. distccd[26851] compile from etherent.tmp.Cyber-laptop.11162.i to tmp.hash.Cyber-laptop.11162.o
  26. distccd[26851] (dcc_r_file_timed) 54009 bytes received in 0.297453s, rate 177kB/s
  27. distccd[26851] (dcc_collect_child) cc times: user 0.000000s, system 0.000999s, 184 minflt, 0 majflt
  28. 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
  29. distccd[26851] job complete
  30. distccd[26852] (dcc_check_client) connection from ::ffff:172.16.1.1:48772
  31. distccd[26852] compile from nametoaddr.tmp.Cyber-laptop.11153.i to tmp.hash.Cyber-laptop.11153.o
  32. distccd[26852] (dcc_r_file_timed) 116409 bytes received in 0.775786s, rate 147kB/s
  33. distccd[26852] (dcc_collect_child) cc times: user 0.000000s, system 0.000000s, 183 minflt, 0 majflt
  34. 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
  35. distccd[26852] job complete
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表