#782788 perl: ExtUtils::Command::MM::pod2man should die on pod errors like the real pod2man does

Package:
perl
Source:
perl
Description:
Larry Wall's Practical Extraction and Report Language
Submitter:
Niko Tyni
Date:
2015-04-18 12:57:05 UTC
Severity:
normal
#782788#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.

#782788#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.

#782788#21
Date:
2015-04-18 12:55:02 UTC
From:
To:
Control: forwarded -1 https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/216

I've brought this up at
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/216

(Russ: explicitly cc'ing you as you're probably interested.)