Bug#758529: files-pkgconfig has hardcoded arch in tags
Package: lintian
Version: 2.5.25
User: autopkgtest-devel@lists.alioth.debian.org
Usertags: autopkgtest
Hello,
files-pkgconfig has this hardcoded arch in its test tags file:
E: pkgconfig-any: pkg-config-multi-arch-wrong-dir usr/lib/x86_64-linux-gnu/pkgconfig/arch-cross.pc full text contains architecture specific dir ARCH
That means that the test only works when running on amd64 (probably
your development architecture). But this causes build failures on i386
(like [1]), and the same when running them in autopkgtest:
| Running files-pkgconfig 1.0... building... testing... FAILED
| --- t/tests/files-pkgconfig/tags 2014-07-05 19:29:21.000000000 +0000
| +++ /build/buildd/lintian-2.5.25ubuntu1/debian/test-out/tests/files-pkgconfig/tags.files-pkgconfig 2014-08-18 11:04:58.615996526 +0000
| @@ -21,4 +21,4 @@
| E: pkgconfig-all: pkg-config-bad-directive usr/lib/pkgconfig/indep-really-bad.pc @SOME_FLAGS@
| E: pkgconfig-all: pkg-config-bad-directive usr/lib/pkgconfig/indep-really-bad.pc Cflags: -I/usr/local/somewhere -D__linux__ -D__x86_64__ -D__OSVERSION__=2 -g -D_FORTIFY_SOURCE=2 -O2 -Wall -fvisibility=hidden -fPIE -fstack-protector --param=ssp-buffer-size=2 -frounding-math -lmath
| E: pkgconfig-all: pkg-config-multi-arch-wrong-dir usr/lib/pkgconfig/indep-include-arch.pc full text contains architecture specific dir ARCH
| -E: pkgconfig-any: pkg-config-multi-arch-wrong-dir usr/lib/x86_64-linux-gnu/pkgconfig/arch-cross.pc full text contains architecture specific dir ARCH
| +E: pkgconfig-any: pkg-config-multi-arch-wrong-dir usr/lib/i386-linux-gnu/pkgconfig/arch-cross.pc full text contains architecture specific dir ARCH
So I suppose the tags file needs to be generated dynamically, or the
matching needs to be done with regexps?
Thanks for considering,
Martin
[1] https://launchpad.net/ubuntu/+source/lintian/2.5.25ubuntu1/+build/6276689
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
Reply to: