Bug 171793 - lang/perl5.16 w/ POD complains of old groff version
Summary: lang/perl5.16 w/ POD complains of old groff version
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-perl (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-19 22:40 UTC by Reuben A. Popp
Modified: 2015-04-27 15:28 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben A. Popp 2012-09-19 22:40:09 UTC
When using perl's POD (plain old documentation) in a script, using perldoc on the script causes perl to complain about an older version of groff (<1.20.1).  

For example:

        > perldoc admiss.pl
        You have an old groff. Update to version 1.20.1 for good Unicode support.
        If you don't upgrade, wide characters may come out oddly.

        at /usr/local/lib/perl5/5.16.0/Pod/Perldoc.pm line 1346.
        You have an old groff. Update to version 1.20.1 for good Unicode support.
        If you don't upgrade, wide characters may come out oddly.

        at /usr/local/lib/perl5/5.16.0/Pod/Perldoc.pm line 1346.
        ADMISS(1)             User Contributed Perl Documentation            ADMISS(1)
        <snip>

The output of groff (system groff, not groff from ports) shows that it is version GNU groff version 1.19.2.

For what its worth, there is no mention of this issue in the ports UPDATING file in relation to entry 20120630.

How-To-Repeat: Install perl 5.16.
cat << EOF > test.pl
#!/usr/bin/perl
use strict;
use warnings;

print "This is a test\n";
__END__

=head1 NAME

test.pl - A simple test case
EOF

perldoc test.pl
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-19 22:40:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->skv

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 driador 2012-09-20 00:53:50 UTC
Sorry, my mistake.  I set my email address incorrectly.  It's supposed to
be driador@gmail.com, not .net.
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2013-04-22 17:13:52 UTC
Responsible Changed
From-To: skv->freebsd-ports-bugs

skv's ports bit has been taken in for safekeeping
Comment 4 Stefan Walter freebsd_committer freebsd_triage 2013-05-18 23:49:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

Over to maintainer.
Comment 5 Mathieu Arnold 2013-08-23 11:04:06 UTC
Hi,

I've been looking into that, and the first problem I see is that
textproc/groff needs Perl to build :-)

-- 
Mathieu Arnold
Comment 6 Mathieu Arnold freebsd_committer freebsd_triage 2013-12-22 15:59:45 UTC
State Changed
From-To: open->closed

Fixed in r337193. 
GNAT: Enter the reason for changing this PR's state here.
Comment 7 Mathieu Arnold freebsd_committer freebsd_triage 2013-12-22 16:12:33 UTC
State Changed
From-To: closed->open

Ok, no, not fixed, groff depends on perl, so, perl can't depend on it.
Comment 8 Mathieu Arnold freebsd_committer freebsd_triage 2015-04-27 15:28:34 UTC
As of r384837, perldoc will try to use mandoc before groff.  It'll work out of the box on 9.3 and 10.1, on 8.4, it's almost as easy, you will only need to install textproc/mdocml.