Opened 2 weeks ago
Closed 2 weeks ago
#71249 closed defect (fixed)
php83 @8.3.12+universal: sh: sapi/cli/php: No such file or directory
Reported by: | jonaskohl (Jonas Kohl) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
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)
Change History (4)
Changed 2 weeks ago by jonaskohl (Jonas Kohl)
comment:1 Changed 2 weeks ago by reneeotten (Renee Otten)
Owner: | set to ryandesign |
---|---|
Status: | new → assigned |
Summary: | Installation failes: "sh: sapi/cli/php: No such file or directory" → php83: "sh: sapi/cli/php: No such file or directory" |
comment:2 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)
Status: | assigned → accepted |
---|---|
Summary: | php83: "sh: sapi/cli/php: No such file or directory" → php83 @8.3.12+universal: sh: sapi/cli/php: No such file or directory |
comment:3 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
Oh. This is a sanity check I recently added to the port to ensure that the
php
binary that got compiled actually works. But I forgot to consider the differences in layout when the +universal variant is used.