Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66187 - Tetex compile failed while using distcc on an x86.
Summary: Tetex compile failed while using distcc on an x86.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-03 00:04 UTC by nathan
Modified: 2004-10-04 00:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nathan 2004-10-03 00:04:28 UTC
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.
Comment 1 Canal Vorfeed 2004-10-03 02:52:46 UTC
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.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-10-04 00:52:20 UTC
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.