[Debian-med-packaging] Bug#849431: daligner: FTBFS with ld --as-needed
Logan Rosen
logan at ubuntu.com
Tue Dec 27 04:55:41 UTC 2016
Package: daligner
Version: 1.0+20160927-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu zesty ubuntu-patch
Dear Maintainer,
daligner 1.0+20160927-1 fails to build in Ubuntu because the lddflags.patch adds libraries
to the linker options (LDFLAGS) instead of where library flags should be placed, at the end
(in LDLIBS).
See https://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries for more
information.
In Ubuntu, the attached patch was applied to achieve the following:
* debian/patches/lddflags.patch: Update to put libs in 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: daligner_1.0+20160927-1ubuntu1.debdiff
Type: text/x-diff
Size: 973 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20161226/9a6a7605/attachment-0001.diff>
More information about the Debian-med-packaging
mailing list