[MacPorts] #65333: zig 0.10.0 fails to build on arm64

MacPorts noreply at macports.org
Mon Aug 21 17:26:18 UTC 2023


#65333: zig 0.10.0 fails to build on arm64
---------------------------+------------------------
  Reporter:  i0ntempest    |      Owner:  i0ntempest
      Type:  defect        |     Status:  reopened
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:
      Port:  zig, llvm-13  |
---------------------------+------------------------

Comment (by maverickwoo):

 FWIW, I was just able to build zig 0.11.0 with the latest ports of clang
 16 and llvm 16 on arm64 with macOS 12. This subsequently allowed me to
 build ncdu 2.3 on the same machine.

 For the purpose of reproducibility, here are the small changes I've made
 to my local `Portfile`s:
 {{{
 [...]
 github.setup        ziglang zig 0.11.0
 [...]
 set llvm_version    16
 [...]
 checksums           rmd160  484834dc8cb38332eeaab2345f605c711198654f \
                     sha256
 71de3e958293dffaa17f7ad1438c775389f5406991c96b533bb1501178092b02 \
                     size    24606916
 }}}
 {{{
 [...]
     version             2.3
 [...]
     checksums           rmd160  f09fce3f38afc24c90c70345f9322c9e3dcee971 \
                         sha256
 bbce1d1c70f1247671be4ea2135d8c52cd29a708af5ed62cecda7dc6a8000a3c \
                         size    56608
 [...]
 }}}

 P.S. I am aware that this does not solve the problem that zig 0.10.1 does
 not build on the same machine (which I could also reproduce), but I
 thought this message may be useful for future visitors of this ticket. (I
 arrived here originally through ncdu.)

-- 
Ticket URL: <https://trac.macports.org/ticket/65333#comment:38>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list