[MacPorts] #34732: gnome-mime-data @2.18.0_3 build fails with perl5 +perl5_14
MacPorts
noreply at macports.org
Sat Jun 2 14:32:52 PDT 2012
#34732: gnome-mime-data @2.18.0_3 build fails with perl5 +perl5_14
------------------------------------------+---------------------------------
Reporter: md14-macports@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: haspatch | Port: gnome-mime-data
------------------------------------------+---------------------------------
Building gnome-mime-data @2.18.0_3 fails if the perl5 port was installed
with the +perl5_14 variant.
{{{
$ sudo port -vs install gnome-mime-data
---> Computing dependencies for gnome-mime-data.
---> Fetching distfiles for gnome-mime-data
---> Verifying checksum(s) for gnome-mime-data
---> Checksumming gnome-mime-data-2.18.0.tar.bz2
---> Extracting gnome-mime-data
---> Extracting gnome-mime-data-2.18.0.tar.bz2
---> Configuring gnome-mime-data
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for perl... /opt/local/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is
required for intltool
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_gnome_gnome-mime-data/gnome-mime-data/work
/gnome-mime-data-2.18.0" && ./configure --prefix=/opt/local
Exit code: 1
Error: org.macports.configure for port gnome-mime-data returned: configure
failure: command execution failed
Warning: targets not executed for gnome-mime-data: org.macports.activate
org.macports.configure org.macports.build org.macports.destroot
org.macports.install
Please see the log file for port gnome-mime-data for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_gnome_gnome-mime-data/gnome-mime-data/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port gnome-mime-data failed
}}}
The problem appears to be that the gnome-mime-data Portfile does not set
the INTLTOOL_PERL environment variable in configure.env in the same manner
as other Portfiles that depend on intltool (for example, shared-mime-
info). I've attached a patch that fixes the problem.
--
Ticket URL: <https://trac.macports.org/ticket/34732>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list