macports - 构建coreutils失败:命令执行失败(form macports返回)
问题描述
我正在尝试通过 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.
非常感谢。
解决方案
您提供的信息不足以确定失败的原因,因为所有相关信息已被剥离。
如果您遇到这样的错误,通常的程序是在https://trac.macports.org上打开错误报告并附上完整main.log
文件;更好的是,首先检查一个是否已经存在。通过查看https://trac.macports.org/query?0_port=coreutils,它看起来可能是错误#59071,但同时该错误已得到解决,如果不包含更多信息则无法判断。
推荐阅读
- data-structures - 存储和打印字符、频率对的最有效算法是什么?
- apt - 无法进行 apt 更新,我得到了禁止的 403 错误
- mysql - 如何在mysql单查询中删除具有外键约束的记录
- xml - 用 XML 描述图
- laravel-5 - Laravel + Vue 页面重定向
- jekyll - 如何防止我的 github 页面将帖子标题设为“标题大小写”
- php - Laravel 使用连接查询获取所有组以及每个组组成员的计数
- python - 如何通过修改代码使 itertools.permutations() 将每个示例写入文件 - Python
- sockets - 如何使客户端应用程序在 Adobe AIR 中使用 ServerSocket 自动连接到服务器应用程序,而无需输入 IP 和端口?
- c++ - Crypto++ 的未定义参考,尽管它已链接并在其他项目中工作