[MacPorts] #70987: php73, php74, php80, php81: Segmentation fault when generating phar.php
MacPorts
noreply at macports.org
Sun Oct 13 13:02:54 UTC 2024
#70987: php73, php74, php80, php81: Segmentation fault when generating phar.php
-------------------------------------------------+-------------------------
Reporter: exlemor | Owner: ryandesign
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Resolution: fixed | Keywords: sequoia
Port: php73 php74 php80 php81 php82 | haspatch
php83 php84 |
-------------------------------------------------+-------------------------
Comment (by exlemor):
Well, it may be supposed to work but it is still not working... ;(
(Sequoia 15.0.1)
First I started PhpWebStudy, it said there was an update so I updated it.
Then, I tried installing php7.4 from MacPorts and it said during the
installation that macports was out of date so after it finished and failed
that installation, I did sudo port clean php74 then after that, I did sudo
port selfupdate command as requested by the installation process...
then sudo port upgrade outdated as I had 2 components that were out of
date...
but still...
ld: warning: ignoring duplicate libraries: '-largon2', '-lxml2', '-lz'
Undefined symbols for architecture x86_64:
"_res_9_dn_expand", referenced from:
_php_parserr in dns.o
_php_parserr in dns.o
_php_parserr in dns.o
_php_parserr in dns.o
_php_parserr in dns.o
_php_parserr in dns.o
_zif_dns_get_mx in dns.o
...
"_res_9_dn_skipname", referenced from:
_zif_dns_get_record in dns.o
_zif_dns_get_mx in dns.o
_zif_dns_get_mx in dns.o
"_res_9_init", referenced from:
_zif_dns_check_record in dns.o
_zif_dns_get_record in dns.o
_zif_dns_get_mx in dns.o
"_res_9_search", referenced from:
_zif_dns_check_record in dns.o
_zif_dns_get_record in dns.o
_zif_dns_get_mx in dns.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
ld: warning: ignoring duplicate libraries: '-largon2', '-lxml2', '-lz'
Undefined symbols for architecture x86_64:
"_res_9_dn_expand", referenced from:
_php_parserr in dns.o
_php_parserr in dns.o
_php_parserr in dns.o
_php_parserr in dns.o
_php_parserr in dns.o
_php_parserr in dns.o
_zif_dns_get_mx in dns.o
...
"_res_9_dn_skipname", referenced from:
_zif_dns_get_record in dns.o
_zif_dns_get_mx in dns.o
_zif_dns_get_mx in dns.o
"_res_9_init", referenced from:
_zif_dns_check_record in dns.o
_zif_dns_get_record in dns.o
_zif_dns_get_mx in dns.o
"_res_9_search", referenced from:
_zif_dns_check_record in dns.o
_zif_dns_get_record in dns.o
_zif_dns_get_mx in dns.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [sapi/phpdbg/phpdbg] Error 1
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'
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 -j12 -w all
Exit code: 2
Error: Failed to build php74: command execution failed
Error: 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.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port php74 failed
Any thoughts ;(
--
Ticket URL: <https://trac.macports.org/ticket/70987#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list