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

Bug#588156: lintian: [checks/debhelper] logic doesn't work for dh >= 7.9.1 and compat level 8



Package: lintian
Version: 2.4.2
Severity: minor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I just got a "package-lacks-versioned-build-depends-on-debhelper"
warning for a package with "8" in debian/compat and a build
dependency on "debhelper (>= 7.9.1)".

It seems that Joey has broken lintian's logic [0] by introducing a
new compatibility level without bumping debhelper's major version :)

/*
The info for the tag might also be slightly misleading:
"The package doesn't declare a versioned build dependency on
debhelper." should probably be something like "doesn't declare any or
a high enough versioned dependency ..." (converted to proper English
of course).
*/


Cheers,
gregor


[0]
my $needed = "debhelper (>= $level)";
if (not $bdepends->implies($needed)) {
	tag "package-lacks-versioned-build-depends-on-debhelper", $level;
}

- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.201006021724
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils               2.20.1-11         The GNU assembler, linker and bina
ii  diffstat               1.47-1            produces graph of changes introduc
ii  dpkg-dev               1.15.7.2          Debian package development tools
ii  file                   5.04-2            Determines file type using "magic"
ii  gettext                0.18.1.1-1        GNU Internationalization utilities
ii  intltool-debian        0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  libapt-pkg-perl        0.1.24            Perl interface to libapt-pkg
ii  libclass-accessor-perl 0.34-1            Perl module that automatically gen
ii  libipc-run-perl        0.89-1            Perl module for running processes
ii  libparse-debianchangel 1.1.1-2           parse Debian changelogs and output
ii  libtimedate-perl       1.2000-1          collection of modules to manipulat
ii  liburi-perl            1.54-1            module to manipulate and access UR
ii  locales                2.11.2-2          Embedded GNU C Library: National L
ii  man-db                 2.5.7-3           on-line manual pager
ii  perl [libdigest-sha-pe 5.10.1-13         Larry Wall's Practical Extraction 

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch            2.20.1-11  Binary utilities that support mult
ii  libtext-template-perl         1.45-1     Text::Template perl module
ii  man-db                        2.5.7-3    on-line manual pager

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJMMgIgAAoJELs6aAGGSaoGBWYP/ieb5cEk/WDn7QCbcLa4vY8f
ZjC0layvFJmDCmDUtNM5Cvf0zSaepuRIyS+Flk5Ud8CzLkK6Fi2DZs+fuYTSW6CB
esZVZDztda3qIfss+oaXJHEUnyfIO2Q7D0wJbwKN9WipgKZLzRa/noTC4ovstqzx
PGkOedUHtpECQwmvFLF0+Xfq3BdMVLODVSZymhneb3tWbbBa02zXRpGfCCXNzO1W
zKh/fRafcdxWPeBFLGrA6hBvBmF2/o8MmI7WlQlMHkbcusTzuJj6kdVEkAWbviE+
lYTRQaz6JCSaIZLwHFALKgVLQyYGI3y3zQlWulyM/BAyzDMgbyJ0IGm2MLURaBfd
Ba4mx51fyYTlj4vAjIELMxfiFmKAenT3pu6G6mKY328evLHB0TrBo/3VA2NRao5K
Yu85NWTtngAybj8Qx6UFVnxz0IU38usWzXRXEt2h+3GAEOlr9NruwsP7stEqgxBx
6pJphb4qrsIsCyjuSudTlkBkEN5NN5XC3zKUP1PNrOzGCPPMX9OYm0yQgkt/lYC4
arQO0iUwHrnniucL7VUonGZXLZqA2d82dOlhMx0zM6F7K2hZnDXOhNj8xKIolGSd
ecjo/xhrli0ChnaVpT/oRyWrkbIG8sPn6hq3wTClv5EpUjMqUE4xtFYSQWSRTd5J
iTIamMVIUoW7f0yGAmaH
=+g4y
-----END PGP SIGNATURE-----



Reply to: