Bug#833608: lintian: version-substvar-for-external-package, but external package is versioned provides
[Forwarding to #833608 after "unarchive" & "found"...] - Original message - From: Ximin Luo To: Chris Lamb , 833...@bugs.debian.org Cc: Subject: Re: lintian: version-substvar-for-external-package, but external package is versioned provides Date: Monday, 25 March 2019 10:37 PM Control: reopen -1 Unfortunately the fix doesn't work, and lintian is still reporting these errors for rust packages, e.g: https://lintian.debian.org/maintainer/pkg-rust-maintain...@alioth-lists.debian.net.html#rust-goblin librust-goblin+default-dev -> librust-goblin+archive-dev librust-goblin+default-dev -> librust-goblin+elf32-dev librust-goblin+default-dev -> librust-goblin+elf64-dev librust-goblin+default-dev -> librust-goblin+endian-fd-dev librust-goblin+mach32-dev -> librust-goblin+endian-fd-dev librust-goblin+mach64-dev -> librust-goblin+endian-fd-dev librust-goblin+pe32-dev -> librust-goblin+endian-fd-dev librust-goblin+pe64-dev -> librust-goblin+endian-fd-dev $ aptitude show '~erust-goblin ~rnative' | grep 'Package\|Provides' | manual formatting Package: librust-goblin+pe32-dev Provides: librust-goblin-0+pe32-dev (= 0.0.19-1), librust-goblin-0.0+pe32-dev (= 0.0.19-1), librust-goblin-0.0.19+pe32-dev (= 0.0.19-1) Package: librust-goblin+mach64-dev Provides: librust-goblin-0+mach64-dev (= 0.0.19-1), librust-goblin-0.0+mach64-dev (= 0.0.19-1), librust-goblin-0.0.19+mach64-dev (= 0.0.19-1) Package: librust-goblin+alloc-dev Provides: librust-goblin+archive-dev (= 0.0.19-1), librust-goblin+endian-fd-dev (= 0.0.19-1), librust-goblin-0+alloc-dev (= 0.0.19-1), librust-goblin-0+archive-dev (= 0.0.19-1), librust-goblin-0+endian-fd-dev (= 0.0.19-1), librust-goblin-0.0+alloc-dev (= 0.0.19-1), librust-goblin-0.0+archive-dev (= 0.0.19-1), librust-goblin-0.0+endian-fd-dev (= 0.0.19-1), librust-goblin-0.0.19+alloc-dev (= 0.0.19-1), librust-goblin-0.0.19+archive-dev (= 0.0.19-1), librust-goblin-0.0.19+endian-fd-dev (= 0.0.19-1) Package: librust-goblin+mach32-dev Provides: librust-goblin-0+mach32-dev (= 0.0.19-1), librust-goblin-0.0+mach32-dev (= 0.0.19-1), librust-goblin-0.0.19+mach32-dev (= 0.0.19-1) Package: librust-goblin-dev Provides: librust-goblin+elf32-dev (= 0.0.19-1), librust-goblin+elf64-dev (= 0.0.19-1), librust-goblin-0+elf32-dev (= 0.0.19-1), librust-goblin-0+elf64-dev (= 0.0.19-1), librust-goblin-0-dev (= 0.0.19-1), librust-goblin-0.0+elf32-dev (= 0.0.19-1), librust-goblin-0.0+elf64-dev (= 0.0.19-1), librust-goblin-0.0-dev (= 0.0.19-1), librust-goblin-0.0.19+elf32-dev (= 0.0.19-1), librust-goblin-0.0.19+elf64-dev (= 0.0.19-1), librust-goblin-0.0.19-dev (= 0.0.19-1) Package: librust-goblin+log-dev Provides: librust-goblin-0+log-dev (= 0.0.19-1), librust-goblin-0.0+log-dev (= 0.0.19-1), librust-goblin-0.0.19+log-dev (= 0.0.19-1) Package: librust-goblin+pe64-dev Provides: librust-goblin-0+pe64-dev (= 0.0.19-1), librust-goblin-0.0+pe64-dev (= 0.0.19-1), librust-goblin-0.0.19+pe64-dev (= 0.0.19-1) Package: librust-goblin+default-dev Provides: librust-goblin-0+default-dev (= 0.0.19-1), librust-goblin-0.0+default-dev (= 0.0.19-1), librust-goblin-0.0.19+default-dev (= 0.0.19-1) Package: librust-goblin+std-dev Provides: librust-goblin-0+std-dev (= 0.0.19-1), librust-goblin-0.0+std-dev (= 0.0.19-1), librust-goblin-0.0.19+std-dev (= 0.0.19-1) Chris Lamb: > tags 833608 + pending > thanks > > Thanks all. Fixed in Git, pending upload: > > > https://salsa.debian.org/lintian/lintian/commit/83c2c79535714c8457697ea567aec645db0fdc27 > > checks/version-substvars.pm| 4 > debian/changelog | 4 > t/tests/version-substvars-general/debian/debian/control.in | 2 ++ > 3 files changed, 10 insertions(+) > > > Regards, > -- GPG: ed25519/56034877E1F87C35 GPG: rsa4096/1318EFAC5FBBDBCE https://github.com/infinity0/pubkeys.git
Bug#833608: lintian: version-substvar-for-external-package, but external package is versioned provides
tags 833608 + pending thanks Thanks all. Fixed in Git, pending upload: https://salsa.debian.org/lintian/lintian/commit/83c2c79535714c8457697ea567aec645db0fdc27 checks/version-substvars.pm| 4 debian/changelog | 4 t/tests/version-substvars-general/debian/debian/control.in | 2 ++ 3 files changed, 10 insertions(+) Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#833608: lintian: version-substvar-for-external-package, but external package is versioned provides
Package: lintian Version: 2.5.89 Followup-For: Bug #833608 Hi, this is also affecting some debcargo-generated rust packages. Attached is an example. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (500, 'stable'), (300, 'unstable'), (100, 'experimental'), (1, 'experimental-debug') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages lintian depends on: ii binutils 2.30-20 ii bzip2 1.0.6-8.1 ii diffstat 1.61-1+b1 ii dpkg 1.19.0.5+b1 ii file 1:5.33-2 ii gettext0.19.8.1-6+b1 ii intltool-debian0.35.0+20060710.4 ii libapt-pkg-perl0.1.34 ii libarchive-zip-perl1.60-1 ii libclass-accessor-perl 0.51-1 ii libclone-perl 0.39-1 ii libdigest-sha-perl 6.02-1 ii libdpkg-perl 1.19.0.5 ii libemail-valid-perl1.202-1 ii libfile-basedir-perl 0.08-1 ii libipc-run-perl20180523.0-1 ii liblist-moreutils-perl 0.416-1+b3 ii libparse-debianchangelog-perl 1.2.0-12 ii libtext-levenshtein-perl 0.13-1 ii libtimedate-perl 2.3000-2 ii liburi-perl1.74-1 ii libxml-simple-perl 2.25-1 ii libyaml-libyaml-perl 0.69+repack-1 ii man-db 2.8.3-2 ii patchutils 0.3.4-2 ii perl [libdigest-sha-perl] 5.26.2-5 ii t1utils1.41-2 ii xz-utils 5.2.2-1.3 Versions of packages lintian recommends: ii libperlio-gzip-perl 0.19-1+b4 Versions of packages lintian suggests: ii binutils-multiarch 2.30-20 ii dpkg-dev 1.19.0.5 ii libhtml-parser-perl3.72-3+b2 ii libtext-template-perl 1.53-1 -- no debconf information rust-failure-0.1_0.1.1-1.debian.tar.xz Description: application/xz Format: 3.0 (quilt) Source: rust-failure-0.1 Binary: librust-failure-0.1+default-dev, librust-failure-0.1+failure-derive-dev, librust-failure-0.1-dev, librust-failure-0.1+backtrace-dev Architecture: all Version: 0.1.1-1 Maintainer: Rust Maintainers Uploaders: Ximin Luo Homepage: https://boats.gitlab.io/failure Standards-Version: 4.0.0 Vcs-Browser: https://salsa.debian.org/rust-team/debcargo-conf Vcs-Git: https://salsa.debian.org/rust-team/debcargo-conf.git Build-Depends: debhelper (>= 10), dh-cargo (>= 3), librust-backtrace-0.3+default-dev (>= 0.3.3) , librust-failure-derive-0.1+default-dev (>= 0.1.1) Package-List: librust-failure-0.1+backtrace-dev deb rust optional arch=all librust-failure-0.1+default-dev deb rust optional arch=all librust-failure-0.1+failure-derive-dev deb rust optional arch=all librust-failure-0.1-dev deb rust optional arch=all Checksums-Sha1: a7bbca497037a1e1ef66121f6b656d6458644750 26815 rust-failure-0.1_0.1.1.orig.tar.gz d53c95e03994dceafba99b3b657ecc9323fd04f1 2464 rust-failure-0.1_0.1.1-1.debian.tar.xz Checksums-Sha256: 9e43ce589c5acc0543d35cb268d28f31d4ff8a00a4fd4b9945bd07e09ffb7d5f 26815 rust-failure-0.1_0.1.1.orig.tar.gz 644e88306f553d796193ba2377e18716cb1e0832e5a3c3426829f16cb4610fc3 2464 rust-failure-0.1_0.1.1-1.debian.tar.xz Files: f5eaa58e8e50796d0c270ee1e9270bbb 26815 rust-failure-0.1_0.1.1.orig.tar.gz 750eaf53556f09ca9897a7567a379276 2464 rust-failure-0.1_0.1.1-1.debian.tar.xz rust-failure-0.1_0.1.1.orig.tar.gz Description: application/gzip
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-includes2.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-perl0.34-1 ii libclone-perl 0.38-2 ii libdata-alias-perl1.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-perl0.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-db2.7.5-1 ii patchutils0.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 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-perl3.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.