#1115900 po4a: Po4 introduces strange line breaks/no wraps

#1115900#5
Date:
2025-09-21 12:01:05 UTC
From:
To:
Hello Martin,
I recently reported an issue in a man page which turned out to be a
po4a bug, which I'm reporting now. The man pages upstream maintainer
is in CC, as he is interested in the issue as well.

This is how it looks like in the man source of syscalls(2):
…
T{
.BR chown (2)
T}      2.2     T{
See
.BR chown (2)
for
version details
T}
…

This is rendered by man in one line:
       chown(2)                    2.2           See chown(2) for version details

And this is how po4a transforms it:

#, no-wrap
msgid ""
"See\n"
"B<chown>(2)\n"
"for\n"
"version details"

As you can see, po4a introduces hard line breaks in the string.


If you want to check, this is currently only in the version of syscalls(2)
from Archlinux and OpenSuSE Tumbleweed. (Probably the Debian version
of man pages is too old).

Greetings

          Helge