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

Bug#545430: Better warning/error when compat contains spaces.



Package: lintian
Version: 2.2.14
Severity: minor

Hi

Looking at junitperf's lintian warnings/errors[1] I noticed that lintian said
"debhelper-compat-not-a-number", followed by deprecated compat version 4. It 
turns out that the compat file had a trailing whitespace, which triggered this.

I think lintian should either have a separate tag for this or at least have the
tag info updated to include that whitespaces triggers this error. 

Alternatively lintian should simply ignore whitespaces in compat during this test
(this is what it does on the deprecated compat version test anyway).

~Niels

[1] http://lintian.debian.org/maintainer/pkg-java-maintainers@lists.alioth.debian.org.html#junitperf

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

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils              2.19.51.20090723-1 The GNU assembler, linker and bina
ii  diffstat              1.47-1             produces graph of changes introduc
ii  dpkg-dev              1.15.3.1           Debian package development tools
ii  file                  5.03-1             Determines file type using "magic"
ii  gettext               0.17-7             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  libipc-run-perl       0.84-1             Perl module for running processes
ii  libparse-debianchange 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.37+dfsg-1        Manipulates and accesses URI strin
ii  man-db                2.5.6-1            on-line manual pager
ii  perl [libdigest-sha-p 5.10.0-25          Larry Wall's Practical Extraction 

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch    2.19.51.20090723-1 Binary utilities that support mult
pn  libtext-template-perl <none>             (no description available)
ii  man-db                2.5.6-1            on-line manual pager

-- no debconf information



Reply to: