#1086718 mdocml: does not handle .MR macro from groff 1.23.0

Package:
src:mdocml
Source:
src:mdocml
Submitter:
Sven Geuer
Date:
2024-11-05 10:15:01 UTC
Severity:
normal
Tags:
#1086718#5
Date:
2024-11-04 16:33:29 UTC
From:
To:
Dear Maintainer,

.MR macros, introduced with groff 1.23.0, are not handled by mandoc, no
output is generated.

This is visible, for example, from the fuseiso manual page currently in
unstable and testing. Compare the output of 'man fuseiso' to the
webview [0], most notably the SEE ALSO section.

Fortunately there seems to be a fix to this in upstream's vcs [1]
already, files man_html.c and man_validate.c, though not released yet.

Please consider cherry-picking the fix as groff 1.23.0 is already part
of trixie.

Sven

[0] https://manpages.debian.org/unstable/fuseiso/fuseiso.1.en.html
[1] https://cvsweb.bsd.lv/mandoc/

#1086718#10
Date:
2024-11-04 21:06:39 UTC
From:
To:
Hi Sven, thanks for the report,

Thanks for pointing me to a fix, really helpful! Do you know how to
cherry-pick fixes from cvsweb, or how to view a "commit history" so that
I can backport a single commit? I'm not that familiar with CVS,
unfortunately :/

Thanks again! Bye :)

#1086718#15
Date:
2024-11-05 10:13:25 UTC
From:
To:
Hi Andrea,

Good point, I am afraid you cannot cherry-pick from cvs. An alternative
would be to get a recent snapshot of the sources per anonymous CVS [1]
and build a package of version 1.14.6+cvs<latest change date>, while
this pulls in other changes as well.

You could also try to only use man_html.c and man_validate.c from this
snapshot and create a patch from these file. This approach requires
additional checks about whether there are required changes not visible
from the cvsweb to further files.

Last resort would be to reach out to upstream asking for a patch or
even for a 1.14.7 release.

Hope this helps.

Sven

[1] https://mhttps://mandoc.bsd.lv/anoncvs.htmlandoc.bsd.lv/anoncvs.html