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

MacPorts noreply at macports.org
Wed Aug 23 17:56:49 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 jeffszuhay):

 from beginning of log file:

 {{{
 version:1
 :debug:main Starting logging for zig @0.10.1_0
 :debug:sysinfo macOS 13.5.1 (darwin/22.6.0) arch arm
 :debug:sysinfo MacPorts 2.8.1
 :debug:sysinfo Xcode 14.3.1, CLT 14.3.1.0.1.1683849156
 :debug:sysinfo SDK 13
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 13.0
 :debug:main Fetching zig-0.10.1_0.darwin_22.arm64.tbz2 archive size
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main cmake 3.24.4_0 exists in the ports tree
 :debug:main cmake 3.24.4_0  is the latest installed
 :debug:main cmake 3.24.4_0  is active
 }}}

 from failure location in log file:

 {{{
 :info:build Undefined symbols for architecture arm64:
 :info:build   "_panic_stage", referenced from:
 :info:build       _std.debug.panicImpl in zig2.o
 :info:build   "_panic_state_raw", referenced from:
 :info:build       _crash_report.PanicSwitch.preDispatch in zig2.o
 :info:build       _crash_report.PanicSwitch.dispatch in zig2.o
 :info:build   "_zir_state", referenced from:
 :info:build       _crash_report.AnalyzeBody.push in zig2.o
 :info:build       _crash_report.AnalyzeBody.pop in zig2.o
 :info:build       _crash_report.dumpStatusReport in zig2.o
 :info:build ld: symbol(s) not found for architecture arm64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 }}}

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


More information about the macports-tickets mailing list