Bug#488397: lintian: missing "use Dep;" in checks/changelog-file
Package: lintian
Version: 1.24.1
Severity: minor
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
While hunting down another problem [0] I ran lintian with -d and
found a missing "use" clause:
N: Running check: changelog-file ...
W: libnet-sftp-foreign-perl: changelog-not-compressed-with-max-compression changelog.gz
Undefined subroutine &Dep::versions_gt called at /usr/share/lintian/checks/changelog-file line 305.
internal error: cannot run changelog_file check on package libnet-sftp-foreign-perl
N: Skipping check of binary package libnet-sftp-foreign-perl
The following micro-patch fixes the problem:
- --- changelog-file.orig 2008-06-28 17:16:07.000000000 +0200
+++ changelog-file 2008-06-28 17:47:44.000000000 +0200
@@ -21,6 +21,7 @@
package Lintian::changelog_file;
use strict;
use Spelling;
+use Dep;
use Tags;
use Util;
Cheers,
gregor
[0]
The problem is the changelog-not-compressed-with-max-compression
shown above; it's caused by `file' (in collection/file-info) which
reports the file type of changelog.gz as "x86 boot sector".
- -- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.25.200806140318
Locale: LANG=C, LC_CTYPE=de_AT@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages lintian depends on:
ii binutils 2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii diffstat 1.45-2 produces graph of changes introduc
ii dpkg-dev 1.14.19 package building tools for Debian
ii file 4.24-3 Determines file type using "magic"
ii gettext 0.17-3 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libparse-debianchan 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin
ii man-db 2.5.2-1 on-line manual pager
ii perl [libdigest-sha 5.10.0-11 Larry Wall's Practical Extraction
lintian recommends no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkhmYBYACgkQOzKYnQDzz+R81gCffBi5ZhXlrPEhH+JFktLG+k3g
9lUAnApWEfGQYATs56iEDLP3Ku2bfWoD
=DQFc
-----END PGP SIGNATURE-----
Reply to: