Opened 3 hours ago

#71249 new defect

Installation failes: "sh: sapi/cli/php: No such file or directory"

Reported by: jonaskohl (Jonas Kohl) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.4
Keywords: Cc:
Port: php83

Description

When trying to install/upgrade php83, the installation fails with the following error:

:debug:build system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php83/work/php-8.3.12: sapi/cli/php -n -v
:info:build sh: sapi/cli/php: No such file or directory
:info:build Command failed: sapi/cli/php -n -v
:info:build Exit code: 127
:error:build Failed to build php83: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "$post $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php83/main.log for details.

Cleaning the port with sudo port clean php83 did not help and resulted in the same error again.

Attachments (1)

main.log (1.9 MB) - added by jonaskohl (Jonas Kohl) 3 hours ago.

Download all attachments as: .zip

Change History (1)

Changed 3 hours ago by jonaskohl (Jonas Kohl)

Attachment: main.log added
Note: See TracTickets for help on using tickets.