Discussion:
Bug#915146: ioprocess: FTBFS with ld --as-needed
Logan Rosen
2018-12-01 02:27:02 UTC
Permalink
Package: ioprocess
Version: 0.15.1-3
Severity: normal
Tags: patch
User: ubuntu-***@lists.ubuntu.com
Usertags: origin-ubuntu disco ubuntu-patch

Dear Maintainer,

ioprocess fails to build from source when the ld linker is configured to
use the --as-needed option, which requires that libraries be in a
certain order. This is the default in Ubuntu.

While this isn't strictly necessary in Debian, it puts the libraries in the
right place and will let us avoid having to maintain a delta.

In Ubuntu, the attached patch was applied to achieve the following:

* Merge from Debian unstable. Remaining changes:
- Use LDADD instead of LDFLAGS to fix FTBFS with ld --as-needed.

Thanks for considering the patch.

Logan

-- System Information:
Debian Release: buster/sid
APT prefers cosmic-updates
APT policy: (500, 'cosmic-updates'), (500, 'cosmic-security'), (500, 'cosmic'), (400, 'cosmic-proposed'), (100, 'cosmic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-11-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Loading...