Package: tenace Version: 0.11-1 Severity: wishlist Tags: patch User: [email protected] Usertags: origin-ubuntu oneiric ubuntu-patch User: [email protected] Usertags: ld-as-needed
the package tenace fails to build when using the linker flag --as-needed This is caused by the libraries are being placed before the objects using it. In that case the libraries are not registered as needed and is dropped. See the buildlogs in ubuntu oneiric which has this flag set by default: https://launchpad.net/ubuntu/+source/tenace/0.11-1 Attached patch changes both Makefile.in and Makefile.am although only Makefile.in patching is needed currently. If the packaging is changed to regenerate the autotools files the patching of Makefile.in can be dropped.
Description: fix build with --as-needed libraries must be after the objects needing the symbols But-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/tenace/+bug/803203 Author: Julian Taylor <[email protected]> Index: tenace-0.11/src/Makefile.am =================================================================== --- tenace-0.11.orig/src/Makefile.am 2011-06-29 18:44:17.776859995 +0200 +++ tenace-0.11/src/Makefile.am 2011-06-29 18:44:27.816859999 +0200 @@ -23,7 +23,7 @@ window_misc.c window_misc.h \ window_play.c window_play.h -tenace_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lgomp -ldds ../handdisplay/hand_display.o ../lib/libgnu.la +tenace_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -ldds ../handdisplay/hand_display.o ../lib/libgnu.la -lgomp tenace_LDFLAGS = -export-dynamic EXTRA_DIST = unused.c Index: tenace-0.11/src/Makefile.in =================================================================== --- tenace-0.11.orig/src/Makefile.in 2011-06-29 18:44:15.096859995 +0200 +++ tenace-0.11/src/Makefile.in 2011-06-29 18:44:35.086860001 +0200 @@ -368,7 +368,7 @@ window_misc.c window_misc.h \ window_play.c window_play.h -tenace_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lgomp -ldds ../handdisplay/hand_display.o ../lib/libgnu.la +tenace_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -ldds ../handdisplay/hand_display.o ../lib/libgnu.la -lgomp tenace_LDFLAGS = -export-dynamic EXTRA_DIST = unused.c all: all-am
signature.asc
Description: OpenPGP digital signature

