Bug#945922: please move/copy systemd.pc out of the daemon package
Adam Borowski
kilobyte at angband.pl
Sun Dec 1 03:19:25 GMT 2019
Source: systemd
Version: 243-9
Severity: normal
Hi!
The pkg-config file for systemd is in the daemon package, rather than a -dev
package as one would expect. This means that the maintainer of any package
that uses this .pc has to either:
* make it unbuildable without a chroot
* drop systemd support
* reinvent what .pc would provide
In some cases the last option is reasonable but still hacky, like:
https://github.com/kilobyte/ndctl/commit/fce6efb8bf5f39b6a4de13b5961e56abba6bd4ef
but it can get nastier when recursive dependencies are involved.
Because of bin:systemd's special status, the usual ways of gracefully moving
a file would be obnoxious, I propose to, in one package, ship systemd.pc in
/usr/share/pkgconfig/, and in the other, in /usr/lib/$MULTIARCH/pkgconfig/
-- pkg-config's path search makes it DTRT, and, with a hard versioned
dependency, it can't possibly get out of sync.
Meow!
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-00165-gb4bade9f1b7d (SMP w/64 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
More information about the Pkg-systemd-maintainers
mailing list