pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: php-intl 8.5.12 error
Providing an update on this:
I just need to clean the work and dependencies with `make clean` and
`make clean-depends` before rerunning `'PHP_VERSION_DEFAULT=85 make
package`.
The package installed OK, config copied OK and intl is working fine.
On Thu, Oct 22, 2026 at 3:28 PM P Gman <patrickgunsolley%gmail.com@localhost> wrote:
>
> Hello. I've happily made progress patching my systems with PHP 8.5.12
> including most extensions, however when building php-intl I get the
> following error:
>
> /usr/pkgsrc/textproc/php-intl/work/php-8.5.12/ext/intl/normalizer/normalizer_normalize.cpp:
> In function 'void zif_normalizer_normalize(zend_execute_data*,
> zval*)':
> /usr/pkgsrc/textproc/php-intl/work/php-8.5.12/ext/intl/normalizer/normalizer_normalize.cpp:150:28:
> error: 'safe_femalloc' was not declared in this scope; did you mean
> 'safe_pemalloc'?
> 150 | uret_buf = (UChar*)safe_femalloc(uret_len + 1,
> sizeof(UChar), 0, /* fallible */ true);
> | ^~~~~~~~~~~~~
> | safe_pemalloc
> /usr/pkgsrc/textproc/php-intl/work/php-8.5.12/ext/intl/normalizer/normalizer_normalize.cpp:152:17:
> error: 'RETURN_OOM' was not declared in this scope; did you mean
> 'RETURN_OBJ'?
> 152 | RETURN_OOM();
> | ^~~~~~~~~~
> | RETURN_OBJ
> /usr/pkgsrc/textproc/php-intl/work/php-8.5.12/ext/intl/normalizer/normalizer_normalize.cpp:177:25:
> error: 'RETURN_OOM' was not declared in this scope; did you mean
> 'RETURN_OBJ'?
> 177 | RETURN_OOM();
> | ^~~~~~~~~~
> | RETURN_OBJ
> *** Error code 1
>
> Stop.
> make: stopped making "all" in
> /usr/pkgsrc/textproc/php-intl/work/php-8.5.12/ext/intl
> *** Error code 1
>
> Stop.
> make[1]: stopped making "package" in /usr/pkgsrc/textproc/php-intl
> *** Error code 1
>
> Stop.
> make: stopped making "package" in /usr/pkgsrc/textproc/php-intl
>
> Advice on the best path forward?
>
> Thanks
Home |
Main Index |
Thread Index |
Old Index