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

Bug#360711: lintian: [lintian-info] improve diagnostics of package-uses-deprecated-debhelper-compat-version



Package: lintian
Version: 1.23.16
Severity: minor

An example run:

# echo "W: foo source: package-uses-deprecated-debhelper-compat-version 1" | lintian-info

    W: edb source: package-uses-deprecated-debhelper-compat-version 1
    N:
    N:   The debhelper compatibility version used by this package (either
    N:   declared in debian/compat or in debian/rules) is marked as deprecated
    N:   by the debhelper developer. You should really consider using a newer
    N:   compatibility version.
    N:

The problem is that neither debian/compat exists or DH_COMPAT is defined
int debian/rules. Please consider using message like:

    N:   The debhelper compatibility version used by this package is
    N:   marked as deprecated by the debhelper developer. You should
    N:   really consider using a newer compatibility version. Possible
    N:   causes: 1) content of debian/compat 2) DH_COMPAT is defined in
    N:   debian/rules 3) debian/control::Buil-Depends does not include
    N:   version number for debhelper, like (>= 4.0.0)

It was a little difficult to find out, that the problem lied in
debian/control::Buil-Depends

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)

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.17             package building tools for Debian
ii  file                 4.17-1              Determines file type using "magic"
ii  gettext              0.14.5-2            GNU Internationalization utilities
ii  intltool-debian      0.34.2+20060322     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.8-3             Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information



Reply to: