Re: Bug#377392: Bug#450432: ... and even more bugs like this?

2007-11-23 Thread Ivan Shmakov
Ivan Shmakov [EMAIL PROTECTED] writes: David Weinehall [EMAIL PROTECTED] writes: A helper script, `lintian-man', could be introduced to hide all the hackery, and to provide a way for the developer to reproduce the problem. Then, Tag: may be changed to, e. g.,

Re: Bug#377392: Bug#450432: ... and even more bugs like this?

2007-11-23 Thread Ivan Shmakov
David Weinehall [EMAIL PROTECTED] writes: A helper script, `lintian-man', could be introduced to hide all the hackery, and to provide a way for the developer to reproduce the problem. Then, Tag: may be changed to, e. g., `manpage-has-messages-from-lintian-man'. (Or should this script

Re: Bug#377392: Bug#450432: ... and even more bugs like this?

2007-11-21 Thread Ivan Shmakov
Colin Watson [EMAIL PROTECTED] writes: In a recent thread in debian-devel, it was suggested that lintian could call man(1) in such a way that the groff(1), called by `man', will emit warnings for every undefined macro, which is useful in catching the bugs like this: .B foo . Note:

Re: Bug#377392: Bug#450432: ... and even more bugs like this?

2007-11-21 Thread David Weinehall
On Wed, Nov 21, 2007 at 09:33:49PM +0600, Ivan Shmakov wrote: [snip] A helper script, `lintian-man', could be introduced to hide all the hackery, and to provide a way for the developer to reproduce the problem. Then, Tag: may be changed to, e. g.,

Re: Bug#450432: ... and even more bugs like this?

2007-11-19 Thread brian m. carlson
On Mon, Nov 19, 2007 at 10:23:36AM +0600, Ivan Shmakov wrote: Colin Watson [EMAIL PROTECTED] writes: (Unfortunately, you might have to parse groff's warning text in order to ignore particular cases.) I'm not familiar with Groff at all... Does it allow later `.de' to override

Re: Bug#377392: Bug#450432: ... and even more bugs like this?

2007-11-18 Thread Colin Watson
On Sat, Nov 17, 2007 at 06:50:18PM -0800, Russ Allbery wrote: Colin Watson [EMAIL PROTECTED] writes: W: dpkg-dev: manpage-has-errors-from-man usr/share/man/man1/dpkg-architecture.1.gz 104: warning: `C`' not defined I'm not entirely sure what all this line noise is trying to achieve.

Re: Bug#450432: ... and even more bugs like this?

2007-11-18 Thread Ivan Shmakov
Colin Watson [EMAIL PROTECTED] writes: [...] W: libdirectfb-dev: manpage-has-errors-from-man usr/share/man/man1/directfb-config.1.gz 24: warning: `l' not defined W: dvidvi: manpage-has-errors-from-man usr/share/man/man1/a5booklet.1.gz 9: warning: `IX' not defined The lines like

Re: Bug#377392: Bug#450432: ... and even more bugs like this?

2007-11-17 Thread Colin Watson
On Fri, Nov 16, 2007 at 12:32:26AM +0600, Ivan Shmakov wrote: In a recent thread in debian-devel, it was suggested that lintian could call man(1) in such a way that the groff(1), called by `man', will emit warnings for every undefined macro, which is useful in catching

Re: Bug#450432: ... and even more bugs like this?

2007-11-17 Thread Colin Watson
On Fri, Nov 16, 2007 at 12:05:39AM +0600, Ivan Shmakov wrote: $ lintian --root=$PWD/../lintian-root-2007-11-15 \ *.deb \ | grep -F has-errors W: libdirectfb-dev: manpage-has-errors-from-man usr/share/man/man1/directfb-config.1.gz 24: warning: `l' not defined W: dvidvi:

Re: Bug#377392: Bug#450432: ... and even more bugs like this?

2007-11-17 Thread Russ Allbery
Colin Watson [EMAIL PROTECTED] writes: .IX is probably from pod2man, which does: .\ If the F register is turned on, we'll generate index entries on stderr for .\ titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index .\ entries marked with X in POD. Of course, you'll

Re: Bug#450432: ... and even more bugs like this?

2007-11-15 Thread Ivan Shmakov
IS == Ivan Shmakov [EMAIL PROTECTED] writes: CW == Colin Watson [EMAIL PROTECTED] writes: [...] The -wmac option to groff will emit a warning for this mistake. [...] It's not especially easy right now to make Lintian pass this, since man doesn't expose an interface to add extra options

Bug#377392: Bug#450432: ... and even more bugs like this?

2007-11-15 Thread Ivan Shmakov
In a recent thread in debian-devel, it was suggested that lintian could call man(1) in such a way that the groff(1), called by `man', will emit warnings for every undefined macro, which is useful in catching the bugs like this: .B foo . Note: ... Below is

Re: Bug#450432: ... and even more bugs like this?

2007-11-14 Thread Ivan Shmakov
CW == Colin Watson [EMAIL PROTECTED] writes: What I'm expected to do, then? (With respect to Debian BTS.) I believe, start filing multiple bug reports would be a bad idea (for me now.) May I suggest an explicit warning to be generated by Groff on unknown ``command'', so that

Re: Bug#450432: ... and even more bugs like this?

2007-11-13 Thread Ivan Shmakov
Russ Allbery [EMAIL PROTECTED] writes: Ivan Shmakov [EMAIL PROTECTED] writes: Russ Allbery [EMAIL PROTECTED] writes: or with the period escaped. ... And this is the thing I haven't found how to do. Could you please show me that spell? \. Note: \ is a null token that can be put at

Re: Bug#450432: ... and even more bugs like this?

2007-11-13 Thread Nicolas François
On Tue, Nov 13, 2007 at 01:44:23AM +0600, Ivan Shmakov wrote: Last week I've reported a bug in ifconfig(8) (as of net-tools 1.60-17.) The problem is in that the ifconfig.8 contains the following: --cut-- .B ifconfig eth0:0 down . Note: for every scope (i.e. same net with

Re: Bug#450432: ... and even more bugs like this?

2007-11-13 Thread Russ Allbery
Ivan Shmakov [EMAIL PROTECTED] writes: Russ Allbery [EMAIL PROTECTED] writes: No, lintian doesn't file bugs. Someone still has to go file the bugs, even if lintian is used to do the check. Lintian documentation reads: --cut: /usr/share/doc/lintian/lintian.html/ch1.html-- 3.

Re: Bug#450432: ... and even more bugs like this?

2007-11-13 Thread Colin Watson
On Tue, Nov 13, 2007 at 01:44:23AM +0600, Ivan Shmakov wrote: What I'm expected to do, then? (With respect to Debian BTS.) I believe, start filing multiple bug reports would be a bad idea (for me now.) May I suggest an explicit warning to be generated by Groff on

Bug#450432: ... and even more bugs like this?

2007-11-12 Thread Ivan Shmakov
Last week I've reported a bug in ifconfig(8) (as of net-tools 1.60-17.) The problem is in that the ifconfig.8 contains the following: --cut-- .B ifconfig eth0:0 down . Note: for every scope (i.e. same net with address/netmask combination) all aliases are deleted, if you

Re: Bug#450432: ... and even more bugs like this?

2007-11-12 Thread Thomas Viehmann
Hi Ivan, great! Ivan Shmakov wrote: $ bash check-man-periods.sh /usr/share/man/man1/*.gz Debian has lintian and linda to check for machine-detectable errors like this one. Maybe you could wirte the same test in perl/python and submit it as a whishlist item to the BTS for one of those packages.

Re: Bug#450432: ... and even more bugs like this?

2007-11-12 Thread Russ Allbery
Ivan Shmakov [EMAIL PROTECTED] writes: Last week I've reported a bug in ifconfig(8) (as of net-tools 1.60-17.) The problem is in that the ifconfig.8 contains the following: --cut-- .B ifconfig eth0:0 down . Note: for every scope (i.e. same net with address/netmask

Re: Bug#450432: ... and even more bugs like this?

2007-11-12 Thread Ivan Shmakov
Russ Allbery [EMAIL PROTECTED] writes: [...] --cut-- .B ifconfig eth0:0 down . Note: for every scope (i.e. same net with address/netmask combination) all aliases are deleted, if you delete the first (primary). --cut-- [...] Yeah, this is a common roff coding problem. That text

Re: Bug#450432: ... and even more bugs like this?

2007-11-12 Thread Ivan Shmakov
TV == Thomas Viehmann [EMAIL PROTECTED] writes: [...] $ bash check-man-periods.sh /usr/share/man/man1/*.gz Debian has lintian and linda to check for machine-detectable errors like this one. Maybe you could wirte the same test in perl/python and submit it as a whishlist item to the BTS

Re: Bug#450432: ... and even more bugs like this?

2007-11-12 Thread Russ Allbery
Ivan Shmakov [EMAIL PROTECTED] writes: Russ Allbery [EMAIL PROTECTED] writes: or with the period escaped. ... And this is the thing I haven't found how to do. Could you please show me that spell? \. Note: \ is a null token that can be put at the beginning of a line to