Opened 3 years ago
Closed 20 months ago
#64658 closed defect (fixed)
zig @0.9.0 undefined symbols __availability_version_check, _fstatat$INODE64
Reported by: | cave-canem | Owned by: | felix@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | Mavericks | Cc: | evd6219@…, cave-canem |
Port: | zig |
Description
sudo port -vd install zig ... Undefined symbols for architecture x86_64: "__availability_version_check", referenced from: ___isPlatformVersionAtLeast in zig1.o "_fstatat$INODE64", referenced from: _std.fs.Dir.deleteFile in zig1.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [zig] Error 1 make[2]: Leaving directory `/opt/MacPorts/var/macports/build/_opt_macports-ports_lang_zig/zig/work/build' make[1]: *** [CMakeFiles/zig.dir/all] Error 2 make[1]: Leaving directory `/opt/MacPorts/var/macports/build/_opt_macports-ports_lang_zig/zig/work/build' make: *** [all] Error 2 make: Leaving directory `/opt/MacPorts/var/macports/build/_opt_macports-ports_lang_zig/zig/work/build' Command failed: cd "/opt/MacPorts/var/macports/build/_opt_macports-ports_lang_zig/zig/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON Exit code: 2 Error: Failed to build zig: command execution failed DEBUG: Error code: CHILDSTATUS 55675 2 DEBUG: Backtrace: command execution failed while executing "system {*}$notty {*}$callback {*}$nice $fullcmdstring" invoked from within "command_exec -callback portprogress::target_progress_callback build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname"
Detailed log in attachment
Attachments (1)
Change History (8)
Changed 3 years ago by cave-canem
Attachment: | main.log.tar.xz added |
---|
comment:1 Changed 3 years ago by jmroot (Joshua Root)
Summary: | zig @0.9.0 Failed to build Error code: CHILDSTATUS 55675 2 ("$procedure $targetname") → zig @0.9.0 undefined symbols __availability_version_check, _fstatat$INODE64 |
---|
comment:2 Changed 3 years ago by cave-canem
Cc: | cave-canem added |
---|---|
Owner: | set to cave-canem, zack466 |
Status: | new → assigned |
Summary: | zig @0.9.0 undefined symbols __availability_version_check, _fstatat$INODE64 → zig @0.9.0 Failed to build Error code: CHILDSTATUS 55675 2 ("$procedure $targetname") |
comment:3 Changed 3 years ago by jmroot (Joshua Root)
Cc: | felix@… removed |
---|---|
Owner: | changed from cave-canem, zack466 to felix@… |
Summary: | zig @0.9.0 Failed to build Error code: CHILDSTATUS 55675 2 ("$procedure $targetname") → zig @0.9.0 undefined symbols __availability_version_check, _fstatat$INODE64 |
comment:4 Changed 3 years ago by evanmiller (Evan Miller)
This error appears to affect 10.14 and earlier:
https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/114600
comment:5 Changed 3 years ago by mforbes (Michael McNeil Forbes)
For anyone stumbling on this because of ncdu
note that you can install ncdu1
as a workaround. https://github.com/macports/macports-ports/pull/13978
comment:6 Changed 3 years ago by jspraul
https://github.com/ziglang/zig/pull/10232#issue-1064864004
did not retain the backwards compatibility logic [...] Zig supports only the last three macOS versions
comment:7 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
main.log