• Pear port not building? "Unable to download"?

    From Kaya Saman@kayasaman@optiplex-networks.com to muc.lists.freebsd.ports on Thu Jul 10 20:03:11 2025
    From Newsgroup: muc.lists.freebsd.ports

    Hi,
    I'm getting these errors while trying to install the @Pear port
    PHP Deprecated:-a 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:-a
    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:-a 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
    --
    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 Moin Rahman@bofh@freebsd.org to muc.lists.freebsd.ports on Thu Jul 10 21:05:57 2025
    From Newsgroup: muc.lists.freebsd.ports


    --Apple-Mail=_66B3BD55-34DD-4B2D-88D0-7D471B225BB6
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain;
    charset=us-ascii



    On Jul 10, 2025, at 21:03, Kaya Saman =
    <kayasaman@optiplex-networks.com> wrote:
    =20
    Hi,
    =20
    =20
    I'm getting these errors while trying to install the @Pear port
    =20
    =20
    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
    =20
    =20
    I have php 8.1 installed so I'm not sure if I need to upgrade that? I =
    recently just upgraded from 8.0....
    =20
    =20
    =20
    Could anyone help?
    =20
    =20
    Thanks.
    =20
    =20
    Kaya
    =20
    =20

    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

    --Apple-Mail=_66B3BD55-34DD-4B2D-88D0-7D471B225BB6
    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+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-----

    --Apple-Mail=_66B3BD55-34DD-4B2D-88D0-7D471B225BB6--


    --
    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 Kaya Saman@kayasaman@optiplex-networks.com to muc.lists.freebsd.ports on Fri Jul 11 16:34:38 2025
    From Newsgroup: muc.lists.freebsd.ports


    On 7/10/25 8:05 PM, Moin Rahman wrote:

    On Jul 10, 2025, at 21:03, Kaya Saman <kayasaman@optiplex-networks.com> 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?



    --
    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 Moin Rahman@bofh@freebsd.org to muc.lists.freebsd.ports on Fri Jul 11 19:13:36 2025
    From Newsgroup: muc.lists.freebsd.ports

    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 <kayasaman@optiplex-networks.com> wrote:

    N++
    On 7/10/25 8:05 PM, Moin Rahman wrote:

    On Jul 10, 2025, at 21:03, Kaya Saman <kayasaman@optiplex-networks.com> 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?

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