Kurt Roeckx wrote:
On Mon, May 28, 2007 at 01:56:17PM +0200, Daniel Svensson wrote:
On 28/05/07, Kurt Roeckx <[EMAIL PROTECTED]> wrote:
Package: xmms2
Version: 0.2DrJekyll-1
Severity: serious
Hi,
Your package is failing to build with the following error on amd64:
[213/247] * cc_link : _build_/default/src/plugins/cue/cue.os ->
_build_/default/src/plugins/cue/libxmms_cue.so
[214/247] * cc_link : _build_/default/src/plugins/sid/sid.os
_build_/default/src/plugins/sid/sidplay_wrapper.o
_build_/default/src/plugins/sid/md5.o ->
_build_/default/src/plugins/sid/libxmms_sid.so
Compilation failed
make: *** [build-stamp] Error 1
It would be nice that it actually gave an error message.
Didn't it?
From:
http://buildd.debian.org/fetch.cgi?pkg=xmms2;ver=0.2DrJekyll-1;arch=amd64;stamp=1180346829
You'll find:
default/src/plugins/sid/sidplay_wrapper.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
So, it gave:
[201/247] * cc_link : _build_/default/src/plugins/mp4/mp4.os
_build_/default/src/plugins/mp4/mp4ff/drms.os _build_/def/usr/bin/ld:
default/src/plugins/sid/sidplay_wrapper.o: relocation R_X86_64_32S against `a
local symbol' can not be used when making a shared object; recompile with -fPIC
default/src/plugins/sid/sidplay_wrapper.o: could not read
symbols: Bad value
collect2: ld returned 1 exit status
But then happely continued like no error happened.
Anyway, the problem is that either
default/src/plugins/sid/sidplay_wrapper.o was not build using -fPIC, or
it's using some assembler that's not PIC.
You need to have PIC to be make a shared library.
Kurt
--
_______________________________________________
Xmms2-devel mailing list
[EMAIL PROTECTED]
http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel
Waf has a tendency to flush things to stdout and stderr at odd times due
to buffering, so errors usually appear several lines before when they
actually occur. This is probably what happened to the above build. This
is known upstream and in fact, it was just being discussed (including
patches) yesterday.
-Dan "Puzzles" Chokola
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]