public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] openwatcom ebuild question
@ 2009-11-14 20:33 David Relson
  2009-11-14 21:21 ` Xavier Parizet
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: David Relson @ 2009-11-14 20:33 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]

As background, http://bugs.gentoo.org/show_bug.cgi?id=233097 has an
experimental, unsupported ebuild for openwatcom-1.7.1 and it doesn't
quite work :-<

The ebuild's src_compile function is:

    src_compile() {
        ./build.sh || die "build.sh failed"
    }

When I run "emerge =dev-lang/openwatcom-1.7.1", the build fails with

    /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld:
    i386:x86-64 architecture of input file `bootstrp/clibext.o' is
    incompatible with i386 output distcc[16016] ERROR: compile (null)
    on localhost failed

The full output of the emerge command is in the attached file.

Alternatively, I can manually unpack and build with commands:

    ebuild =dev-lang/openwatcom-1.7.1.ebuild unpack
    cd /var/tmp/dev-lang/openwatcom-1.7.1/work
    ./build.sh

With the steps performed manually, the compilation works properly.

Anybody familiar with the "i386:x86-64 ... incompatible ... i386"
message and know what it means?

Any suggestions on ebuild changes to correct this behavior?

Thanks !

David

[-- Attachment #2: dev-lang:openwatcom-1.7.1:20091114-132414.log --]
[-- Type: text/x-log, Size: 1953 bytes --]

>>> Unpacking source...
>>> Unpacking open_watcom_1.7.1-src.tar.bz2 to /var/tmp/portage/dev-lang/openwatcom-1.7.1/work
 ^[[32;01m*^[[0m Applying build.sh.patch ...
^[[A^[[71C  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
>>> Source unpacked in /var/tmp/portage/dev-lang/openwatcom-1.7.1/work
>>> Compiling source in /var/tmp/portage/dev-lang/openwatcom-1.7.1/work ...
Open Watcom compiler build environment
mkdir bootstrp
cc -c -funsigned-char -fno-common -g -O2 -Wall -Wno-switch -Ibootstrp -Ih -I../watcom/h -I../lib_misc/h -D__LINUX__ -D__UNIX__= -DUNIX -Uunix -DBOOTSTRAP -DWMAKE -Ibootstrp -o bootstrp/wsplice.o ../builder/c/wsplice.c
cc -c -funsigned-char -fno-common -g -O2 -Wall -Wno-switch -Ibootstrp -Ih -I../watcom/h -I../lib_misc/h -D__LINUX__ -D__UNIX__= -DUNIX -Uunix -DBOOTSTRAP -DWMAKE -Ibootstrp -o bootstrp/clibext.o ../watcom/c/clibext.c
cc -g bootstrp/wsplice.o bootstrp/clibext.o -o bootstrp/wsplice
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `bootstrp/wsplice.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `bootstrp/clibext.o' is incompatible with i386 output
distcc[16016] ERROR: compile (null) on localhost failed
make: *** [bootstrp/wsplice] Error 1
./build.sh: line 19: wmake: command not found
./build.sh: line 22: builder: command not found
>>> Source compiled.
>>> Test phase [not enabled]: dev-lang/openwatcom-1.7.1

>>> Install openwatcom-1.7.1 into /var/tmp/portage/dev-lang/openwatcom-1.7.1/image/ category dev-lang
cp: cannot stat `rel2': No such file or directory
ln: creating symbolic link `/var/tmp/portage/dev-lang/openwatcom-1.7.1/image//opt/openwatcom/bin': No such file or directory
>>> Completed installing openwatcom-1.7.1 into /var/tmp/portage/dev-lang/openwatcom-1.7.1/image/

>>> Done.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-11-15 16:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-14 20:33 [gentoo-user] openwatcom ebuild question David Relson
2009-11-14 21:21 ` Xavier Parizet
2009-11-14 22:35   ` David Relson
2009-11-14 22:12 ` Daniel Pielmeier
2009-11-15  8:45   ` Neil Bothwick
2009-11-14 22:34 ` Daniel Pielmeier
2009-11-15  4:07   ` David Relson
2009-11-15  8:29     ` Alan McKinnon
2009-11-15 13:44       ` David Relson
2009-11-15 15:06         ` Alan McKinnon
2009-11-15 15:34           ` David Relson
2009-11-15 10:22     ` Daniel Pielmeier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox