Opened 5 years ago

Last modified 5 years ago

#60130 closed defect

libmypaint @1.5.1_0: upgrade fails on configure with "error: XML::Parser perl module is required for intltool" (regression) — at Version 2

Reported by: JDLH (Jim DeLaHunt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: dbevans (David B. Evans)
Port: libmypaint

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (4)

Changed 5 years ago by JDLH (Jim DeLaHunt)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libmypaint/libmypaint/main.log

Changed 5 years ago by JDLH (Jim DeLaHunt)

Attachment: config.log added

/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

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Cc: ryandesign removed
Owner: set to ryandesign
Status: newassigned

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.