> On 29 Mar 2025, at 22:53, Ryan Carsten Schmidt <ryandes...@macports.org> 
> wrote:
> 
> On Mar 28, 2025, at 21:11, Horst B Simon wrote:
> 
>> The error I am getting when running: /opt/local/bin/php74 -d 
>> detect_unicode=0 go-pear.phar is:nstalling 
>> 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
>> 
>> If I read correct is was fixed in PHP8.2 onwards in Fix GH-14834 
>> <https://github.com/php/php-src/issues/14834>: Error installing PHP when 
>> --with-pear is used.
>> 
>> Maybe if I patch php74 the same way it might work.
> 
> That failure is new to me. Please file a ticket in the issue tracker so I 
> won't forget to backport that patch. 

I got it working by only patching php74 as indicated in the Fix GH-14834. I 
didn’t need to modify php74-libxml. Since tickets 
https://github.com/BjarneDMat/macports-ports/commit/3140324  and 
https://github.com/BjarneDMat/macports-ports/commit/6892c52 are created for 
this problem, I didn’t create a new ticket.

Horst Simon

Reply via email to