macports - 无法构建 coreutils : command execution failed(form macports returned)

标签 macports gnu-coreutils php-zip-archive

我正在尝试通过 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.

然后我查看了日志,bug我不知道问题出在哪里。

这是日志的一部分。

: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.

非常感谢。🙏

最佳答案

您提供的信息不足以确定故障原因,因为所有相关信息均已被删除。

如果您遇到这样的错误,通常的做法是在 https://trac.macports.org 上打开错误报告并附加完整的 main.log 文件;更好的是,首先检查是否已经存在。通过查看https://trac.macports.org/query?0_port=coreutils看起来这可能是错误 #59071 ,但这个问题同时已得到解决,如果不包含更多信息就无法判断。

关于macports - 无法构建 coreutils : command execution failed(form macports returned),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58427302/

相关文章:

linux - du 的行为就好像总是给出 -h

bash - 如何在等待用户输入时更改 Bash 脚本的输出?

shell - 使用 grep 匹配零字节的问题

php - 在通过 php 创建 zip 文件时,我得到两个文件而不是一个

PHP将文件解压到目录中,更改解压文件夹的名称

python - 将 Python 从版本 2.7.9 降级到 2.7.8

postgresql - 在带有 MacPorts 的 Snow Leopard 上使用 postgresql84 和 postgis 时没有 liblwgeom

apache - 如何在 php 7.4 上安装 ziparchive?

ruby - 通过 macports 安装 ruby​​ 没有进展。这个 Action 需要多长时间?

通过 Macports 安装 Python 3.3 后,Python 版本消失了