Control: severity -1 serious Control: tags -1 patch Bumping the severity, since raising false lintian errors for nearly every -dev package in the archive looks rather unacceptable.
On 2017-12-18 07:13 +0100, Andreas Beckmann wrote: > Followup-For: Bug #884655 > > Same problem with multiarch-foreign-pkgconfig: > > E: libpocl-dev: multiarch-foreign-pkgconfig > usr/lib/x86_64-linux-gnu/pkgconfig/pocl.pc > > nothing foreign here, too. Indeed. The checks in question are always performed, whether the package is actually "Multi-Arch: foreign" or not. Attached is a patch which fixes the problem for me. Cheers, Sven
>From 79d1e25c640b736814cab0b5f2f03251902a1b82 Mon Sep 17 00:00:00 2001 From: Sven Joachim <svenj...@gmx.de> Date: Mon, 18 Dec 2017 08:09:44 +0100 Subject: [PATCH] Avoid raising false multiarch-foreign-* errors Only run those checks on packages which are actually "Multi-Arch: foreign". --- checks/files.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/checks/files.pm b/checks/files.pm index f275f13b4..b30c86209 100644 --- a/checks/files.pm +++ b/checks/files.pm @@ -1129,6 +1129,7 @@ sub run { } if (defined($multiarch_dir) + and $multiarch eq 'foreign' and $fname =~ m,^usr/lib/\Q$multiarch_dir\E/(.*)$,) { my $tail = $1; tag 'multiarch-foreign-cmake-file', $file -- 2.15.1