Re: Pear port not building? "Unable to download"?

Moin Rahman <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
Except php81 it works with the rest as per my last weekly per-php build tests.

Sent from my iPhone

> On 11 Jul 2025, at 17:35, Kaya Saman <[email protected]> wrote:
> 
> 
>> On 7/10/25 8:05 PM, Moin Rahman wrote:
>> 
>>>> On Jul 10, 2025, at 21:03, Kaya Saman <[email protected]> wrote:
>>> 
>>> Hi,
>>> 
>>> 
>>> I'm getting these errors while trying to install the @Pear port
>>> 
>>> 
>>> PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /tmp/pear/PEAR/PackageFile/Parser/v2.php on line 84
>>> Validation Error: Invalid tag order in <dependencies>, found <_content> expected one of "group"
>>> Parsing of package.xml from file "/tmp/pear/pearAwR8lU/package.xml" failed
>>> Download of "pear/PEAR" succeeded, but it is not a valid package archive
>>> Error: cannot download "pear/PEAR"
>>> Download failed
>>> Installing bootstrap package: Structures_Graph.......PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /tmp/pear/PEAR/PackageFile/Parser/v2.php on line 84
>>> PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /tmp/pear/PEAR/PackageFile/Parser/v2.php on line 84
>>> 
>>> 
>>> I have php 8.1 installed so I'm not sure if I need to upgrade that? I recently just upgraded from 8.0....
>>> 
>>> 
>>> 
>>> Could anyone help?
>>> 
>>> 
>>> Thanks.
>>> 
>>> 
>>> Kaya
>>> 
>>> 
>> Hi,
>> 
>> pear is currently broken post libxml2 upgrade with php81.
>> 
>> And as php81 is expiring in less than 6 months it's better to move to php83/php84.
>> 
>> Kind regards,
>> Moin
> 
> 
> Thank you! I will upgrade :-)
> 
> 
> Does Pear work with php83/84?
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.