[MacPorts] #68635: pulseaudio: should not depend on p5-xml-parser (was: meld port depends on a nonexistent p5.36-xml-parser port)
MacPorts
noreply at macports.org
Sat Nov 4 22:20:13 UTC 2023
#68635: pulseaudio: should not depend on p5-xml-parser
-------------------------+----------------------
Reporter: kwolcott | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: pulseaudio |
-------------------------+----------------------
Changes (by ryandesign):
* owner: (none) => Ionic
* status: new => assigned
* port: meld => pulseaudio
Comment:
I am able to reproduce the problem if I install perl5 with +perl5_36.
I believe the problem is the pulseaudio port which declares a dependency
on `port:p${perl5.major}-xml-parser` without first setting
`perl5.branches` to the desired version. That means it will inherit the
perl version from whatever you've selected with the perl5 port. Ports
shouldn't do that.
In fact, pulseaudio probably shouldn't haven't a dependency on XML::Parser
at all. It has a dependency on intltool, and intltool erroneously adds
code to projects' configure scripts that check for the presence of
XML::Parser with the default perl. Ports should `autoreconf` to rebuild
their configure scripts with our patched version of intltool that doesn't
do that unnecessary and counterproductive step. The upstream bug report,
which upstream has not acknowledged or fixed in over ten years, is
https://bugs.launchpad.net/intltool/+bug/1197875.
--
Ticket URL: <https://trac.macports.org/ticket/68635#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list