Opened 12 years ago
Closed 12 years ago
#34732 closed defect (fixed)
gnome-mime-data @2.18.0_3 build fails with perl5 +perl5_14
Reported by: | mndavidoff (Monte Davidoff) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | haspatch | Cc: | |
Port: | gnome-mime-data |
Description
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.
Attachments (2)
Change History (3)
Changed 12 years ago by mndavidoff (Monte Davidoff)
Attachment: | Portfile.diff added |
---|
Changed 12 years ago by mndavidoff (Monte Davidoff)
Attachment: | main.log.bz2 added |
---|
comment:1 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
r97155