Bug#723886: Don't flag pkg-config-multi-arch-wrong-dir reports as error
On Fri, Sep 20, 2013 at 10:51:57PM +0200, Michael Biebl wrote:
=======================================================================
E: libgmime-2.6-dev: pkg-config-multi-arch-wrong-dir usr/lib/pkgconfig/gmime-2.6.pc
My gut reaction was that the tag shouldn't have been emitted for this
package at all. If the file was in /usr/share, or the package was
arch:all, or the package was m-a:same, then yes; but neither was the
case.
But then I realized that if a .pc file is directly in /usr/lib then
pkg-config has no way of knowing which architecture this .pc is for.
So I wonder whether Lintian should suggest to move all .pc files to
/usr/lib/<triplet>/, regardless of whether they hardcode
architecture-specific paths or not. Contrary to what was said in
#722609, it should normally be okay to do that even when the rest of the
library lives directly in /usr/lib/.
See also bug #631275.
--
Jakub Wilk
Reply to: