[Debian-med-packaging] Bug#889506: last-align: Please make build compatible with -Wl, --as-needed
Steve Langasek
steve.langasek at canonical.com
Sat Feb 3 22:21:42 UTC 2018
Package: last-align
Version: 885-1
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch
Dear maintainers,
The latest version of last-align has failed to build in Ubuntu, because it
depends on libpthread but debian/rules passes -lpthread in a way that is
incompatible with -Wl,--as-needed, which is a default linker flag in Ubuntu.
The attach patch, which is more strictly correct, fixes the build failure in
Ubuntu. Please consider applying it in Debian.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
diff -Nru last-align-885/debian/rules last-align-885/debian/rules
--- last-align-885/debian/rules 2017-10-15 06:06:40.000000000 -0700
+++ last-align-885/debian/rules 2018-02-03 14:03:28.000000000 -0800
@@ -16,7 +16,7 @@
# -Wconversion
# -fomit-frame-pointer ?
-LDFLAGS += -lpthread
+LDFLAGS += -pthread
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
More information about the Debian-med-packaging
mailing list