Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#58012 closed defect (fixed)

libmypaint: configure: error: XML::Parser perl module is required for intltool

Reported by: iefdev (Eric F) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: libmypaint

Description

I'm installing gimp, and it stopped at libmypaint.

intltool says it need the XML::Parser

:info:configure checking for perl... /opt/local/bin/perl
: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
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libmypaint/libmypaint/work/libmypaint-1.3.0" && ./configure --prefix=/opt/local 
:info:configure Exit code: 2
:error:configure Failed to configure libmypaint, consult …

All deps of intltool are installed/active:

I think this one could be related: https://github.com/macports/macports-ports/pull/3338/files/0c7bed25e3b274dc688ca441818d193cbcaa03c4 It sets “pbranch” to 5.28. With perl5 installed with the default variant (+perl5_26), 5.28 doesn't get picked up even if it's installed.

:info:configure checking for perl >= 5.8.1... 5.26.3

After:

sudo port upgrade --enforce-variants perl5 -perl5_26 +perl5_28

…it built fine.

I don't know if I should've done that when I installed 5.28, I have both perl5.{26,28} - but, if “pbranch 5.28” was set… Maybe it should look for perl5.28 instead of just perl?

Change History (4)

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Cc: ryandesign added
Keywords: lion removed
Owner: changed from dbevans to jmroot
Port: libmypaint added; intltool removed
Summary: intltool: via libmypaint: configure Failedlibmypaint: configure: error: XML::Parser perl module is required for intltool

This is the same old intltool.m4 bug that we patched and reported years ago and still hasn't been so much as acknowledged by upstream: https://bugs.launchpad.net/intltool/+bug/1197875

The solution is to autoreconf to pick up our fixed version.

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Owner: changed from jmroot to dbevans

comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 0fe1ca9a3b956f9e0e3d61c233ae3b868022ccfb/macports-ports (master):

libmypaint: autoreconf to fix intltool brokenness

Closes: #58012

comment:4 Changed 5 years ago by JDLH (Jim DeLaHunt)

#60130 appears to be a regression of a similar problem, where the fix to this bug is no longer effective.

Note: See TracTickets for help on using tickets.