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

Moin Rahman <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>

> 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
signature.asc (application/pgp-signature, 963 B)
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmhwDxZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE
Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA
vJH4AA/+M3GCtsjNk2SRxZEzUz8dm988z8ed6eb2FWNvi3iD78L0GYdhNMKi1lJk
jRfFNFrnebvLBronYl/r3U25ySFHvOQU+cLIY+F8p5uFv8Ts/9RCDLU5USSbXWrS
E3w+T0zANBoiq5uPxVZi0/NjXCuVt9HOuqHGa03rJ/KaxiwLLAutnxZNSp4hjInW
6JIlg33uP3cYYBT4+SmlTrhrCK9Rb2E/bRThX5ueyaCRaaH/RlAikrxptu+6zOgw
yJt+ftewZo/hjlp/zhAzDDBGcDWbGlmN3vB/55avu7NFLGUyBTVJ/HoCvjlOrG+n
zr4GmCzlfZ5+mEmYhf4lc2n9Uh+ltT4vSM85dQc3S0UCxAf1ayAg8soiDpuwscw2
qusbzO9K3SzbWd4oL5vSKBfCvO4bfjVVYVCFPawE1zpFqsOjkSkVyVog29/m/Fp0
tvgcp+JQLpE6yjElry0qX4sue35WVnK65VKNVl9XvW1Y198+rTUjUOxJaCLQAjo6
AEe6PnOdABUcj6nUZFRV2A1gSib4sj8nZ1iqe6kXVPlPmlGtHbyxwG6fora+kO/R
flCyZmT5rYzhhshQslSIVqc7dNglXH6gX5eqgdlEkSZg4F0qGjPT3F8otRbmPcmE
NNngHOIgj7hBzSTl++wVLz/mNRDN4KLdS/xCrkhMabqFc1pIcxo=
=Wr5S
-----END PGP SIGNATURE-----
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.