Subject: bug#30785: Man pages truncated, repeated

From: Tobias Geerinckx-Rice <[email-masked]>
Date: Mon, 12 Mar 2018 22:24:46 +0100

Guix,

Perhaps he's just getting old, but our man has a tendency to forget 
where he was, start over from the beginning, and repeat himself several 
times:

   $ guix package -i knot rofi
   $ man 5 knot.conf | grep -E '^(NAME|DESCRIPTION)'
   NAME
   DESCRIPTION
   NAME
   DESCRIPTION
   NAME
   DESCRIPTION
   NAME
   DESCRIPTION
   NAME
   $

There's also some stderr...

   <standard input>:25: error: end of file while defining macro 
`UNINDENT'

...but I think that's just a symptom of the input being cut short; man 
rofi(1) prints no such error yet suffers the same fate.

The affected man pages themselves are not truncated, nor do they repeat:

   $ zgrep '\.SH' `man -w knot.conf`
   .SH NAME
   .SH DESCRIPTION
   .SH COMMENTS
   .SH INCLUDES
   .SH MODULE SECTION
   .SH SERVER SECTION
   .SH KEY SECTION
   .SH ACL SECTION
   .SH CONTROL SECTION
   .SH STATISTICS SECTION
   .SH KEYSTORE SECTION
   .SH SUBMISSION SECTION
   .SH POLICY SECTION
   .SH REMOTE SECTION
   .SH TEMPLATE SECTION
   .SH ZONE SECTION
   .SH LOGGING SECTION
   .SH AUTHOR
   .SH COPYRIGHT
   $

However, even longer man pages such as bash(1) render without fail, so 
there might be something special about the two examples above that 
triggers this behaviour.

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.