[MacPorts] #39620: shared-mime-info @1.1 does not build with intltool @0.50.2_2+perl5_16
#39620: shared-mime-info @1.1 does not build with intltool @0.50.2_2+perl5_16 -----------------------------+-------------------------------- Reporter: md14-macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: shared-mime-info -----------------------------+-------------------------------- The change to intltool in r107542 appears to have broken the shared-mime- info build when `intltool +perl5_16` is installed. Shared-mime-info did build with the previous revision of intltool (r107528) and `intltool +perl5_16` installed. {{{ $ port installed intltool The following ports are currently installed: intltool @0.50.2_2+perl5_16 (active) $ sudo port -vs install shared-mime-info ... checking for perl... /opt/local/bin/perl5.12 checking for perl >= 5.8.1... 5.12.4 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_devel_shared-mime-inme-info/work/shared-mime- info-1.1" && ./configure --prefix=/opt/local --disable-update-mimedb Exit code: 2 ... }}} These line in the shared-mime-info Portfile might be relevant: {{{ # The perl executable should be the one explicitly required by intltool configure.env-append INTLTOOL_PERL=${prefix}/bin/perl5.12 }}} -- Ticket URL: <https://trac.macports.org/ticket/39620> MacPorts <http://www.macports.org/> Ports system for OS X
#39620: shared-mime-info @1.1 does not build with intltool @0.50.2_2+perl5_16 -------------------------------+-------------------------------- Reporter: md14-macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: shared-mime-info | -------------------------------+-------------------------------- Comment (by md14-macports@…): I've attached a patch to shared-mime-info that appears to fix the problem. -- Ticket URL: <https://trac.macports.org/ticket/39620#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39620: shared-mime-info @1.1 does not build with intltool @0.50.2_2+perl5_16 -------------------------------+-------------------------------- Reporter: md14-macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: shared-mime-info | -------------------------------+-------------------------------- Comment (by md14-macports@…): The same problem also occurs with gnome-doc-utils. I've attached a patch for gnome-doc-utils that works for me. -- Ticket URL: <https://trac.macports.org/ticket/39620#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39620: shared-mime-info @1.1 does not build with intltool @0.50.2_2+perl5_16 -------------------------------+-------------------------------- Reporter: md14-macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: shared-mime-info | -------------------------------+-------------------------------- Comment (by egall@…): {{{ # The perl executable should be the one explicitly required by intltool configure.env-append INTLTOOL_PERL=${prefix}/bin/perl5.12 }}} I think that all ports that do this will have to be changed... -- Ticket URL: <https://trac.macports.org/ticket/39620#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39620: shared-mime-info @1.1 does not build with intltool @0.50.2_2+perl5_16 -------------------------------+-------------------------------- Reporter: md14-macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: shared-mime-info | -------------------------------+-------------------------------- Comment (by jeremyhu@…): Yep. See my message to the mailing list. In addition to removing that line, a more proper fix would involve doing an autoreconf to ensure this check isn't done. If you just remove setting that variable, it will only work if perl5 and intltool were built with the same variant. autoreconfing will allow them to be built with different variants. -- Ticket URL: <https://trac.macports.org/ticket/39620#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39620: shared-mime-info @1.1 does not build with intltool @0.50.2_2+perl5_16 -------------------------------+-------------------------------- Reporter: md14-macports@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: shared-mime-info | -------------------------------+-------------------------------- Changes (by mf2k@…): * status: new => closed * resolution: => fixed Comment: I think this was fixed by r107653. {{{ $ port installed intltool shared-mime-info The following ports are currently installed: intltool @0.50.2_2+perl5_16 (active) shared-mime-info @1.2_0 (active) }}} -- Ticket URL: <https://trac.macports.org/ticket/39620#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts