pmm:~ pet$ sudo port install zig Password: Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly. Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'. ---> Computing dependencies for zig ---> Fetching archive for zig ---> Attempting to fetch zig-0.7.1_0.darwin_20.arm64.tbz2 from https://packages.macports.org/zig ---> Attempting to fetch zig-0.7.1_0.darwin_20.arm64.tbz2 from https://cph.dk.packages.macports.org/zig ---> Attempting to fetch zig-0.7.1_0.darwin_20.arm64.tbz2 from https://lil.fr.packages.macports.org/zig ---> Fetching distfiles for zig ---> Attempting to fetch zig-0.7.1.tar.gz from https://github.com/ziglang/zig/archive/0.7.1 ---> Verifying checksums for zig ---> Extracting zig ---> Configuring zig ---> Building zig ---> Staging zig into destroot Error: Failed to destroot zig: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port zig failed pmm:~ pet$
______________________________________________________________ > Od: goranmoo...@daum.net > Komu: "MacPorts Users" <macports-users@lists.macports.org> > Datum: 09.04.2021 19:47 > Předmět: Can anyone check if Zig 0.7.1 compiles on ARM MacPorts? > >I’ve been trying to build Zig 0.7.1 (recently updated) with MacPorts for a >few weeks, but it seems that it errors on my ARM mac [0]. > >Turns out building Zig from source with MacPorts provided LLVM also errors out >the same way (at least on my computer). >I’m suspecting LLVM (suggested by one from the Zig community), but I’m not >sure my error happens only on my machine or if it’s something that happens >everywhere. > >I would appreciate very much if anyone using an ARM Mac can try installing the >latest Zig (0.7.1) port. I would also appreciate if anyone using an Intel Mac >can confirm Zig compiles & installs properly. > >Thanks! > >[0]: https://lists.macports.org/pipermail/macports-users/2021-March/049773.html > >