Opened 12 years ago

Closed 12 years ago

#34733 closed defect (fixed)

libbonobo @2.32.1_0 build fails with perl5 +perl5_14

Reported by: mndavidoff (Monte Davidoff) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: haspatch Cc:
Port: libbonobo

Description

Building libbonobo @2.32.1_0 fails if the perl5 port was installed with the +perl5_14 variant.

$ sudo port -vs install libbonobo
--->  Computing dependencies for libbonobo.
--->  Fetching distfiles for libbonobo
--->  Verifying checksum(s) for libbonobo
--->  Checksumming libbonobo-2.32.1.tar.bz2
--->  Extracting libbonobo
--->  Extracting libbonobo-2.32.1.tar.bz2
--->  Configuring libbonobo
...
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_gnome_libbonobo/libbonobo/work/libbonobo-2.32.1" && ./configure --prefix=/opt/local 
Exit code: 2
Error: org.macports.configure for port libbonobo returned: configure failure: command execution failed
Warning: targets not executed for libbonobo: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port libbonobo for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libbonobo/libbonobo/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libbonobo failed

The problem appears to be that the libbonobo 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)

main.log.bz2 (4.4 KB) - added by mndavidoff (Monte Davidoff) 12 years ago.
Portfile.diff (447 bytes) - added by mndavidoff (Monte Davidoff) 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by mndavidoff (Monte Davidoff)

Attachment: main.log.bz2 added

Changed 12 years ago by mndavidoff (Monte Davidoff)

Attachment: Portfile.diff added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.