[MacPorts] #72263: php74: Pear install fails using go-pear.phar (was: Pear install fails using go-pear.phar)

MacPorts noreply at macports.org
Mon Mar 31 03:21:34 UTC 2025


#72263: php74: Pear install fails using go-pear.phar
----------------------+------------------------
  Reporter:  hbsimon  |      Owner:  ryandesign
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  php74    |
----------------------+------------------------
Changes (by ryandesign):

 * owner:  (none) => ryandesign
 * status:  new => assigned


Old description:

> 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

New description:

 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#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list