--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: lintian: false positive package-uses-deprecated-debhelper-compat-version with cdbs
- From: Jay Berkenbilt <qjb@debian.org>
- Date: Fri, 27 Jan 2006 22:25:09 -0500
- Message-id: <20060128032509.30132.50691.reportbug@soup.q.ql.org>
Package: lintian
Version: 1.23.15
Severity: normal
Tags: patch
If a package uses cdbs and includes debhelper.mk, then it is using a
correct debhelper compatibility version of 4. If you don't have a
debian/compat file that contains 4 (which cdbs will create
automatically, but may not be in the original sources), you will a
warning such as this one:
W: tiff source: package-uses-deprecated-debhelper-compat-version 1
I believe a sensible fix is to simply recognize that the correct
dhcompatvalue is 4 if cdbs is in use. The lintian debhelper check
already makes other assumptions based on cdbs. This one-line patch
should do the job. It has the unfortunate property of hard-coding the
number "4" as the current debhelper compat version in another place,
but that's easily rectified if desirable.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages lintian depends on:
ii binutils 2.16.1cvs20060117-1 The GNU assembler, linker and bina
ii diffstat 1.41-1 produces graph of changes introduc
ii dpkg-dev 1.13.11.1 package building tools for Debian
ii file 4.15-2 Determines file type using "magic"
ii gettext 0.14.5-2 GNU Internationalization utilities
ii intltool-debian 0.34.1+20050828 Help i18n of RFC822 compliant conf
ii libparse-debianchang 1.0-1 parse Debian changelogs and output
ii man-db 2.4.3-3 The on-line manual pager
ii perl [libdigest-md5- 5.8.7-10 Larry Wall's Practical Extraction
lintian recommends no packages.
-- no debconf information
--- checks/debhelper~ 2006-01-19 09:11:59.000000000 -0500
+++ checks/debhelper 2006-01-27 21:58:02.671089168 -0500
@@ -93,6 +93,7 @@
$seencommand = 1;
$needbuilddepends = 1;
$needtomodifyscripts = 1;
+ $needversiondepends = $dhcompatvalue = 4;
} elsif (/^\s*export\s+DH_COMPAT\s*=\s*(\d+)/) {
$needversiondepends = $1;
} elsif (/^\s*export\s+DH_COMPAT/) {
--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 1.23.16
We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive:
lintian_1.23.16.dsc
to pool/main/l/lintian/lintian_1.23.16.dsc
lintian_1.23.16.tar.gz
to pool/main/l/lintian/lintian_1.23.16.tar.gz
lintian_1.23.16_all.deb
to pool/main/l/lintian/lintian_1.23.16_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 350228@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jeroen van Wolffelaar <jeroen@wolffelaar.nl> (supplier of updated lintian package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 26 Mar 2006 15:38:37 +0200
Source: lintian
Binary: lintian
Architecture: source all
Version: 1.23.16
Distribution: unstable
Urgency: low
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
Description:
lintian - Debian package checker
Closes: 249435 322288 344269 344421 344998 347510 349272 349273 349614 349616 349792 350228 350653 351324 351624 352606 353294 353770 354890 357541 358523
Changes:
lintian (1.23.16) unstable; urgency=low
.
The "What's this Russ guy up to?" release
.
* checks/binaries{.desc,}:
+ [RA] Add a check for the new "Invalid operation" error from
objdump -T. Skip shared-lib-without-dependency-information for
files in /usr/lib/debug.
* checks/changelog-file:
+ [FL] Add line number to output of wrong-bug-number-in-closes.
Inspired by #349761 from Steinar H. Gunderson.
* checks/common_data.pm:
+ [FL] Add armeb to %non_standard_archs as requested by
Martin Michlmayr. (Closes: #350653)
* checks/debconf:
+ [RA] Packages that depend on dbconfig-common are allowed to have
config scripts without templates or an explicit debconf dependency.
Reported by Marcus Better. (Closes: #344421)
* checks/debconf.desc:
+ [RA] Clarify the necessary dependencies for packages using SETTITLE.
(Closes: #349616)
* checks/debhelper:
+ [RA] Recognize setting DH_COMPAT with := in addition to = in
debian/rules. (Closes: #349272)
+ [RA] CDBS sets DH_COMPAT to 4 but doesn't export it. It does create
debian/compat with that value if none was present. Reflect this
behavior to avoid spurious compat level warnings when using CDBS.
Based on a patch by Jay Berkenbilt. (Closes: #350228)
* checks/fields:
+ [RA] Allow a quilt build-dependency for arch-independent packages if
the quilt makefile rules are included. (Closes: #349273)
+ [RA] If clean depends on a rule that calls dh_clean rather than
calling it directly, still allow debhelper in Build-Depends for
arch-independent packages. Reported by Michael Stilkerich.
+ [JvW] Commented that Uploaders no longer will hit the multiline field
issue, updated testsuite accordingly
* checks/manpages:
+ [FL] Ignore more warnings ("cannot adjust line", "can't break
line") in non-English manpages. (Closes: #349792)
+ [RA] cd into the parent directory before checking man pages with man
so that .so inclusions are processed correctly. Based on a patch by
Nicolas François. (Closes: #349614)
* checks/menu-format:
+ [RA] Look for binaries in /usr/X11R6/bin, not /usr/bin/X11, per
Policy 11.8.7. Thanks, Matej Vela. (Closes: #354890)
* checks/menu-format.desc:
+ [RA] Use "menu manual" rather than "menu" for references to more
clearly distinguish from the Debian Menu Policy. (Closes: #347510)
* checks/po-debconf:
+ [RA] If there are template files in debian, assume the package uses
debconf; don't require a dependency or config script. Patch by
Thomas Huriaux. (Closes: #353294)
* checks/scripts:
+ [RA] Allow /tmp in variable settings. It's likely to be a false
positive. Reported by Frank Küster. (Closes: #344998)
+ [RA] Make the syntax checking of shell scripts more robust against
filenames containing shell metacharacters. Reported by Michael
Stilkerich.
+ [RA] Add fish and expectk to the list of valid interpreters.
(Closes: #351624, #353770)
+ [RA] /usr/bin/tcl is provided by tclx8.3, not tcl. Reported by
James R. Van Zandt. (Closes: #351324)
+ [RA] Allow more variations on leading magic to invoke some
interpreter rather than then shell. Bypass the ELF magic check for
scripts using magic that relies on having no leading #! line.
Reported by Frank Küster. (Closes: #344269)
+ [JvW] Add check against package suffering from debhelper bug #337664,
per Joey Hess, which had broken error detection (Closes: #358523)
* checks/shared-libs:
+ [JvW] Fix postinst-must-call-ldconfig to also get emitted when there is
no postinst at all, instead of just one lacking a ldconfig call
+ [JvW] Implement checks for "udeb:" lines in shlibs files
(Closes: #357541)
+ [JvW] Consider also the soname version for shlibs checking, preventing
some bogus 'duplicate' warnings, and actually throw a warning when
soname version doesn't match
+ [JvW] Added error when udeb postinst calls ldconfig, that must never
happen (thanks to Frans Pop for noticing, see #203056)
.
* debian/{control,copyright}:
+ [RA] Add Russ Allbery to Uploaders and copyright.
+ [JvW] Version dpkg-dev requirement to >= 1.13.17, for
unpack/unpack-srcpkg-l2
.
* frontends/lintian-info:
+ [RA] Avoid Perl uninitialized value warnings when given output that
looks like lintian messages without tags. (Closes: #352606)
.
* collection/objdump-info:
+ [RA] Pass "Invalid operation" errors from objdump -T on to the check
scripts instead of failing. (Closes: #249435)
.
* man/lintian.1:
+ [RA] Add references to dh_make, debhelper, dpkg-buildpackage, and
linda in new reference sections. (Closes: #322288)
* man/{lintian.1,lintian-info.1}:
+ [RA] Left-justify and disable hyphenation for readability.
.
* unpack/unpack-srcpkg-l2:
+ [JvW] Use -q with dpkg-source to surpress warnings about unsigned source
packages. Requires dpkg-dev 1.13.17
Files:
a8af61cb26ebdf096bf5fb370adf4444 867 devel optional lintian_1.23.16.dsc
d823231fc846a486ec767203d7305862 273482 devel optional lintian_1.23.16.tar.gz
c456a02e9c401c59cd4793bdc7b755c2 234118 devel optional lintian_1.23.16_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Signed by Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
iD8DBQFEJqEll2uISwgTVp8RAjENAKCKtXb9zS9UQy/w4iBJHu4f51yMLACgkKZi
m6nRMEQo22hR9t288GmkT+s=
=SpzL
-----END PGP SIGNATURE-----
--- End Message ---