Re: devel/pear broken with php81

From: Moin Rahman <bofh_at_freebsd.org>
Date: Sun, 03 Aug 2025 20:03:17 UTC

> On Aug 3, 2025, at 21:29, Miroslav Lachman <000.fbsd@quip.cz> wrote:
> 
> On 03/08/2025 21:09, Moin Rahman wrote:
>>> On Aug 3, 2025, at 21:04, Miroslav Lachman <000.fbsd@quip.cz> wrote:
>>> 
>>> Hello,
>>> I have seen you your last two commits in devel/pear. One adding IGNORE_WITH_PHP= 81 and the other reverting this commit. But I cannot find any information in Bugzilla nor mailing list about it. Was something somewhere fixed with PEAR / PHP 8.1 / limbxml2?
>>> 
>>> I am trying to build a quarterly 2025Q3 but it failed:
> 
> [...]
> 
>>> Is quarterly 2025Q3 missing some fix from latest?
>>> 
>>> 
>>> Kind regards
>>> Miroslav Lachman
>>> 
>>> 
>> Hi,
>> No. So far there is no fix. Unfortunately my commit breaks bulk build hence I
>> had to revert it.
>> Currently there is no easy way to stop building pear for php81 or any other
>> version. It needs some changes in the pear.mk which I am working on but will
>> take some times.
>> But be aware that there is no fix for this and most probably will not be
>> considering php81 is on band-aid mode. Neither on tip nor quarterly.
>> Kind regards,
>> Moin
> 
> Is the problem with PEAR and php81 directly related to libxml2? Will it build if I use an old (vulnerable) libxml2 in a ports overlay? We still have a few machines with PHP 8.1 planned to upgrade in September or October so I would like to have other packages upgraded instead of running the machines for a 3 months without fix for outdated packages from 2025Q2.
> 
> Thank you for you reply!
> 
> Kind regards
> Miroslav Lachman


Hi,

Yes. It will work if you go back to this[1].

But be aware that other things might break as there has been plethora of
commits to fix builds with latest libxml2 in other ports. If those are
not properly patched with version handling than things might really take
an ugly turn.

Kind regards,
Moin

1. https://cgit.freebsd.org/ports/commit/?id=9441ca687e274fd7d12ea56b88e95a529094cd62