Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MathieuDuponchelle/e2d7ddc48a6a665cf192bb422d6604c5 to your computer and use it in GitHub Desktop.
Save MathieuDuponchelle/e2d7ddc48a6a665cf192bb422d6604c5 to your computer and use it in GitHub Desktop.
[ERROR rust_analyzer::lsp_utils] failed to run build scripts
 
The following warnings were emitted during compilation:
 
 
error: failed to run custom build command for `csound-sys v0.1.2`
 
Caused by:
process didn't exit successfully: `/home/meh/devel/gstreamer/subprojects/gst-plugins-rs/target/debug/build/csound-sys-a7f568cc3f4abf66/build-script-build` (exit status: 101)
 --- stdout
 cargo:warning=libcsound64 library not found in your system
 export the CSOUND_LIB_DIR env var with the path to the csound library, for example
 export CSOUND_LIB_DIR=/usr/lib
 
 --- stderr
 thread 'main' panicked at 'explicit panic', /home/meh/.cargo/registry/src/github.com-1ecc6299db9ec823/csound-sys-0.1.2/build.rs:44:5
 stack backtrace:
0: std::panicking::begin_panic
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:607:12
1: build_script_build::main
at ./build.rs:44:5
2: core::ops::function::FnOnce::call_once
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/ops/function.rs:251:5
 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
error: failed to run custom build command for `gdk4-sys v0.6.0 (https://github.com/gtk-rs/gtk4-rs#77b5a75a)`
 
Caused by:
 process didn't exit successfully: `/home/meh/devel/gstreamer/subprojects/gst-plugins-rs/target/debug/build/gdk4-sys-fa5d599656e42962/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=GTK4_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=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
`"pkg-config" "--libs" "--cflags" "gtk4" "gtk4 >= 4.6"` did not exit successfully: exit status: 1
error: could not find system library 'gtk4' required by the 'gdk4-sys' crate
 
--- stderr
Package gtk4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk4.pc'
 to the PKG_CONFIG_PATH environment variable
 Package 'gtk4', required by 'virtual:world', not found
 Package 'gtk4', required by 'virtual:world', not found
 
The following warnings were emitted during compilation:
 
 
error: failed to run custom build command for `gsk4-sys v0.6.0 (https://github.com/gtk-rs/gtk4-rs#77b5a75a)`
 
Caused by:
 process didn't exit successfully: `/home/meh/devel/gstreamer/subprojects/gst-plugins-rs/target/debug/build/gsk4-sys-beae2ac064fa4d7f/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=GTK4_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=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
cargo:warning=`"pkg-config" "--libs" "--cflags" "gtk4" "gtk4 >= 4.6"` did not exit successfully: exit status: 1
error: could not find system library 'gtk4' required by the 'gsk4-sys' crate
 
--- stderr
Package gtk4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk4.pc'
 to the PKG_CONFIG_PATH environment variable
 Package 'gtk4', required by 'virtual:world', not found
 Package 'gtk4', required by 'virtual:world', not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment