Opened 13 years ago

Closed 10 years ago

#31039 closed defect (fixed)

libgnomeprintui fails to see installed XML::parser and fails to install

Reported by: raramayo (Rodolfo Aramayo) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: haspatch Cc: kurthindenburg (Kurt Hindenburg)
Port: libgnomeprintui

Description (last modified by mf2k (Frank Schima))

When trying to install it gives me the following: ==========

--->  Computing dependencies for libgnomeprintui
--->  Fetching archive for libgnomeprintui
--->  Attempting to fetch libgnomeprintui-2.18.6_1.darwin_10.x86_64.tbz2 from http://packages.macports.org/libgnomeprintui
--->  Fetching libgnomeprintui
--->  Attempting to fetch libgnomeprintui-2.18.6.tar.bz2 from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/libgnomeprintui
--->  Verifying checksum(s) for libgnomeprintui
--->  Extracting libgnomeprintui
--->  Configuring libgnomeprintui
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for libgnomeprintui is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeprintui/libgnomeprintui/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

==========

and the log file clearly shows that XML::parser is the culprit: ==========

:info:configure checking for intltool-update... /opt/local/bin/intltool-update
:info:configure checking for intltool-merge... /opt/local/bin/intltool-merge
:info:configure checking for intltool-extract... /opt/local/bin/intltool-extract
:info:configure checking for xgettext... /opt/local/bin/xgettext
:info:configure checking for msgmerge... /opt/local/bin/msgmerge
:info:configure checking for msgfmt... /opt/local/bin/msgfmt
:info:configure checking for gmsgfmt... /opt/local/bin/msgfmt
:info:configure checking for perl... /opt/local/bin/perl
:info:configure checking for perl >= 5.8.1... 5.12.3
:info:configure checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeprintui/libgnomeprintui/work/libgnomeprintui-2.18.6" && ./configure --prefix=/opt/local --disable-gtk-doc " returned error 2
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for libgnomeprintui): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Log for libgnomeprintui is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeprintui/libgnomeprintui/main.log

==========

Yet both:

  p5-xml-sax-expat @0.400.0_3 (active)
  p5.12-xml-sax-expat @0.400.0_3 (active)

are installed

Attachments (1)

libgnomeprintui-INTLTOOL_PERL.patch (317 bytes) - added by jmroot (Joshua Root) 12 years ago.

Download all attachments as: .zip

Change History (6)

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

Description: modified (diff)
Port: libgnomeprintui added

Please attach the log.

Changed 12 years ago by jmroot (Joshua Root)

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

Keywords: haspatch added

comment:3 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:4 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

This appears to compile fine now w/o the patch.

comment:5 Changed 10 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

While the port compiles correctly in the default configuration, this intltool configuration error will occur if the perl variants of perl5 and intltool do not match. Fix is to reconfigure using our version of intltool.m4. Fix committed in r122822.

Note: See TracTickets for help on using tickets.