[MacPorts] #70468: php74-apache2handler build fails for MacOS Sonoma (Apple M3)

MacPorts noreply at macports.org
Tue Jul 30 21:39:27 UTC 2024


#70468: php74-apache2handler build fails for MacOS Sonoma (Apple M3)
--------------------------+----------------------------------
 Reporter:  dLovell2001   |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.9.3
 Keywords:  sonoma arm64  |       Port:  php74-apache2handler
--------------------------+----------------------------------
 new computer - i've installed 2.9.3 - did selfupdate - installed apache24
 and php74 successfully.
 attempting to install php74-apache2handler fails. The log it points me to
 has this at the bottom:

 :info:build ld: symbol(s) not found for architecture arm64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make: *** [libs/libphp7.bundle] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php74-apache2handler/work/php-7.4.33'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php74-apache2handler/work/php-7.4.33"
 && /usr/bin/make -j12 -w libs/libphp7.bundle
 :info:build Exit code: 2
 :error:build Failed to build php74-apache2handler: command execution
 failed
 :debug:build Error code: CHILDSTATUS 52815 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/php74-apache2handler/main.log
 for details.

 I tried port clean but that fails:

 Can't map the URL 'file://.' to a port description file ("Could not find
 Portfile in
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php74-apache2handler").
 Please verify that the directory and portfile syntax are correct.
 To use the current port, you must be in a port's directory.

 I have no idea what is causing this. MacPorts has worked for me for years.
 I am doing everything as root

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


More information about the macports-tickets mailing list