-
Notifications
You must be signed in to change notification settings - Fork 578
pod2man generates invalid roff #11977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From [email protected]On the systems I tested it on, the manpages whose pods contain non-ASCII This is wrong: $ man perlhist| grep var And this is intolerable: $ man perlcn NAME DESCRIPTION X 5.8.0 XXX, Perl XXXXXX Unicode (XXX) XX, XXXXXXXXXXXXXXXXXXX; CJK (XXX) XXXXXXXX. Unicode XXXXXXX, XXXXXXXXXXXX: XXXX, XXXX, Perl XXX Unicode XXXX. XXX Perl XXXXXXXXXX Unicode XX; Perl XXXXXX (XXXXXXXXX) XXX Unicode XXXX. XXXXXXX, XXXXX Unicode The bug is that while you are allowed to and encouraged to declare The following podpages show the problem: perlebcdic.pod perl588delta.pod perlcn.pod --tom Summary of my perl5 (revision 5 version 14 subversion 0) configuration: Characteristics of this binary (from libperl): |
From @jkeenanOn Wed Feb 29 13:04:43 2012, tom christiansen wrote:
Is this a problem that can be fixed in the 'pod2man' utility? Or does it require corrections of individual .pod files? Or both? Or neither? Thank you very much. |
The RT System itself - Status changed from 'new' to 'open' |
From @mrallen1On Wed Sep 26 19:07:49 2012, jkeenan wrote:
Hi. I'm the current maintainer of Pod::Perldoc. In 90% of the cases where the output from Getting clean non-ASCII characters typically requires a groff >= 1.20.1 and within the context So I would say this report is inconclusive. It may well be that pod2man is generating proper roff Mark |
1 similar comment
From @mrallen1On Wed Sep 26 19:07:49 2012, jkeenan wrote:
Hi. I'm the current maintainer of Pod::Perldoc. In 90% of the cases where the output from Getting clean non-ASCII characters typically requires a groff >= 1.20.1 and within the context So I would say this report is inconclusive. It may well be that pod2man is generating proper roff Mark |
I just ran the two test cases on Ubuntu 24.04, and they both worked fine. I think that in the interval since this was filed, the underlying tools were fixed. I think this is closable; I'm self-assigning this, and if no one complains by June 9, 2025, I will consider this closable, and when I remember to, will close it. If I forget, anyone else feel free to close it then. |
I believe this ticket is almost closable ... but not quite. If you're working on Ubuntu 24.04 (as I am) or, more precisely, with any
Investigation: You referred to the interval between the filing of this ticket and the present, which made me wonder when the problem was fixed, i.e., a bisection problem. Since I have a number of perls installed via Ubuntu Linux 24.04 LTS
This suggested that the problem was corrected between 5.36 and 5.38. I tested the commit cited above and verified it was the corrective commit.
FreeBSD-14 (/usr/local/bin/perl: perl-5.36.3)
perl-5.38.1 built with man pages
So provided we're using perl-5.38 or newer on FreeBSD, this DWIMs. OpenBSD-6.9 (/usr/bin/perl: perl-5.32.1)
So I don't have all the data I want for OpenBSD. Furthermore, I was unable to build and install a post-5.38 perl with man pages on OpenBSD, which led to #23292. If I could the results I want on OpenBSD, then I would feel comfortable closing this 13-year-old ticket. |
So the upshot of the discussion in #23292 (at least as I read it), is that I'm not going to be able to get that data from OpenBSD. We've identified what Perl has done (Russ Allbery's work on Pod::Man) to address the OP's complaint, and it appears that we've reached the limits of what Perl can do, I'm closing this ticket now. |
Migrated from rt.perl.org#111448 (status was 'open')
Searchable as RT111448$
The text was updated successfully, but these errors were encountered: