[MacPorts] #71249: Installation failes: "sh: sapi/cli/php: No such file or directory"

MacPorts noreply at macports.org
Wed Nov 6 08:50:25 UTC 2024


#71249: Installation failes: "sh: sapi/cli/php: No such file or directory"
-----------------------+--------------------
 Reporter:  jonaskohl  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.10.4
 Keywords:             |       Port:  php83
-----------------------+--------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/71249>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list