Package: dazzdb Version: 1.0+20160930-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu zesty ubuntu-patch
Dear Maintainer, dazzdb 1.0+20160930-1 fails to build in Ubuntu because the compiler-flags.patch adds libraries to the linker options (LDFLAGS) instead of where library flags should be placed, at the end (in LDLIBS). In Ubuntu, the attached patch was applied to achieve the following: * debian/patches/compiler-flags.patch: Update to use LDLIBS instead of LDFLAGS, fixing FTBFS with ld --as-needed. Thanks for considering the patch. Logan Rosen -- System Information: Debian Release: stretch/sid APT prefers yakkety-updates APT policy: (500, 'yakkety-updates'), (500, 'yakkety-security'), (500, 'yakkety'), (100, 'yakkety-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.0-21-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -Nru dazzdb-1.0+20160930/debian/patches/compiler-flags.patch dazzdb-1.0+20160930/debian/patches/compiler-flags.patch --- dazzdb-1.0+20160930/debian/patches/compiler-flags.patch 2016-10-12 04:35:47.000000000 -0400 +++ dazzdb-1.0+20160930/debian/patches/compiler-flags.patch 2016-12-27 00:49:32.000000000 -0500 @@ -2,13 +2,13 @@ Author: Afif Elghraoui <a...@ghraoui.name> Forwarded: no Last-Update: 2015-09-13 ---- dazzdb.orig/Makefile -+++ dazzdb/Makefile +--- a/Makefile ++++ b/Makefile @@ -1,6 +1,7 @@ DEST_DIR = ~/bin CFLAGS += -O3 -Wall -Wextra -Wno-unused-result -fno-strict-aliasing -+LDFLAGS += -lm ++LDLIBS += -lm ALL = fasta2DB DB2fasta quiva2DB DB2quiva DBsplit DBdust Catrack DBshow DBstats DBrm simulator \ fasta2DAM DAM2fasta DBdump rangen diff -Nru dazzdb-1.0+20160930/debian/patches/rename-simulator.patch dazzdb-1.0+20160930/debian/patches/rename-simulator.patch --- dazzdb-1.0+20160930/debian/patches/rename-simulator.patch 2016-10-12 04:35:47.000000000 -0400 +++ dazzdb-1.0+20160930/debian/patches/rename-simulator.patch 2016-12-27 00:49:42.000000000 -0500 @@ -7,7 +7,7 @@ +++ dazzdb/Makefile @@ -3,7 +3,7 @@ CFLAGS += -O3 -Wall -Wextra -Wno-unused-result -fno-strict-aliasing - LDFLAGS += -lm + LDLIBS += -lm -ALL = fasta2DB DB2fasta quiva2DB DB2quiva DBsplit DBdust Catrack DBshow DBstats DBrm simulator \ +ALL = fasta2DB DB2fasta quiva2DB DB2quiva DBsplit DBdust Catrack DBshow DBstats DBrm dsimulator \