[MacPorts] #34731: policykit @0.103_1 build fails with perl5 +perl5_14

MacPorts noreply at macports.org
Sat Jun 2 14:16:26 PDT 2012


#34731: policykit @0.103_1 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:                                |        Port:  policykit                            
------------------------------------------+---------------------------------
 Building policykit @0.103_1 fails if the `perl5` port was installed with
 the `+perl5_14` variant.

 {{{
 $ port installed | grep 'perl5 '
   perl5 @5.12.3_1+perl5_14 (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.14.2
 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_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/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_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
 }}}

 The problem appears to be that the `polickit` 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/34731>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list