You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: linking with `/opt/osxcross/target/bin/x86_64-apple-darwin14-clang` failed: exit status: 1
|
= note: env -u IPHONEOS_DEPLOYMENT_TARGET -u TVOS_DEPLOYMENT_TARGET LC_ALL="C" PATH="/usr/local/rustup/toolchains/1.76.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/bin:/opt/osxcross/target/bin:/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" ZERO_AR_DATE="1" "/opt/osxcross/target/bin/x86_64-apple-darwin14-clang" "-arch" "x86_64" "-m64" "/tmp/rustcR6YZvD/symbols.o" "/github/workspace/crates/cli/./target/x86_64-apple-darwin/release/deps/gamedig_cli-ce8d69e2f8f23a82.gamedig_cli.2a712326cf93e[214](https://github.com/gamedig/rust-gamedig/actions/runs/8299893209/job/22716634008#step:4:215)-cgu.0.rcgu.o" "-L" "/github/workspace/crates/cli/./target/x86_64-apple-darwin/release/deps" "-L" "/github/workspace/crates/cli/./target/release/deps" "-L" "/usr/local/rustup/toolchains/1.76.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-apple-darwin/lib" "/usr/local/rustup/toolchains/1.76.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-1ebaaaec5ccf50e8.rlib" "-framework" "CoreServices" "-framework" "CoreFoundation" "-liconv" "-lSystem" "-lc" "-lm" "-L" "/usr/local/rustup/toolchains/1.76.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-apple-darwin/lib" "-o" "/github/workspace/crates/cli/./target/x86_64-apple-darwin/release/deps/gamedig_cli-ce8d69e2f8f23a82" "-Wl,-dead_strip" "-nodefaultlibs" "-Wl,-rpath,@loader_path/../../../../../../../../usr/local/rustup/toolchains/1.76.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-apple-darwin/lib"
= note: ld: warning: object file (/tmp/rustcR6YZvD/symbols.o) was built for newer macOS version (10.12) than being linked (10.8)
ld: warning: object file (/github/workspace/crates/cli/./target/x86_64-apple-darwin/release/deps/gamedig_cli-ce8d69e2f8f23a82.gamedig_cli.2a712326cf93e214-cgu.0.rcgu.o) was built for newer macOS version (10.12) than being linked (10.8)
ld: warning: object file (/usr/local/rustup/toolchains/1.76.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-1ebaaaec5ccf50e8.rlib(compiler_builtins-1ebaaaec5ccf50e8.compiler_builtins.c3559bca4639892-cgu.099.rcgu.o)) was built for newer macOS version (10.12) than being linked (10.8)
ld: warning: object file (/usr/local/rustup/toolchains/1.76.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-1ebaaaec5ccf50e8.rlib(compiler_builtins-1ebaaaec5ccf50e8.compiler_builtins.c3559bca4639892-cgu.007.rcgu.o)) was built for newer macOS version (10.12) than being linked (10.8)
Undefined symbols for architecture x86_64:
"_clock_gettime", referenced from:
std::sys::unix::time::Timespec::now::h0ebd2e38935918ca in gamedig_cli-ce8d69e2f8f23a82.gamedig_cli.2a712326cf93e214-cgu.0.rcgu.o
"_getentropy", referenced from:
bson::document::Document::new::h8c46fad22ee1e139 in gamedig_cli-ce8d69e2f8f23a82.gamedig_cli.2a712326cf93e214-cgu.0.rcgu.o
std::sys::unix::rand::hashmap_random_keys::ha92d0a2687c22b7a in gamedig_cli-ce8d69e2f8f23a82.gamedig_cli.2a712326cf93e214-cgu.0.rcgu.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile `gamedig-cli` (bin "gamedig-cli") due to 1 previous error
Error: Command exited with non-zero exit code
Error: Build failed
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
Seems to be a linking error in what OS version we are targeting (
10.8
). we should try10.12
as log says.Steps To Reproduce
view for action for details
https://github.com/gamedig/rust-gamedig/actions/runs/8299893209/job/22716634008
Expected behavior
It should build without errors
Screenshots or Data
log:
Additional context
N/A
The text was updated successfully, but these errors were encountered: