On 30/10/16 06:51, Helmut Grohne wrote: > Package: pkgconf > Version: 0.9.12-1 > User: [email protected] > Usertags: rebootstrap > > I noticed that pkgconf provides and diverts pkg-config without supplying > its full interface. Notable differences: > 1. pkg-config ensures that /usr/bin/$DEB_HOST_GNU_TYPE-pkg-config works > for every architecture added via dpkg --add-architecture. > 2. pkg-config is Multi-Arch: foreign while pkgconf is not (and cannot > due to 1). > > Due to these differences, cross builds involving pkg-config fail when > their pkg-config dependency is satisfied with pkgconf. The typical > symptoms are that /usr/bin/$DEB_HOST_GNU_TYPE-pkg-config cannot be found > and dependencies detected as missing.
Oh, it seems the packaging of pkg-config has changed significantly since I last time looked at it. > I'm unsure how to proceed here. One solution could be depending on > pkg-config to have it instate those symlinks. That seems strange when > pkgconf is supposed to replace pkg-config. I think I will synchronise the maintainer scripts with what pkg-config provides. The diversion was in place due to some packages declaring versioned Depends on pkg-config, and versioned Provides didn't exist back then. > Then, it could add its own management of the symlinks. pkg-config uses > /usr/share/pkg-config-dpkghook to create, update and remove them. It is > not clear to me what happens when two packages manage them, so possibly > pkgconf may have to declare Breaks: pkg-config. > > Given that I have no good idea on how to resolve the issue, I am merely > reporting it and hoping that others chime in. I should probably just do the same thing as pkg-config does, and declare Breaks against it. -- Cheers, Andrew

