On Sun, 01 Dec 2019 04:19:25 +0100 Adam Borowski <kilob...@angband.pl> wrote:
> > 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. > I'm not sure what you mean by "special status" and why systemd.pc file should be moved to an other package. The bin:systemd package is not switching the initsystem of the machine to systemd, that's systemd-sysv.