1 |
David Relson a écrit : |
2 |
> As background, http://bugs.gentoo.org/show_bug.cgi?id=233097 has an |
3 |
> experimental, unsupported ebuild for openwatcom-1.7.1 and it doesn't |
4 |
> quite work :-< |
5 |
> |
6 |
> The ebuild's src_compile function is: |
7 |
> |
8 |
> src_compile() { |
9 |
> ./build.sh || die "build.sh failed" |
10 |
> } |
11 |
> |
12 |
> When I run "emerge =dev-lang/openwatcom-1.7.1", the build fails with |
13 |
> |
14 |
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: |
15 |
> i386:x86-64 architecture of input file `bootstrp/clibext.o' is |
16 |
> incompatible with i386 output distcc[16016] ERROR: compile (null) |
17 |
> on localhost failed |
18 |
|
19 |
You use distcc. But seems to be not well configured. Just disable distcc to |
20 |
build the package (FEATURES=-distcc in /etc/make.conf). |
21 |
|
22 |
HTH. |
23 |
|
24 |
> The full output of the emerge command is in the attached file. |
25 |
> |
26 |
> Alternatively, I can manually unpack and build with commands: |
27 |
> |
28 |
> ebuild =dev-lang/openwatcom-1.7.1.ebuild unpack |
29 |
> cd /var/tmp/dev-lang/openwatcom-1.7.1/work |
30 |
> ./build.sh |
31 |
> |
32 |
> With the steps performed manually, the compilation works properly. |
33 |
> |
34 |
> Anybody familiar with the "i386:x86-64 ... incompatible ... i386" |
35 |
> message and know what it means? |
36 |
> |
37 |
> Any suggestions on ebuild changes to correct this behavior? |
38 |
> |
39 |
> Thanks ! |
40 |
> |
41 |
> David |
42 |
> |
43 |
|
44 |
|
45 |
-- |
46 |
Xavier Parizet |
47 |
YaGB : http://gentooist.com |
48 |
GPG : C7DC B10E FC21 63BE |
49 |
B453 D239 F6E6 DF65 1569 91BF |