Paul Gevers:
> Package: debhelper
> Version: 12.10
> Severity: normal
> File: /usr/bin/dh_installman
> 
> Dear Maintainers, Niels,
> 
> Recently pasdoc started to FTBFS (bug #954676) for what is apparently a
> change in the output of help2man. However, I think it shouldn't FTBFS on
> that, as the documentation of dh_installman reads:
> """
> If your .TH or .Dt line is incorrect or missing, the program may guess
> wrong based on the file extension.
> """
> 
> I have attached the output of $(help2man pasdc) on my system. The .TH
> line doesn't obey the definition I found in man(7).
> 
> Paul
> 
> 
> [...]


Hi Paul,

Devil is in the detail.  The .TH/.Dt line is incorrect but not
"incorrect enough" for dh_installman to ignore it.  The version number
is treated as a section "0.15.0" which the "real" section (the X in
/usr/share/man/manX/foo.X.gz) as 0.

I have added some code to catch obvious version numbers and ignore those
as well as out of bounds sections.  That said, there is limits to how
much brokenness this can recover from (a disclaimer for future reference).

~Niels

Reply via email to