[MacPorts] #64679: zig build breaks on High Sierra 10.13.6
MacPorts
noreply at macports.org
Thu Feb 17 05:07:38 UTC 2022
#64679: zig build breaks on High Sierra 10.13.6
--------------------------+--------------------
Reporter: kickingvegas | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port:
--------------------------+--------------------
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.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64679>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list