[MacPorts] #60130: libmypaint @1.5.1_0: upgrade fails on configure with "error: XML::Parser perl module is required for intltool" (regression)
MacPorts
noreply at macports.org
Mon Mar 2 12:22:03 UTC 2020
#60130: libmypaint @1.5.1_0: upgrade fails on configure with "error: XML::Parser
perl module is required for intltool" (regression)
-------------------------+------------------------
Reporter: JDLH | Owner: ryandesign
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: libmypaint |
-------------------------+------------------------
Changes (by ryandesign):
* status: assigned => accepted
Comment:
Replying to [ticket:60130 JDLH]:
> {{{
> :info:configure checking for perl >= 5.8.1... 5.26.3
> :info:configure checking for XML::Parser... configure: error:
XML::Parser perl module is required for intltool
> }}}
This appears to be a new problem in 1.5.1. I am able to reproduce the
problem in 1.5.1 (by installing perl5 +perl5_26), but not in 1.5.0.
> Just as in #58012, tweaking the Perl5 variant is an effective
workaround.
> {{{
> % sudo port upgrade --enforce-variants perl5 -perl5_26 +perl5_28
> }}}
Certainly, but you should not need to do that.
> However, #58012 was fixed by including code in the Portfile to
"reconfigure with our intltool.m4 using upstream autogen.sh" (see
changeset:0fe1ca9a3b956f9e0e3d61c233ae3b868022ccfb/macports-ports). That
code is still in the Portfile, yet the regression occurred.
>
> The Portfile was changed on 24 Feb 2020 (just yesterday) to upgrade
libmypaint from 1.5.0 to 1.5.1. See
changeset:438b73a9b9b1433e9a7661d279fb73643ad53254/macports-ports.
In 1.5.1, they started bundling a copy of intltool.m4, thus defeating the
fact that we have an improved intltool.m4 in our intltool port. So we
either need to patch the bundled intltool.m4 or else maybe just delete it
so that the one from the intltool port gets used.
--
Ticket URL: <https://trac.macports.org/ticket/60130#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list