[MacPorts] #63828: po4a: build fails when perl5.32/5.34 is default; missing core component Pod::Parser

MacPorts noreply at macports.org
Sun Nov 7 12:18:39 UTC 2021


#63828: po4a: build fails when perl5.32/5.34 is default; missing core component
Pod::Parser
----------------------+----------------------
  Reporter:  mascguy  |      Owner:  mascguy
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.1
Resolution:           |   Keywords:
      Port:  po4a     |
----------------------+----------------------
Changes (by mascguy):

 * owner:  mojca => mascguy
 * keywords:  pod::parser =>
 * port:  po4a perl5.32 perl5.34 => po4a


Old description:

> When attempting to build this port with the default perl5 installed as
> `+perl5_32` or `+perl5_34`, it fails due to missing core components like
> `Pod::Parser`.
>
> It's understandable that we don't yet have a complete selection of p5.xx
> ports for 5.32 and 5.34, since such ports are still being added. However,
> should our core perl5.32 and perl5.34 ports be missing things, vis-a-vis
> 5.30 and earlier?
>
> To illustrate, using the example of `Pod::Parser`:
>
> {{{
> $ port contents perl5.28 | ggrep "Pod/Parser.pm"
>   /opt/local/lib/perl5/5.28/Pod/Parser.pm
>
> $ port contents perl5.30 | ggrep "Pod/Parser.pm"
>   /opt/local/lib/perl5/5.30/Pod/Parser.pm
>
> $ port contents perl5.32 | ggrep "Pod/Parser.pm"
>
> $ port contents perl5.34 | ggrep "Pod/Parser.pm"
> }}}
>
> Were these components deprecated, and/or replaced, in Perl 5.32 and
> beyond...?

New description:

 When attempting to build this port with the default perl5 installed as
 `+perl5_32` or `+perl5_34`, it fails due to missing core component
 `Pod::Parser`.

 Per the page for this component, it's been deprecated in favor of `pod-
 simple`:

 > NOTE: This module is considered legacy; modern Perl releases (5.18 and
 higher) are going to remove Pod-Parser from core and use Pod-Simple for
 all things POD.

 https://metacpan.org/pod/Pod::Parser#DESCRIPTION

 So ultimately upstream will need to migrate to `pod-simple`.

 In the interim, we'll note the requirement to remain with 5.30 and
 earlier, in a comment within the portfile for `po4a`.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/63828#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list