Opened 11 years ago

Closed 11 years ago

#43217 closed defect (fixed)

planner: configure fails if perl5 variant does not match that of intltool

Reported by: dbevans (David B. Evans) Owned by: billitch@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc:
Port: planner

Description

With perl +perl5_12 installed configure fails as follows:

checking for intltool >= 0.35.5... 0.50.2 found
checking for intltool-update... /opt/local/bin/intltool-update
checking for intltool-merge... /opt/local/bin/intltool-merge
checking for intltool-extract... /opt/local/bin/intltool-extract
checking for xgettext... /opt/local/bin/xgettext
checking for msgmerge... /opt/local/bin/msgmerge
checking for msgfmt... /opt/local/bin/msgfmt
checking for gmsgfmt... /opt/local/bin/msgfmt
checking for perl... /opt/local/bin/perl
checking for perl >= 5.8.1... 5.12.4
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
Command failed:  cd "/opt/local/var/macports/build/_opt_macports_trunk_dports_gnome_planner/planner/work/planner-0.14.6" && ./configure --prefix=/opt/local --disable-python --disable-update-mimedb --disable-eds --mandir=/opt/local/share/man 
Exit code: 2
Error: Failed to configure planner, consult /opt/local/var/macports/build/_opt_macports_trunk_dports_gnome_planner/planner/work/planner-0.14.6/config.log
Error: org.macports.configure for port planner returned: configure failure: command execution failed

This is the typical intltool mis-configuration issue that can occur when ports are pre-configured with a stock version of intltool.m4 instead of the MacPorts patched version.

The attached patch fixes this problem by using autoreconf to re-configure using our intltool.m4 and updating build dependencies as necessary.

Attachments (1)

patch-planner.diff (699 bytes) - added by dbevans (David B. Evans) 11 years ago.
Proposed patch for review

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by dbevans (David B. Evans)

Attachment: patch-planner.diff added

Proposed patch for review

comment:1 Changed 11 years ago by dbevans (David B. Evans)

Committed in r118642, maintainer timeout.

comment:2 Changed 11 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.