[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 10:50:56 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: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: libmypaint |
-------------------------+------------------------
Description changed by ryandesign:
Old description:
> When I do `port upgrade libmypaint` to bring libmypaint @1.5.0_0 to
> @1.5.1_0, the configuration fails in exactly the same way as #58012:
> {{{
> % port installed libmypaint perl5
> The following ports are currently installed:
> libmypaint @1.4.0_1
> libmypaint @1.5.0_0 (active)
> perl5 @5.26.1_0+perl5_26 (active)
> perl5 @5.26.1_0+perl5_28
> % sudo port upgrade libmypaint
> ---> Computing dependencies for libmypaint
> ---> Fetching archive for libmypaint
> ---> Attempting to fetch libmypaint-1.5.1_0.darwin_17.x86_64.tbz2 from
> https://packages.macports.org/libmypaint
> ---> Attempting to fetch libmypaint-1.5.1_0.darwin_17.x86_64.tbz2 from
> https://ywg.ca.packages.macports.org/mirror/macports/packages/libmypaint
> ---> Attempting to fetch libmypaint-1.5.1_0.darwin_17.x86_64.tbz2 from
> http://aus.us.packages.macports.org/macports/packages/libmypaint
> ---> Fetching distfiles for libmypaint
> ---> Verifying checksums for libmypaint
> ---> Extracting libmypaint
> ---> Configuring libmypaint
> Error: Failed to configure libmypaint, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libmypaint/libmypaint/work/libmypaint-1.5.1/config.log
> Error: Failed to configure libmypaint: configure failure: command
> execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libmypaint/libmypaint/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> }}}
>
> I'm attaching …`libmypaint/main.log` and
> …`libmypaint/work/libmypaint-1.5.1/config.log`, but the punchline appears
> to be this, in `main.log`:
> {{{
> :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
> }}}
>
> Just as in #58012, tweaking the Perl5 variant is an effective workaround.
> {{{
> % sudo port upgrade --enforce-variants perl5 -perl5_26 +perl5_28
> }}}
>
> However, #58012 was fixed by including code in the Portfile to
> "reconfigure with our intltool.m4 using upstream autogen.sh" (see
> https://github.com/macports/macports-
> ports/commit/0fe1ca9a3b956f9e0e3d61c233ae3b868022ccfb). 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 https://github.com/macports/macports-
> ports/commit/438b73a9b9b1433e9a7661d279fb73643ad53254#diff-
> 041f5dbe9799e751724497d6a9cfc3a8 .
New description:
When I do `port upgrade libmypaint` to bring libmypaint @1.5.0_0 to
@1.5.1_0, the configuration fails in exactly the same way as #58012:
{{{
% port installed libmypaint perl5
The following ports are currently installed:
libmypaint @1.4.0_1
libmypaint @1.5.0_0 (active)
perl5 @5.26.1_0+perl5_26 (active)
perl5 @5.26.1_0+perl5_28
% sudo port upgrade libmypaint
---> Computing dependencies for libmypaint
---> Fetching archive for libmypaint
---> Attempting to fetch libmypaint-1.5.1_0.darwin_17.x86_64.tbz2 from
https://packages.macports.org/libmypaint
---> Attempting to fetch libmypaint-1.5.1_0.darwin_17.x86_64.tbz2 from
https://ywg.ca.packages.macports.org/mirror/macports/packages/libmypaint
---> Attempting to fetch libmypaint-1.5.1_0.darwin_17.x86_64.tbz2 from
http://aus.us.packages.macports.org/macports/packages/libmypaint
---> Fetching distfiles for libmypaint
---> Verifying checksums for libmypaint
---> Extracting libmypaint
---> Configuring libmypaint
Error: Failed to configure libmypaint, consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libmypaint/libmypaint/work/libmypaint-1.5.1/config.log
Error: Failed to configure libmypaint: configure failure: command
execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libmypaint/libmypaint/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
}}}
I'm attaching …`libmypaint/main.log` and
…`libmypaint/work/libmypaint-1.5.1/config.log`, but the punchline appears
to be this, in `main.log`:
{{{
: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
}}}
Just as in #58012, tweaking the Perl5 variant is an effective workaround.
{{{
% sudo port upgrade --enforce-variants perl5 -perl5_26 +perl5_28
}}}
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.
--
--
Ticket URL: <https://trac.macports.org/ticket/60130#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list