An attempt to emerge tetex yielded the following: In file included from CMap.cc:20: ../goo/gfile.h:131: error: syntax error before `*' token distcc[28901] ERROR: compile CMap.cc on 192.168.1.100 failed make[1]: *** [CMap.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/tetex-2.0.2-r3/work/tetex-src-2.0.2/libs/xpdf/xpdf' make: *** [libs/xpdf/xpdf/libxpdf.a] Error 2 However, when I disabled distcc, the compile proceeded normally and returned successfully. Reproducible: Always Steps to Reproduce: 1. Start distcc and have at least one other computer running distccd 2. emerge tetex 3. watch it break 4. disable distcc 5. emerge tetex 6. watch it work Actual Results: In file included from CMap.cc:20: ../goo/gfile.h:131: error: syntax error before `*' token distcc[28901] ERROR: compile CMap.cc on 192.168.1.100 failed make[1]: *** [CMap.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/tetex-2.0.2-r3/work/tetex-src-2.0.2/libs/xpdf/xpdf' make: *** [libs/xpdf/xpdf/libxpdf.a] Error 2 Expected Results: The compile should have succeeded and I should have had a properly working Tex environment. Even though it shouldn't matter, the other computer is running Fedora Core one on an AMD XP 2100, and the hostmachine is running Gentoo with the 2.6.8.1 kernel on a P4.
The good question is if you have the same versions of gcc on both systems. You should never try to use distcc with different versions of gcc (3.2.x vs 3.3.x, for example) and even minor changes (3.3.3 vs 3.3.4) can be disastrous even if in 99% of cases you can mix them.
I'm going to mark this as invalid because it appears to be user error mixing different versions of gcc. If you can confirm that it is in fact a problem with the ebuild please reopen.