#759085 perl: installman should die on pod errors like pod2man does

Package:
perl
Source:
perl
Description:
Larry Wall's Practical Extraction and Report Language
Submitter:
Niko Tyni
Date:
2023-11-16 17:36:08 UTC
Severity:
normal
Tags:
#759085#5
Date:
2014-08-24 04:19:52 UTC
From:
To:
Package: perl
Version: 5.20.0-4
Tags: upstream

As discussed in #724498, the 'installman' script that handles POD files
in the Perl build should probably pass "errors => 'die'" to Pod::Man so
that the build would fail if it encounters any POD errors. This would
match what pod2man enforces on other packages.

This needs to be discussed and fixed upstream.

#759085#12
Date:
2015-04-17 20:46:38 UTC
From:
To:
Control: clone -1 -2
Control: retitle -2 perl: ExtUtils::Command::MM::pod2man should die on pod errors like the real pod2man does

FWIW I tested this out on current blead and found out that at least
Memoize and Test-Simple have problems.

These are both dual-life on CPAN, and I'd have expected the
pod2man change would have caught them in smoke tests, but I now
see that ExtUtils::MakeMaker has its own pod2man implementation
(ExtUtils::Command::MM::pod2man) which doesn't set 'errors => die' or
'errors => stderr' either. I wonder if that's a blocker for the core
change.

I'm cloning a separate bug for EU::MM for now.

#759085#19
Date:
2015-04-18 15:15:29 UTC
From:
To:
Control: forwarded -1 https://rt.perl.org/Public/Bug/Display.html?id=124332

Now filed upstream as [perl #124332].

Russ cc'd again just FYI; I promise I'll stop now :)