Newly added Zig portfile build error

조성빈 goranmoomin at daum.net
Sat Mar 27 17:37:47 UTC 2021


As the llvm-11 and zig PRs were merged, I selfupdated the macports port tree and tried to install zig.
Looks like the build fails when CMake tries to install the built binaries to destroot:

:info:destroot CMake Error at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.7.1/cmake/install.cmake:36 (message):
:info:destroot Call Stack (most recent call first):
:info:destroot   cmake_install.cmake:63 (include)
:info:destroot make: *** [install/fast] Error 1
:info:destroot make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/build'
:info:destroot Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/build" && /usr/bin/make -w install/fast DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/destroot 
:info:destroot Exit code: 2
:error:destroot Failed to destroot zig: command execution failed

Attached is the full build log… Is this something that I misconfigured or something that the updated portfile should be fixed?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.log
Type: application/octet-stream
Size: 81359 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210328/ddef1cfa/attachment.obj>


More information about the macports-users mailing list