[MacPorts] #34731: policykit: configure: error: XML::Parser perl module is required for intltool

MacPorts noreply at macports.org
Mon Aug 20 02:20:39 PDT 2012


#34731: policykit: configure: error: XML::Parser perl module is required for
intltool
------------------------------------------+---------------------------------
 Reporter:  md14-macports@…               |       Owner:  devans@…           
     Type:  defect                        |      Status:  new                
 Priority:  Normal                        |   Milestone:                     
Component:  ports                         |     Version:  2.1.1              
 Keywords:  haspatch                      |        Port:  policykit          
------------------------------------------+---------------------------------

Comment(by md14-macports@…):

 Well, changing the dependency in r96849 did not fix this build failure:

 {{{
 $ port installed perl5
 The following ports are currently installed:
   perl5 @5.12.4_0+perl5_16 (active)
 $ sudo port -vs install policykit
 --->  Computing dependencies for policykit.
 --->  Fetching distfiles for policykit
 --->  Verifying checksum(s) for policykit
 --->  Checksumming polkit-0.103.tar.gz
 --->  Extracting policykit
 --->  Extracting polkit-0.103.tar.gz
 --->  Applying patches to policykit
 --->  Applying patch-configure.diff
 patching file configure
 --->  Configuring policykit
 ...
 checking for perl... /opt/local/bin/perl
 checking for perl >= 5.8.1... 5.16.0
 checking for XML::Parser... configure: error: XML::Parser perl module is
 required for intltool
 Command failed:  cd
 "/opt/local/var/macports/build/_Users_monte.clear_Sites_apps_notes_MacPorts_ports_security_policykit/policykit/work/polkit-0.103"
 && ./configure --prefix=/opt/local --with-authfw=pam --with-pam-
 prefix=/etc/pam.d --with-pam-module-dir=/usr/lib/pam --disable-
 introspection --disable-silent-rules --enable-man-pages --disable-gtk-doc
 Exit code: 2
 Error: org.macports.configure for port policykit returned: configure
 failure: command execution failed
 Warning: targets not executed for policykit: org.macports.activate
 org.macports.configure org.macports.build org.macports.destroot
 org.macports.install
 Please see the log file for port policykit for details:
 /opt/local/var/macports/logs/_Users_monte.clear_Sites_apps_notes_MacPorts_ports_security_policykit/policykit/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port policykit failed
 }}}

 To fix this build problem, please apply the attached patch in
 Portfile2.diff to remove the p5.12-xml-parser dependency and set the
 INTLTOOL_PERL environment variable use the version of perl explicitly
 required by intltool. This is the method used by ten other Portfiles.

-- 
Ticket URL: <https://trac.macports.org/ticket/34731#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list