[MacPorts] #72263: Pear install fails using go-pear.phar
MacPorts
noreply at macports.org
Sun Mar 30 21:57:35 UTC 2025
#72263: Pear install fails using go-pear.phar
---------------------+--------------------
Reporter: hbsimon | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: php74
---------------------+--------------------
I try to install pear on php74 using following
php -d detect_unicode=0 go-pear.phar
and it fails as follow
installing phar:///private/tmp/go-pear.phar/PEAR/go-pear-
tarballs/XML_Util-1.4.5.tar...
parsePackageName(): array $param must contain a valid package name in
"phar:///private/tmp/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.10.16.tar"
Invalid tag order in <dependencies>, found <_content> expected one of
"group"
Parsing of package.xml from file
"/private/tmp/pear/install/pearXuHHr9/package.xml" failed.
There is a fix from PHP8.2 onwards in Fix GH-14834: Error installing PHP
when --with-pear is used.
I tested it with php74 and it worked
--
Ticket URL: <https://trac.macports.org/ticket/72263>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list