【问题标题】:Failed to build coreutils: command execution failed(form macports returned)构建coreutils失败:命令执行失败(form macports返回)
【发布时间】:2020-02-14 01:27:28
【问题描述】:

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

非常感谢.????

【问题讨论】:

  • 您运行的是哪个版本的 macOS(catalina、mojave..)?
  • catalina 10.15.1 测试版

标签: macports gnu-coreutils php-zip-archive


【解决方案1】:

您提供的信息不足以确定失败的原因,因为所有相关信息都已被剥离。

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

【讨论】:

    猜你喜欢
    • 2014-03-03
    • 2018-02-18
    • 1970-01-01
    • 2017-12-07
    • 2012-07-11
    • 2021-12-17
    • 1970-01-01
    • 2022-06-29
    • 1970-01-01
    相关资源
    最近更新 更多