Open gralp-1 opened 2 years ago
I'm building on Monterey on M1 and I'm getting this log after installing XQuartz 2.8.1 and running cargo install --path .
cargo install --path .
gralp [master|✔] wtftw >> LIBRARY_PATH=/opt/X11/lib cargo build Compiling x11 v2.18.2 Compiling chrono v0.4.19 Compiling wtftw_core v0.3.2 (/Users/ralphgreer-walker/Desktop/Code/wtftw/core) error: failed to run custom build command for `x11 v2.18.2` Caused by: process didn't exit successfully: `/Users/ralphgreer-walker/Desktop/Code/wtftw/target/debug/build/x11-b463bf188a66508e/build-script-build` (exit code: 101) --- stdout cargo:rerun-if-env-changed=X11_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=X11_STATIC cargo:rerun-if-env-changed=X11_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=X11_STATIC cargo:rerun-if-env-changed=X11_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rustc-link-search=native=/opt/homebrew/Cellar/libx11/1.7.2/lib cargo:rustc-link-lib=X11 cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=X11_STATIC cargo:rerun-if-env-changed=X11_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=XINERAMA_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=XINERAMA_STATIC cargo:rerun-if-env-changed=XINERAMA_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR --- stderr thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"xinerama\" \"xinerama >= 1.1\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package xinerama was not found in the pkg-config search path.\nPerhaps you should add the directory containing `xinerama.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'xinerama\' found\nPackage xinerama was not found in the pkg-config search path.\nPerhaps you should add the directory containing `xinerama.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'xinerama\' found\n" } }', /Users/ralphgreer-walker/.cargo/registry/src/github.com-1ecc6299db9ec823/x11-2.18.2/build.rs:36:67 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... warning: panic message is not a string literal --> core/src/config.rs:211:34 | 211 | Err(e) => panic!(format!( | __________________________________^ 212 | | "mkdir: {} failed with error {}", 213 | | self.internal.wtftw_dir.clone(), 214 | | e 215 | | )), | |_________________^ | = note: `#[warn(non_fmt_panic)]` on by default = note: this is no longer accepted in Rust 2021 = note: the panic!() macro supports formatting, so there's no need for the format!() macro here help: remove the `format!(..)` macro call | 211 | Err(e) => panic!( 212 | "mkdir: {} failed with error {}", 213 | self.internal.wtftw_dir.clone(), 214 | e 215 | ), | warning: 1 warning emitted error: build failed
Compiling x11 v2.18.2 warning: panic message is not a string literal --> core/src/config.rs:211:34 | 211 | Err(e) => panic!(format!( | __________________________________^ 212 | | "mkdir: {} failed with error {}", 213 | | self.internal.wtftw_dir.clone(), 214 | | e 215 | | )), | |_________________^ | = note: `#[warn(non_fmt_panic)]` on by default = note: this is no longer accepted in Rust 2021 = note: the panic!() macro supports formatting, so there's no need for the format!() macro here help: remove the `format!(..)` macro call | 211 | Err(e) => panic!( 212 | "mkdir: {} failed with error {}", 213 | self.internal.wtftw_dir.clone(), 214 | e 215 | ), | warning: 1 warning emitted error: failed to run custom build command for `x11 v2.18.2` Caused by: process didn't exit successfully: `/Users/ralphgreer-walker/Desktop/Code/wtftw/target/debug/build/x11-b463bf188a66508e/build-script-build` (exit code: 101) --- stdout cargo:rerun-if-env-changed=X11_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=X11_STATIC cargo:rerun-if-env-changed=X11_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=X11_STATIC cargo:rerun-if-env-changed=X11_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rustc-link-search=native=/opt/homebrew/Cellar/libx11/1.7.2/lib cargo:rustc-link-lib=X11 cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=X11_STATIC cargo:rerun-if-env-changed=X11_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=XINERAMA_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=XINERAMA_STATIC cargo:rerun-if-env-changed=XINERAMA_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR --- stderr thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"xinerama\" \"xinerama >= 1.1\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package xinerama was not found in the pkg-config search path.\nPerhaps you should add the directory containing `xinerama.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'xinerama\' found\nPackage xinerama was not found in the pkg-config search path.\nPerhaps you should add the directory containing `xinerama.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'xinerama\' found\n" } }', /Users/ralphgreer-walker/.cargo/registry/src/github.com-1ecc6299db9ec823/x11-2.18.2/build.rs:36:67 stack backtrace: 0: 0x10058b7fc - std::backtrace_rs::backtrace::libunwind::trace::h497c576c5e1cc672 at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 1: 0x10058b7fc - std::backtrace_rs::backtrace::trace_unsynchronized::h8fea9ae3a3ba9d1f at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x10058b7fc - std::sys_common::backtrace::_print_fmt::h720776bc6757fe29 at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:67:5 3: 0x10058b7fc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h422f16f69ac5423f at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:46:22 4: 0x1005a121c - core::fmt::write::h985e9caa05a639af at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/fmt/mod.rs:1092:17 5: 0x100588ee4 - std::io::Write::write_fmt::h70176f9e4e1e0793 at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/io/mod.rs:1572:15 6: 0x10058d4cc - std::sys_common::backtrace::_print::he4a7ae39846f41e5 at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:49:5 7: 0x10058d4cc - std::sys_common::backtrace::print::h6c8248706d5206d4 at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:36:9 8: 0x10058d4cc - std::panicking::default_hook::{{closure}}::hd85cd005c6a5aea9 at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:208:50 9: 0x10058cff4 - std::panicking::default_hook::h37655a6f12af708a at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:225:9 10: 0x10058da6c - std::panicking::rust_panic_with_hook::hc56223532a0d5c41 at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:591:17 11: 0x10058d65c - std::panicking::begin_panic_handler::{{closure}}::h42a3869835a95721 at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:497:13 12: 0x10058bc8c - std::sys_common::backtrace::__rust_end_short_backtrace::hf1e1b4bd26b69f75 at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:141:18 13: 0x10058d5c4 - rust_begin_unwind at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:493:5 14: 0x1005a6460 - core::panicking::panic_fmt::h7c577f19c73a5f11 at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/panicking.rs:92:14 15: 0x1005a63b8 - core::option::expect_none_failed::h0801d8e7bbc4f01c at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/option.rs:1329:5 16: 0x1005518ac - core::result::Result<T,E>::unwrap::h68de524b6cd8ea2c at /Users/ralphgreer-walker/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs:1037:23 17: 0x100550ec8 - build_script_build::main::h35795aab28d5d001 at /Users/ralphgreer-walker/.cargo/registry/src/github.com-1ecc6299db9ec823/x11-2.18.2/build.rs:36:5 18: 0x100550788 - core::ops::function::FnOnce::call_once::h9a3b5d63500393a4 at /Users/ralphgreer-walker/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5 19: 0x1005517c0 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2befeaafe84caada at /Users/ralphgreer-walker/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:125:18 20: 0x100550650 - std::rt::lang_start::{{closure}}::h8f2ebf58b4062abc at /Users/ralphgreer-walker/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/rt.rs:66:18 21: 0x10058ddb4 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h34504deaac765d35 at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/ops/function.rs:259:13 22: 0x10058ddb4 - std::panicking::try::do_call::hb1a7f41a59b76986 at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:379:40 23: 0x10058ddb4 - std::panicking::try::h356bd4e8503e0810 at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:343:19 24: 0x10058ddb4 - std::panic::catch_unwind::h4fbf2cb7aea9bf26 at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panic.rs:431:14 25: 0x10058ddb4 - std::rt::lang_start_internal::h0b39a9399182a96d at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/rt.rs:51:25 26: 0x100550628 - std::rt::lang_start::h86393cb4584847dd at /Users/ralphgreer-walker/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/rt.rs:65:5 27: 0x100550f9c - _main
I'm building on Monterey on M1 and I'm getting this log after installing XQuartz 2.8.1 and running
cargo install --path .
Error
Full backtrace