LinuxSir.cn,穿越时空的Linuxsir!

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

distcc的问题,频繁出现 Warning: failed to distribute, running locally instead

[复制链接]
发表于 2009-3-4 14:06:03 | 显示全部楼层 |阅读模式
系统环境, 笔记本 gentoo , 父亲的台式机 gentoo@VMware , 以及一台老的P3 gentoo, gcc版本同为4.3.3 ,  accpetword 都是 ~x86 ,   distcc 配置无误, 最开始编译的时候分布情况正常,大约编译到30分钟以后 开始频繁出现第一个提示,
然后就开始频繁出现第二个提示
三台机器都启用了ccache ,和 distcc
  1. distcc[10448] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
  2. distcc[10475] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
  3. distcc[10479] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
  4. distcc[10483] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
  5. distcc[10487] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
  6. distcc[10513] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
  7. distcc[10517] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
  8. distcc[10521] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
复制代码
  1. distcc[15961] (dcc_select_for_read) ERROR: IO timeout
  2. distcc[15961] (dcc_r_token_int) ERROR: read failed while waiting for token "DONE"
  3. distcc[15961] (dcc_r_result_header) ERROR: server provided no answer. Is the server configured to allow access from your IP address? Does the server have the compiler installed? Is the server configured to access the compiler?
  4. distcc[15961] Warning: failed to distribute /var/tmp/ccache/sipkdeuipa.tmp.laptop.15957.ii to 192.168.0.101, running locally instead
复制代码

192.168.0.101是笔记本, 而且只有笔记本的IP出现在提示中


google半天没有什么有效的结果, 特来询问
 楼主| 发表于 2009-3-4 14:09:03 | 显示全部楼层
以上是给笔记本编译KDE过程中频繁出现
  1. laptop ~ # distcc --show-hosts
  2. 192.168.0.101 //笔记本
  3. 192.168.0.102 //gentoo@VMWARE
  4. 192.168.0.103 //gentoo@P3
复制代码

笔记本的一些配置
  1. /etc/conf.d/distccd
  2. DISTCCD_OPTS="${DISTCCD_OPTS} --allow 192.168.0.0/24"
  3. /etc/make.conf
  4. FEATURES="parallel-fetch ccache distcc"
  5. MAKEOPTS="-j4"
  6. DISTCC_DIR=${PORTAGE_TMPDIR}/portage/.distcc
复制代码

三台机器的 gcc glibc 版本都一致
回复 支持 反对

使用道具 举报

发表于 2009-3-4 15:40:41 | 显示全部楼层
没遇到过。把ccache去掉看看呢?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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