Open CrimsonFork opened 2 years ago
Can't think of much to add other than the title
backtrace
You need to install the dev package of fontconfig (most likely called fontconfig-dev)
fontconfig
fontconfig-dev
Can't think of much to add other than the title
``` $ RUST_BACKTRACE=full cargo run --release warning: file found to be present in multiple build targets: /media/b/Boris/data/software/git/stra/stevenarella/src/main.rs Compiling servo-fontconfig-sys v5.1.0 Compiling rayon-core v1.9.3 Compiling num-rational v0.4.1 Compiling xcb v1.1.1 Compiling glutin_glx_sys v0.1.8 Compiling aes v0.7.5 Compiling cfb8 v0.7.1 Compiling wayland-client v0.29.4 Compiling glutin_egl_sys v0.1.6 error: failed to run custom build command for `servo-fontconfig-sys v5.1.0` Caused by: process didn't exit successfully: `/media/b/Boris/data/software/git/stra/stevenarella/target/release/build/servo-fontconfig-sys-3107398df4d07e11/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-env-changed=FONTCONFIG_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=FONTCONFIG_STATIC cargo:rerun-if-env-changed=FONTCONFIG_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_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu 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_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu 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_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR --- stderr thread 'main' panicked at '`"pkg-config" "--libs" "--cflags" "fontconfig" "fontconfig >= 2.11.1"` did not exit successfully: exit status: 1 error: could not find system library 'fontconfig' required by the 'servo-fontconfig-sys' crate --- stderr Package fontconfig was not found in the pkg-config search path. Perhaps you should add the directory containing `fontconfig.pc' to the PKG_CONFIG_PATH environment variable No package 'fontconfig' found Package fontconfig was not found in the pkg-config search path. Perhaps you should add the directory containing `fontconfig.pc' to the PKG_CONFIG_PATH environment variable No package 'fontconfig' found ', /home/b/.cargo/registry/src/github.com-1ecc6299db9ec823/servo-fontconfig-sys-5.1.0/build.rs:34:17 stack backtrace: 0: 0x55b55cb17adc - std::backtrace_rs::backtrace::libunwind::trace::h7919b8809318ac9c at /rustc/1.62.1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x55b55cb17adc - std::backtrace_rs::backtrace::trace_unsynchronized::h979f463b12f9afbe at /rustc/1.62.1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x55b55cb17adc - std::sys_common::backtrace::_print_fmt::ha65c80ea2d19761b at /rustc/1.62.1/library/std/src/sys_common/backtrace.rs:66:5 3: 0x55b55cb17adc -backtrace