macports 构建错误

发布于 2024-11-25 20:42:03 字数 2845 浏览 1 评论 0原文

有人以前见过这个吗?

version:1
:debug:main Executing org.macports.main (p7zip)
:debug:main Skipping completed org.macports.fetch (p7zip)
:debug:main Skipping completed org.macports.checksum (p7zip)
:debug:main setting option extract.cmd to /usr/bin/bzip2
:debug:main Skipping completed org.macports.extract (p7zip)
:debug:main Skipping completed org.macports.patch (p7zip)
:debug:main Skipping completed org.macports.configure (p7zip)
:msg:main --->  Building p7zip
:debug:build build phase started at Sun Jul 24 17:36:04 MST 2011
:debug:build Executing org.macports.build (p7zip)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/work/p7zip_9.20.1" && /usr/bin/make -j4 all3'
:info:build sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/work/p7zip_9.20.1: No such file or directory
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/work/p7zip_9.20.1" && /usr/bin/make -j4 all3 " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for p7zip): org.macports.destroot org.macports.build
:notice:build Log for p7zip is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/main.log

尝试运行时,我在日志中收到此错误:

$sudo port install ImageMagick
--->  Building p7zip
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for p7zip is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade p7zip failed
To report a bug, see <http://guide.macports.org/#project.tickets>
-MacBook-Pro:picasso xxxx$ /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/main.log
-bash: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/main.log: Permission denied

Anyone seen this before?

version:1
:debug:main Executing org.macports.main (p7zip)
:debug:main Skipping completed org.macports.fetch (p7zip)
:debug:main Skipping completed org.macports.checksum (p7zip)
:debug:main setting option extract.cmd to /usr/bin/bzip2
:debug:main Skipping completed org.macports.extract (p7zip)
:debug:main Skipping completed org.macports.patch (p7zip)
:debug:main Skipping completed org.macports.configure (p7zip)
:msg:main --->  Building p7zip
:debug:build build phase started at Sun Jul 24 17:36:04 MST 2011
:debug:build Executing org.macports.build (p7zip)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/work/p7zip_9.20.1" && /usr/bin/make -j4 all3'
:info:build sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/work/p7zip_9.20.1: No such file or directory
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/work/p7zip_9.20.1" && /usr/bin/make -j4 all3 " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for p7zip): org.macports.destroot org.macports.build
:notice:build Log for p7zip is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/main.log

I got this error in the log when trying to run:

$sudo port install ImageMagick
--->  Building p7zip
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for p7zip is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade p7zip failed
To report a bug, see <http://guide.macports.org/#project.tickets>
-MacBook-Pro:picasso xxxx$ /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/main.log
-bash: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_p7zip/main.log: Permission denied

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

还不是爱你 2024-12-02 20:42:03

看来p7zip升级没有成功。
尝试 sudo port uninstall p7zipsudo port clean --all vile 删除“可能”损坏的获取端口,然后 sudo port install p7zip

完成所有这些后,再次尝试 sudo port install ImageMagick

It seems that the Upgrade of p7zip did not succeed.
Try sudo port uninstall p7zip and sudo port clean --all vile get rid of 'possible' corrupted fetched ports, then sudo port install p7zip.

When all this is done, try again sudo port install ImageMagick.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文