Package: pkgconf
Version: 1.8.1-1
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
In Debian bullseye, pkgconf would deduplicate -L options:
# foo.pc
libdir=/opt/lib
Name: foo
Description: The foo library
Version: 1.0.0
Requires.private: bar
Libs: -L${libdir} -lfoo
# bar.pc
libdir=/opt/lib
Name: bar
Description: The bar library
Version: 1.0.0
Libs: -L${libdir} -lbar
$ /bullseye/usr/bin/pkg-config --libs --static foo
-L/opt/lib -lfoo -lbar
Since Debian bookworm, this is no longer the case:
$ pkg-config --libs --static foo
-L/opt/lib -lfoo -L/opt/lib -lbar
The version of pkg-config in Debian bookworm appears to be missing:
commit 78d53ea012dfbaf397bf8e6907efac5b51abac56
Author: Kai Pastor <[email protected]>
Date: Fri Feb 23 15:18:08 2024 +0100
Revise serials, traversal, flattening
-- System Information:
Debian Release: 12.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-18-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages pkgconf depends on:
ii pkgconf-bin 1.8.1-1
pkgconf recommends no packages.
pkgconf suggests no packages.
-- no debconf information