[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#833608: lintian: version-substvar-for-external-package, but external package is versioned provides



Package: lintian
Version: 2.5.45
Severity: normal

In trying to simplify the APT build system, I changed the library package
libapt-pkg5.0 and libapt-inst2.0 to provide a versionless-name:

  Package: libapt-pkg5.0
  Provides: libapt-pkg (= ${binary:Version})

So I can depend on it like this:

  Package: libapt-pkg-dev
  Depends: libapt-pkg (= ${binary:Version})

This however leads to a version-substvar-for-external-package error
from lintian, as it does not understand that the package name is a
versioned provides.

We previously had a substvar that ${libapt-pkg-name}, but I wanted
to get rid of substvars as far as possible, as that involves non-declarative
stuff in rules.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'unstable-debug'), (500, 'testing'), (500, 'stable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lintian depends on:
ii  binutils                          2.26.1-1
ii  bzip2                             1.0.6-8
ii  diffstat                          1.61-1
ii  file                              1:5.28-4
ii  gettext                           0.19.8.1-1
ii  hardening-includes                2.8+nmu2
ii  intltool-debian                   0.35.0+20060710.4
ii  libapt-pkg-perl                   0.1.29+b5
ii  libarchive-zip-perl               1.58-1
ii  libclass-accessor-perl            0.34-1
ii  libclone-perl                     0.38-2
ii  libdata-alias-perl                1.20-1+b1
ii  libdpkg-perl                      1.18.10
ii  libemail-valid-perl               1.200-1
ii  libfile-basedir-perl              0.07-1
ii  libipc-run-perl                   0.94-1
ii  liblist-moreutils-perl            0.416-1
ii  libparse-debianchangelog-perl     1.2.0-10
ii  libperl5.22 [libdigest-sha-perl]  5.22.2-3
ii  libtext-levenshtein-perl          0.13-1
ii  libtimedate-perl                  2.3000-2
ii  liburi-perl                       1.71-1
ii  libyaml-libyaml-perl              0.41-6+b1
ii  man-db                            2.7.5-1
ii  patchutils                        0.3.4-1
ii  perl                              5.22.2-3
ii  t1utils                           1.39-2
ii  xz-utils                          5.1.1alpha+20120614-2.1

Versions of packages lintian recommends:
ii  dpkg                                 1.18.10
pn  libperlio-gzip-perl                  <none>
ii  perl                                 5.22.2-3
ii  perl-modules-5.22 [libautodie-perl]  5.22.2-3

Versions of packages lintian suggests:
ii  binutils-multiarch     2.26.1-1
ii  dpkg-dev               1.18.10
ii  libhtml-parser-perl    3.72-2
ii  libtext-template-perl  1.46-1

-- Configuration Files:
/etc/lintianrc changed [not included]

-- no debconf information

-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev

When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to (`inline'). Thank you.


Reply to: