Bug#956227: lintian: false positive package-relation-with-self with foreign arch qualification

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#956227: lintian: false positive package-relation-with-self with foreign arch qualification

Andreas Beckmann-4
Package: lintian
Version: 2.64.0
Severity: normal

Hi,

I just tried to get rid of primus-libs-ia32 by changing the Recommends
in primus-libs from
  primus-libs-ia32 (= ${binary:Version}) [amd64],
to
  primus-libs:i386 (= ${binary:Version}) [amd64],
This nowadays works fine and I couldn't find any documentation saying
that arch-qualified Depends/Recommends/... are (still) forbidden. IIRC
they were not allowed(/working) at the introduction of multi-arch ...

The package looks like this:

 Package: primus-libs
 Source: primus
 Version: 0~20150328-11
 Architecture: amd64
 Maintainer: Debian NVIDIA Maintainers <[hidden email]>
 Installed-Size: 273
 Depends: libc6 (>= 2.17), libgcc-s1 (>= 3.0), libglapi-mesa (>= 20.0.4), libstdc++6 (>= 5.2), libx11-6, libgl1, libglx-mesa0
 Recommends: primus-libs:i386 (= 0~20150328-11), libprimus-vk1
 Section: utils
 Priority: optional
 Multi-Arch: same
 Homepage: https://github.com/amonakov/primus
 Description: shared libraries for primus

and Lintian emits

W: primus-libs: package-relation-with-self recommends: primus-libs:i386 (= 0~20150328-11)

which is not really a self-relation.

(Foreign-arch qualified Depends are probably not that useful, because
installation would require the foreign architecture to be enabled.
But Recommends do work fine if the foreign architecture is enabled and
do nothing otherwise.)


Andreas