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?


Attachment: main.log
Description: Binary data

Reply via email to