Opened 3 years ago

Closed 3 years ago

#64679 closed defect (duplicate)

zig build breaks on High Sierra 10.13.6

Reported by: kickingvegas (Charles Choi) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: zig

Description

port upgrade outdated tries to update zig

:info:build ld: warning: directory not found for option '-L/opt/local/share/cmake/Modules'
:info:build Undefined symbols for architecture x86_64:
:info:build   "__availability_version_check", referenced from:
:info:build       ___isPlatformVersionAtLeast in zig1.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[2]: *** [zig] Error 1
:info:build make[2]: 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:build make[1]: *** [CMakeFiles/zig.dir/all] Error 2
:info:build make[1]: 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:build make: *** [all] Error 2
:info:build 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:build 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 -j8 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build zig: command execution failed
:debug:build Error code: CHILDSTATUS 20253 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build 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.

Attachments (1)

main.log (410.6 KB) - added by kickingvegas (Charles Choi) 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by kickingvegas (Charles Choi)

Attachment: main.log added

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Port: zig added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.