[MacPorts] #66590: zig @0.10.0_0 : Failed to build zig - command execution failed

MacPorts noreply at macports.org
Sun Jan 22 22:19:00 UTC 2023


#66590: zig @0.10.0_0 : Failed to build zig - command execution failed
----------------------+----------------------
  Reporter:  dfousek  |      Owner:  felix
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.0
Resolution:           |   Keywords:
      Port:  zig      |
----------------------+----------------------

Comment (by ylluminarious):

 Similar error occurring on M1 / ARM architectures:

 {{{
 :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)
 :info:build make[2]: *** [zig2] Error 1
 }}}

 Also, this affects the {{{ncdu}}} port which relies on Zig as a build
 dependency.

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


More information about the macports-tickets mailing list