Can't compile because of gstreamer-validate dependency
Hello, I'm trying to run cargo build
in my Arch Linux and the crate gstreamer-validate
fails to compile because it can't find a system dependency.
I tried to install multiple gstreamer
related packages like:
gstreamer
gst-plugins-base
gst-plugins-bad
gst-plugins-ugly
gst-plugins-good
gst-libav
gst-rtsp-server
gst-editing-services
But none fixed the issue unfortunately. Here are the logs:
$ cargo build
Skipping git submodule `https://github.com/gtk-rs/gir` due to update strategy in .gitmodules
Skipping git submodule `https://github.com/gtk-rs/gir-files` due to update strategy in .gitmodules
Skipping git submodule `https://github.com/gtk-rs/gir` due to update strategy in .gitmodules
Skipping git submodule `https://github.com/gtk-rs/gir-files` due to update strategy in .gitmodules
Compiling gstreamer-validate-sys v0.21.0 (/home/rei/gstreamer-rs/gstreamer-validate/sys)
Compiling tutorials v0.21.0 (/home/rei/gstreamer-rs/tutorials)
Compiling examples v0.21.0 (/home/rei/gstreamer-rs/examples)
The following warnings were emitted during compilation:
warning: `"pkg-config" "--libs" "--cflags" "gstreamer-validate-1.0" "gstreamer-validate-1.0 >= 1.22"` did not exit successfully: exit status: 1
error: failed to run custom build command for `gstreamer-validate-sys v0.21.0 (/home/rei/gstreamer-rs/gstreamer-validate/sys)`
Caused by:
process didn't exit successfully: `/home/rei/gstreamer-rs/target/debug/build/gstreamer-validate-sys-41f9ec2fb4c88b11/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=GSTREAMER_VALIDATE_1.0_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" "gstreamer-validate-1.0" "gstreamer-validate-1.0 >= 1.22"` did not exit successfully: exit status: 1
error: could not find system library 'gstreamer-validate-1.0' required by the 'gstreamer-validate-sys' crate
--- stderr
Package gstreamer-validate-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-validate-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gstreamer-validate-1.0', required by 'virtual:world', not found
Package 'gstreamer-validate-1.0', required by 'virtual:world', not found
warning: build failed, waiting for other jobs to finish...
Do you know which package should I install to fix the issue? Thanks in advance!