devel/pear fails - but only for PHP 8.1

"Patrick M. Hausen" <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
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
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.