Re: devel/pear fails - but only for PHP 8.1
Moin Rahman <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
> On Jul 30, 2025, at 12:30, Patrick M. Hausen <[email protected]> wrote: > > Hi all, > > building on the quarterly branch php81-pear.1.10.13 fails to build > and I cannot really make sense of the error message. > > We build in poudriere. php82-pear and up all build just fine. > > We have lots of these - but the seem to be just warnings and the other packages > have them, too: > --------------- > [00:00:07] Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /tmp/pear/PEAR/XMLParser.php on line 152 > [00:00:07] > --------------- > > And then when the package is supposed to be built: > --------------- > [00:00:07] =======================<phase: package >============================ > [00:00:07] ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-07-29T17:47:17+0000' 'PKG_NOTE_ports_top_git_hash=abf927d05' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=a2a94c99a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 > [00:00:07] ===> Building packages for php81-pear-1.10.13 > [00:00:07] ===> Building php81-pear-1.10.13 > [00:00:07] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/pear/work-php81/stage/usr/local/bin/pear:No such file or directory > [00:00:07] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/pear/work-php81/stage/usr/local/bin/peardev:No such file or directory > [00:00:07] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/pear/work-php81/stage/usr/local/bin/pecl:No such file or directory > [00:00:07] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/pear/work-php81/stage/usr/local/share/doc/pear/PEAR/INSTALL:No such file or directory > [00:00:07] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/pear/work-php81/stage/usr/local/share/doc/pear/PEAR/LICENSE:No such file or directory > [00:00:07] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/pear/work-php81/stage/usr/local/share/doc/pear/PEAR/README.rst:No such file or directory > [00:00:07] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/pear/work-php81/stage/usr/local/share/pear/.registry/pear.reg:No such file or directory > [00:00:07] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/pear/work-php81/stage/usr/local/share/pear/OS/Guess.php:No such file or directory > [00:00:07] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/pear/work-php81/stage/usr/local/share/pear/PEAR.php:No such file or directory > [...] > --------------- > > How can we proceed to find the cause of this problem? > > Kind regards, > Patrick > -- > punkt.de GmbH > Patrick M. Hausen > .infrastructure > > Sophienstr. 187 > 76185 Karlsruhe > > Tel. +49 721 9109500 > > https://infrastructure.punkt.de > [email protected] > > AG Mannheim 108285 > Geschäftsführer: Daniel Lienert, Fabian Stein > Hi, The problem is php81 does not actually support the entire recent libxml2 version. So if you really need this you have to got back to the previous version or snapshot of ports tree where it worked and rebuild everything. But as we are just shy of 5 months from removing php81 from the tree it's better to upgrade to more recent version of the tree. Kind regards, Moin
signature.asc
(application/pgp-signature, 963 B)
-----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmiKGp5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJFJMQ/+IIxHR8rLLFNSCqHq/h+6oQNUOhWzOK/IVnlqYBfZLt694gQYrB8ECgNB Eng/rAvfQu0Y6i11YQWA7cVigYqdRrNdGztgFp5MgUlG8D59iK3VucwudEbK8iAL PtbAP4FXITpmdAzItLrGsMdZkLUhC6bElpYUtLGlMJA81Ph3LPErZhzThuWLlJLp tFn8Yt4F/PlLvgUsh0Y9ilFmcWJzNi0WoFw03C/7lSI94CwGVxrQwEwvb59iYnLS UvoRq96PBQUpx3sZpPVxfmV9cDxcW9zNasxS7c+pQvwumoPdlv4cvl14B4qBv5MG HjT/IpcQm+Z+gB97hSwnHPtjbNLaugGn2vKGOe6SaBHBbBFbCi1oyYjFRqpXevB7 wmc2Vxnacp51TL66G8tdgOfDlOI0E64sQGTSwlStMME2MHxM9L7c4LDSHYXTtWCs xJehvM12g1XSe/g1jOSBI3NrzDyx2xKmc7pEUmDdFX6ldkkPjbMpC4ZGtCevW03M DP7odzfG3S3ManX+KXtVhVcBqQi7nKkYPDDDwQSudeq0ZoLTmuCacAjRLWZeIEA5 gaJEBhEOuDN9ojv9D6H9w0A7RNAbm1kRZGSO4mtZJlAzI9vJ8cPwSobS+FvYOPwV diUl1JUj1rw/f1LhuBuOuUnOGGbw3+P4+5w63TvlmhrFZToNE2g= =aCcI -----END PGP SIGNATURE-----