reassign 519367 groff-base 1.18.1.1-21
tags 519367 pending
thanks

On Wed, Mar 11, 2009 at 10:41:40PM -0400, James A. Treacy wrote:
> The Polish version of the man page for gramps works
> fine in most circumstances (it can be grabbed from
> http://people.debian.org/~treacy/gramps_pl.1) but produces many errors
> when run the way lintian tests it.
> 
> For example, the following produce no errors (LANG=en_US.UTF-8):
> /usr/bin/man --warnings -l gramps_pl.1 > /dev/null
> LANG=C /usr/bin/man --warnings -l gramps_pl.1 > /dev/null
> LANG=en_US.UTF-8 /usr/bin/man --warnings -E UTF-8 -l gramps_pl.1 > /dev/null
> 
> but the following produces many errors. It is essentially the command
> that lintian uses to test man pages:
> LANG=C /usr/bin/man --warnings -E UTF-8 -l gramps_pl.1 > /dev/null
> 
> If this is simply a problem with the man page, an explanation of what
> is wrong would be appreciated.

Thanks for this report; it was interesting to investigate.

The first thing to point out here is that lintian actually passes a
filename something like debian/gramps/usr/share/man/pl/man1/gramps.1.gz
to man; this is important because the /pl/ clues man in to know that
this is a Polish manual page and needs to go via ISO-8859-2 (since we
haven't quite managed to upgrade to groff 1.20 yet and so groff cannot
take pure UTF-8 input). However, it still breaks when you do this.
Interesting.

It's clearly operating in the wrong encoding, and yet, as you point out,
it works fine in a locale other than C. This suggests a problem with the
ascii8 device hack, which is supposed to pass through its input encoding
regardless of locale; and indeed on investigation it turns out that
LANG=C takes precedence over use of the ascii8 device. I've fixed this
for my next upload of groff.

After this, lintian no longer produces errors, so your bug as stated is
solved. However, there is one remaining bug here, namely that the page
doesn't actually look right! This is due to bug #514963, which I hope to
fix soon one way or another. It's not trivial to fix in your page in
this case, since the offending character (ลง) is alphabetic.

Regards,

-- 
Colin Watson                                       [cjwat...@debian.org]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to