我正在尝试通过 macports 将 php-zip 安装到我的 macOS 上。
sudo port install php73-zip
然后 macports 返回此消息:
The following dependencies will be installed:
coreutils
...
...
Error: Failed to build coreutils: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_coreutils/coreutils/main.log for details.
然后我检查了日志,错误我不知道问题出在哪里。
这是日志的一部分。
:error:build Failed to build coreutils: command execution failed
:debug:build Error code: CHILDSTATUS 7693 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec build"
:debug:build (procedure "portbuild::build_main" line 8)
: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_sysutils_coreutils/coreutils/main.log for details.
非常感谢。