[Debian-med-packaging] Bug#615690: acedb: ftbfs with gold or ld --no-add-needed

Matthias Klose doko at debian.org
Mon Feb 28 00:52:05 UTC 2011


Package: acedb
Version: 4.9.39+dfsg.01-1
Severity: important
Tags: sid
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

The package fails to build in a test rebuild on at least amd64 with
ld --no-add-needed.  For details, please see:
http://lists.debian.org/debian-devel-announce/2011/02/msg00011.html
http://wiki.debian.org/ToolChain/DSOLinking

Ubuntu might have a patch for this issue, but unfortunately it was
not forwarded to Debian.  Please have a look at
http://packages.qa.debian.org/acedb to see if an Ubuntu version for
this package exists, and if a fix is included in the Ubuntu diff.

[...]
gcc -g -Wall  -DACEDB4 `../w3rdparty/include-config glib-2.0 gtk+-2.0`  -I.. -I../wh -I../wstaden -DACEDB_GTK -DLINUX -c -o blxparser.o blxparser.c
gcc -g -Wall  -DACEDB4 `../w3rdparty/include-config glib-2.0 gtk+-2.0`  -I.. -I../wh -I../wstaden -DACEDB_GTK -DLINUX -c -o translate.o translate.c
In file included from translate.c:34:0:
../wh/iupac.h:36:3: warning: missing braces around initializer
../wh/iupac.h:36:3: warning: (near initialization for 'PAM120[0]')
../wh/iupac.h:129:3: warning: missing braces around initializer
../wh/iupac.h:129:3: warning: (near initialization for 'iupac[0]')
gcc -g -Wall  -DACEDB4 `../w3rdparty/include-config glib-2.0 gtk+-2.0`  -g -I.. -I../wh -I../wstaden -DACEDB_GTK -DLINUX -c -o dotter.o dotter.c
gcc -g -Wall  -DACEDB4 `../w3rdparty/include-config glib-2.0 gtk+-2.0`  -I.. -I../wh -I../wstaden -DACEDB_GTK -DLINUX -c -o dotterKarlin.o dotterKarlin.c
dotterKarlin.c: In function 'winsizeFromlambdak':
dotterKarlin.c:378:2: warning: array subscript has type 'char'
dotterKarlin.c:380:6: warning: array subscript has type 'char'
dotterKarlin.c:387:2: warning: array subscript has type 'char'
dotterKarlin.c:388:6: warning: array subscript has type 'char'
gcc -g -o blixem blixem.o blxmain.o blxparser.o dotter.o dotterKarlin.o \
	translate.o -L. -lgex -lgraph -lgd -lfree `../w3rdparty/acedb-config glib-2.0 gtk+-2.0` -L/usr/X11R6/lib `../w3rdparty/libs-config glib-2.0 gtk+-2.0` -lm -lcurses -lreadline
./libgraph.a(graphascii.o): In function `graphASCII':
/build/user-acedb_4.9.39+dfsg.01-1-amd64-PG7SGX/acedb-4.9.39+dfsg.01/bin.LINUX_4/graphascii.c:264: warning: the use of `tempnam' is dangerous, better use `mkstemp'
./libgraph.a(graphprint.o): In function `pdInit':
/build/user-acedb_4.9.39+dfsg.01-1-amd64-PG7SGX/acedb-4.9.39+dfsg.01/bin.LINUX_4/graphprint.c:1164: warning: the `getwd' function is dangerous and should not be used.
/usr/bin/ld: ./libgex.a(graphgdkremote.o): undefined reference to symbol 'XFree'
/usr/bin/ld: note: 'XFree' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [blixem] Error 1
make[2]: Leaving directory `/build/user-acedb_4.9.39+dfsg.01-1-amd64-PG7SGX/acedb-4.9.39+dfsg.01/bin.LINUX_4'
make[1]: *** [blixem] Error 2
make: *** [build-arch-stamp] Error 2
make[1]: Leaving directory `/build/user-acedb_4.9.39+dfsg.01-1-amd64-PG7SGX/acedb-4.9.39+dfsg.01'
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the Debian-med-packaging mailing list