[MacPorts] #71731: php74: cant rebuild

MacPorts noreply at macports.org
Fri Jan 3 08:28:19 UTC 2025


#71731: php74: cant rebuild
--------------------------+------------------------
  Reporter:  EfrosIonelu  |      Owner:  ryandesign
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.10.5
Resolution:               |   Keywords:
      Port:  php74        |
--------------------------+------------------------

Comment (by EfrosIonelu):

 :info:build ld: warning: ignoring duplicate libraries: '-largon2',
 '-lxml2', '-lz'
 :info:build Undefined symbols for architecture arm64:
 :info:build   "_res_9_dn_expand", referenced from:
 :info:build       _php_parserr in dns.o
 :info:build       _php_parserr in dns.o
 :info:build       _php_parserr in dns.o
 :info:build       _php_parserr in dns.o
 :info:build       _php_parserr in dns.o
 :info:build       _php_parserr in dns.o
 :info:build       _php_parserr in dns.o
 :info:build       ...
 :info:build   "_res_9_dn_skipname", referenced from:
 :info:build       _zif_dns_get_record in dns.o
 :info:build       _zif_dns_get_mx in dns.o
 :info:build       _zif_dns_get_mx in dns.o
 :info:build   "_res_9_init", referenced from:
 :info:build       _zif_dns_check_record in dns.o
 :info:build       _zif_dns_get_record in dns.o
 :info:build       _zif_dns_get_mx in dns.o
 :info:build   "_res_9_search", referenced from:
 :info:build       _zif_dns_check_record in dns.o
 :info:build       _zif_dns_get_record in dns.o
 :info:build       _zif_dns_get_mx in dns.o
 :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: *** [sapi/cli/php] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build ld: warning: ignoring duplicate libraries: '-largon2',
 '-lxml2', '-lz'
 :info:build Undefined symbols for architecture arm64:
 :info:build   "_res_9_dn_expand", referenced from:
 :info:build       _php_parserr in dns.o
 :info:build       _php_parserr in dns.o
 :info:build       _php_parserr in dns.o
 :info:build       _php_parserr in dns.o
 :info:build       _php_parserr in dns.o
 :info:build       _php_parserr in dns.o
 :info:build       _php_parserr in dns.o
 :info:build       ...
 :info:build   "_res_9_dn_skipname", referenced from:
 :info:build       _zif_dns_get_record in dns.o
 :info:build       _zif_dns_get_mx in dns.o
 :info:build       _zif_dns_get_mx in dns.o
 :info:build   "_res_9_init", referenced from:
 :info:build       _zif_dns_check_record in dns.o
 :info:build       _zif_dns_get_record in dns.o
 :info:build       _zif_dns_get_mx in dns.o
 :info:build   "_res_9_search", referenced from:
 :info:build       _zif_dns_check_record in dns.o
 :info:build       _zif_dns_get_record in dns.o
 :info:build       _zif_dns_get_mx in dns.o
 :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: *** [sapi/phpdbg/phpdbg] 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/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/work/php-7.4.33"
 && /usr/bin/make -j14 -w all
 :info:build Exit code: 2
 :error:build Failed to build php74: command execution failed
 :debug:build Error code: CHILDSTATUS 5578 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/main.log
 for details.

-- 
Ticket URL: <https://trac.macports.org/ticket/71731#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list