• Re: devel/pear fails - but only for PHP 8.1

    From Moin Rahman@bofh@freebsd.org to muc.lists.freebsd.ports on Wed Jul 30 15:14:06 2025
    From Newsgroup: muc.lists.freebsd.ports


    --Apple-Mail=_864550BC-8218-4CF7-B14B-AB182A8BFB70
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain;
    charset=utf-8



    On Jul 30, 2025, at 12:30, Patrick M. Hausen <hausen@punkt.de> wrote:
    =20
    Hi all,
    =20
    building on the quarterly branch php81-pear.1.10.13 fails to build
    and I cannot really make sense of the error message.
    =20
    We build in poudriere. php82-pear and up all build just fine.
    =20
    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]
    ---------------
    =20
    And then when the package is supposed to be built:
    ---------------
    [00:00:07] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
    =3D=3D<phase: package >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
    [00:00:07] =3D=3D=3D=3D=3D env: 'PKG_NOTES=3Dbuild_timestamp =
    ports_top_git_hash ports_top_checkout_unclean port_git_hash = port_checkout_unclean built_by' = 'PKG_NOTE_build_timestamp=3D2025-07-29T17:47:17+0000' = 'PKG_NOTE_ports_top_git_hash=3Dabf927d05' = 'PKG_NOTE_ports_top_checkout_unclean=3Dno' = 'PKG_NOTE_port_git_hash=3Da2a94c99a' 'PKG_NOTE_port_checkout_unclean=3Dno'=
    'PKG_NOTE_built_by=3Dpoudriere-git-3.4.2' NO_DEPENDS=3Dyes USER=3Droot = UID=3D0 GID=3D0
    [00:00:07] =3D=3D=3D> Building packages for php81-pear-1.10.13
    [00:00:07] =3D=3D=3D> 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/PE= AR/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/PE= AR/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/PE= AR/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/.regis= try/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/Gue= ss.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.p= hp:No such file or directory
    [...]
    ---------------
    =20
    How can we proceed to find the cause of this problem?
    =20
    Kind regards,
    Patrick
    --
    punkt.de GmbH
    Patrick M. Hausen
    .infrastructure
    =20
    Sophienstr. 187
    76185 Karlsruhe
    =20
    Tel. +49 721 9109500
    =20
    https://infrastructure.punkt.de
    info@punkt.de
    =20
    AG Mannheim 108285
    Gesch=C3=A4ftsf=C3=BChrer: Daniel Lienert, Fabian Stein
    =20

    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

    --Apple-Mail=_864550BC-8218-4CF7-B14B-AB182A8BFB70
    Content-Transfer-Encoding: 7bit
    Content-Disposition: attachment;
    filename=signature.asc
    Content-Type: application/pgp-signature;
    name=signature.asc
    Content-Description: Message signed with OpenPGP

    -----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-----

    --Apple-Mail=_864550BC-8218-4CF7-B14B-AB182A8BFB70--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Kurt Jaeger@pi@freebsd.org to muc.lists.freebsd.ports on Wed Jul 30 15:36:34 2025
    From Newsgroup: muc.lists.freebsd.ports

    Hi!

    PHP 8.1 is what the largest number of our customers still runs and with another
    5 months of upstream support I fail to see how we can force them to upgrade *now*. Or tell them "sorry, no updates, anymore".

    So what would you suggest to get all packages to the latest quarterly version?

    Use a separate ports tree for PHP 8.1. and checkout an older libxml release in that one?

    Yes.

    I am still not quite sure I understand the issue. I'll search for some info from
    the PHP project in the meantime.

    Why the ports tree made the update:

    fixes for CVE-2024-56171, CVE-2025-24928, and CVE-2025-32414

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287391

    Because not upgrading blocked some GNOME stuff (and lots of other stuff
    that depends on libxml2):

    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279705

    It really is dependency hell, with no clear way out.
    --
    pi@FreeBSD.org +49 171 3101372 Now what ?


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Willem Jan Withagen@wjw@digiware.nl to muc.lists.freebsd.ports on Wed Jul 30 22:40:03 2025
    From Newsgroup: muc.lists.freebsd.ports

    This is a multi-part message in MIME format. --------------9WL4pSAE8ezWfc2pLHG0FhQP
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit



    On 30-7-2025 15:22, Patrick M. Hausen wrote:
    So what would you suggest to get all packages to the latest quarterly version?

    Use a separate ports tree for PHP 8.1. and checkout an older libxml release in that one?

    I am still not quite sure I understand the issue. I'll search for some info from
    the PHP project in the meantime.

    Would not be the first time I contemplated doing this.....
    But for now I've just decided to not move any further with upgrades in
    my 8.1 jails.

    --WjW
    --------------9WL4pSAE8ezWfc2pLHG0FhQP
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <br>
    <br>
    <div class="moz-cite-prefix">On 30-7-2025 15:22, Patrick M. Hausen
    wrote:<span style="white-space: pre-wrap">
    </span></div>
    <blockquote type="cite"
    cite="mid:39E22D16-E823-488D-9B63-E0184EFE652C@punkt.de">
    <pre wrap="" class="moz-quote-pre">So what would you suggest to get all packages to the latest quarterly version?

    Use a separate ports tree for PHP 8.1. and checkout an older libxml release
    in that one?

    I am still not quite sure I understand the issue. I'll search for some info from
    the PHP project in the meantime.
    </pre>
    </blockquote>
    <br>
    Would not be the first time I contemplated doing this.....<br>
    But for now I've just decided to not move any further with upgrades
    in my 8.1 jails.<br>
    <br>
    --WjW<br>
    </body>
    </html>

    --------------9WL4pSAE8ezWfc2pLHG0FhQP--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2