hroptatyr / yuck

Your Umbrella Command Kit, a bog-standard command line option parser for C with all the knickknackery and whatnots.
Other
61 stars 7 forks source link

yuck generated manpage cause lintian issues #4

Closed matthewfischer closed 10 years ago

matthewfischer commented 10 years ago

In the dateutils package the yuck generated manpages produce warnings, although this does not appear to affect the parsing of the manpage itself. I'm no expert on this but I think troff/nroff has a different format for comments. I've run this through groff a few times and I don't see any errors or backtraces. Let me know what you think.

W: dateutils: manpage-has-errors-from-man usr/share/man/man1/dateutils.dadd.1.gz 1: warning: macro /*' not defined W: dateutils: manpage-has-errors-from-man usr/share/man/man1/dateutils.dconv.1.gz 1: warning: macro/' not defined W: dateutils: manpage-has-errors-from-man usr/share/man/man1/dateutils.ddiff.1.gz 1: warning: macro `/' not defined W: dateutils: manpage-has-errors-from-man usr/share/man/man1/dateutils.dgrep.1.gz 1: warning: macro /*' not defined W: dateutils: manpage-has-errors-from-man usr/share/man/man1/dateutils.dround.1.gz 1: warning: macro/' not defined W: dateutils: manpage-has-errors-from-man usr/share/man/man1/dateutils.dseq.1.gz 1: warning: macro `/' not defined W: dateutils: manpage-has-errors-from-man usr/share/man/man1/dateutils.dsort.1.gz 1: warning: macro /*' not defined W: dateutils: manpage-has-errors-from-man usr/share/man/man1/dateutils.dtest.1.gz 1: warning: macro/' not defined W: dateutils: manpage-has-errors-from-man usr/share/man/man1/dateutils.dzone.1.gz 1: warning: macro `/' not defined W: dateutils: manpage-has-errors-from-man usr/share/man/man1/dateutils.strptime.1.gz 1: warning: macro `/*' not defined

matthewfischer commented 10 years ago

I spoke too soon about no warnings, I was not seeing them because I was failing to redirect man's output to /dev/null. It's pretty easy to see them come back:

mfisch@virgon:/tmp/q/usr/share/man$ man --warnings -Z /tmp/dateutils.dadd.1 > /dev/null

:1: warning: macro `/*' not defined
hroptatyr commented 10 years ago

Fixed in 618b849