php83-apache2handler fails to build
Horst B Simon
horst.simon2 at icloud.com
Fri Mar 21 07:57:51 UTC 2025
> On 21 Mar 2025, at 17:35, Ryan Carsten Schmidt <ryandesign at macports.org> wrote:
>
>
>> On Mar 21, 2025, at 00:31, Horst B Simon via wrote:
>>
>> I try to install php83-apache2handler and it fails to install on Ventura 13.7.4 and MacPorts-2.10.5-13-Ventura with following error:
>>
>> :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php83-apache2handler/work/php-8.3.12/ext/hash/hash_xxhash.c:82:13: error: no member named 'memsize' in 'struct XXH_NAMESPACEXXH32_state_s'
>> :info:build && ctx->s.memsize < 16) {
>> :info:build ~~~~~~ ^
>> :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php83-apache2handler/work/php-8.3.12/ext/hash/hash_xxhash.c:230:13: error: no member named 'memsize' in 'struct XXH_NAMESPACEXXH64_state_s'
>> :info:build && ctx->s.memsize < 32) {
>> :info:build ~~~~~~ ^
>> :info:build 2 errors generated.
>> :info:build make: *** [ext/hash/hash_xxhash.lo] Error 1
>> :info:build make: *** Waiting for unfinished jobs....
>> :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php83-apache2handler/work/php-8.3.12'
>> :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php83-apache2handler/work/php-8.3.12" && /usr/bin/make -j4 -w libs/libphp.bundle
>> :info:build Exit code: 2
>> :error:build Failed to build php83-apache2handler: command execution failed
>> :debug:build Error code: CHILDSTATUS 8023 2
>> :debug:build Backtrace: command execution failed
>> :debug:build while executing
>> :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
>> :debug:build invoked from within
>> :debug:build "command_exec -callback portprogress::target_progress_callback build"
>> :debug:build (procedure "portbuild::build_main" line 10)
>> :debug:build invoked from within
>> :debug:build "$procedure $targetname"
>> :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php83-apache2handler/main.log for details.
>>
>> Should I open a ticket for this error?
>
> Known issue. Workaround available.
>
> https://trac.macports.org/ticket/71706
>
Worked when installing with the -t option as mentioned in the ticket
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20250321/c2380aff/attachment.htm>
More information about the macports-users
mailing list