Bug#657402: lintian: The debian-changelog-line-too-long tag counts wrong by one
Package: lintian
Version: 2.5.4
Severity: wishlist
Lintian is currntly reporting debian-changelog-line-too-long with a line
which is off-by-one. For example, having an oversized line 42 causes
Lintian to warn about line 41 instead.
This what vim thinks that line 40-42 would be∴
40 * Changes in the default configuration (not specific modules):
41 + Drop NameVirtualHost entirely. It is deprecated
42 + Replace Allow/Deny directives in the default configuration by by using the
Talking to Niels, he told me the reason would be, that the "the module
that parses the dch strips out the line we do not read the "raw" file,
but the last entry and it is the 41st line in that entry (which happens
to be the 42nd line in the file). presumbly you could add empty lines
before the initial "$src ($version)...." line and lintian would still
say 41 but vim would say 42 + count($empty_lines)"
(filed on my outdated desktop workstation, thus you can mostly ignore
versions below)
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.22-1
ii bzip2 1.0.5-7
ii diffstat 1.54-1
ii file 5.09-2
ii gettext 0.18.1.1-5
ii intltool-debian 0.35.0+20060710.1
ii libapt-pkg-perl 0.1.25+b1
ii libclass-accessor-perl 0.34-1
ii libdpkg-perl 1.16.1.1
ii libemail-valid-perl 0.185-1
ii libipc-run-perl 0.90-1
ii libparse-debianchangelog-perl 1.2.0-1
ii libtimedate-perl 1.2000-1
ii liburi-perl 1.59-1
ii locales 2.13-21
ii man-db 2.6.0.2-3
ii patchutils 0.3.2-1
ii perl [libdigest-sha-perl] 5.14.2-5
ii unzip 6.0-5
lintian recommends no packages.
Versions of packages lintian suggests:
ii binutils-multiarch <none>
ii dpkg-dev 1.16.1.1
ii libhtml-parser-perl 3.69-1+b1
ii libtext-template-perl 1.45-2
ii man-db 2.6.0.2-3
ii xz-utils 5.1.1alpha+20110809-3
-- no debconf information
Reply to: