Package: zapping
Version: 0.8.0-2
Severity: serious

Hi, your package is failing to build because it's using a
static non fPIC lib to make a shared lib.

Here is an extract from the build log:
/bin/sh ../../libtool --mode=link x86_64-linux-gcc  -Wall -g -O2   -o 
libteletext.zapping.la -rpath /usr/lib/zapping/plugins  bookmark.lo export.lo 
main.lo preferences.lo search.lo toolbar.lo view.lo window.lo 
../../libvbi/libvbi.a  -lpng -lz -lm  -lpthread

*** Warning: Linking the shared library libteletext.zapping.la against the
*** static library ../../libvbi/libvbi.a is not portable!
x86_64-linux-gcc -shared  .libs/bookmark.o .libs/export.o .libs/main.o 
.libs/preferences.o .libs/search.o .libs/toolbar.o .libs/view.o .libs/window.o 
../../libvbi/libvbi.a -lpng -lz -lm -lpthread  -Wl,-soname 
-Wl,libteletext.zapping.so.0 -o .libs/libteletext.zapping.so.0.0.0
/usr/bin/ld: ../../libvbi/libvbi.a(cache.o): relocation R_X86_64_32 can not be 
used when making a shared object; recompile with -fPIC
../../libvbi/libvbi.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libteletext.zapping.la] Error 1

The previous version (0.8.0-1) build without problems and
the changelog doesn't seem to indicate why this would now
fail.  It seems that previously it didn't try to make the
libteletext.zapping.so but does now.

A static library should be build without -fPIC and a
shared library should be build using -fPIC.  If you need
the static library too you will have to build all those
files twice, once using -fPIC, once not using it.

>From the build log it looks like the libvbi.a isn't used
for anything other than linking the libteletext.zapping.so
so I suggest you just build those files once using -fPIC.


Note: this is a build log from amd64, it should fail on
some other arches (like hppa) too but they failed for an
other reason so far.  If it happens to only affect amd64
please lower the severity.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to