Bug#454790: lintian: bogus malformed-override warnings or documentation wrong

2007-12-07 Thread Stefan Fritsch
Package: lintian
Version: 1.23.38
Severity: normal

I have a package with an override containing:

init.d-script-not-marked-as-conffile /etc/init.d/apache2

The new lintian gives the following error:

E: apache2-mpm-worker: malformed-override init.d-script-not-marked-as-conffile 
/etc/init.d/apache2
N:
N:   Lintian discovered an override entry with an invalid format. An
N:   override entry should have the format:
N:
N: [ ]: [  ...]
N:
N:   where is the package name, the optional parameter specifies the
N:   package type (binary is the default), is the tag to suppress, and is
N:   any specific information for the particular tag to suppress.
N:


1) The help message is incomplete.

2) file:///usr/share/doc/lintian/lintian.html/ch2.html#s2.4 says that the
package part is optional (including the colon) but lintian complains if it
is missing. Either lintian or the documentation needs to be fixed. I think
the package part being optional is good (I copy the same override file
into multiple packages), so lintian should be fixed.




-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils2.18.1~cvs20071027-1 The GNU assembler, linker and bina
ii  diffstat1.45-2   produces graph of changes introduc
ii  dpkg-dev1.14.12  package building tools for Debian
ii  file4.21-3   Determines file type using magic
ii  gettext 0.16.1-2 GNU Internationalization utilities
ii  intltool-debian 0.35.0+20060710.1Help i18n of RFC822 compliant conf
ii  libparse-debianchan 1.1.1-1  parse Debian changelogs and output
ii  man-db  2.5.0-4  on-line manual pager
ii  perl [libdigest-md5 5.8.8-12 Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#454790: lintian: bogus malformed-override warnings or documentation wrong

2007-12-07 Thread Russ Allbery
Stefan Fritsch [EMAIL PROTECTED] writes:

 Package: lintian
 Version: 1.23.38
 Severity: normal

 I have a package with an override containing:

 init.d-script-not-marked-as-conffile /etc/init.d/apache2

 The new lintian gives the following error:

[...]

 1) The help message is incomplete.

 2) file:///usr/share/doc/lintian/lintian.html/ch2.html#s2.4 says that
 the package part is optional (including the colon) but lintian complains
 if it is missing. Either lintian or the documentation needs to be
 fixed. I think the package part being optional is good (I copy the same
 override file into multiple packages), so lintian should be fixed.

Yeah, I misread the code when I was implementing this.  Will be fixed in
the next release.  Sorry about that.

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]