pop-os / cosmic-epoch

Next generation Cosmic desktop environment
2.9k stars 78 forks source link

"failed to run custom build command for `wayland-sys v0.31.1`" during build #153

Closed KeyLawd closed 4 months ago

KeyLawd commented 10 months ago

Using Nobara 38. While building, I get the following :

error: failed to run custom build command for wayland-sys v0.31.1 Caused by: process didn't exit successfully: /home/germain/Téléchargements/cosmic-epoch/cosmic-settings/target/release/build/wayland-sys-9421446432b17e82/build-script-build (exit status: 101) --- stdout cargo:rerun-if-env-changed=WAYLAND_CLIENT_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=WAYLAND_CLIENT_STATIC cargo:rerun-if-env-changed=WAYLAND_CLIENT_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 /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wayland-sys-0.31.1/build.rs:10:47: called Result::unwrap() on an Err value: PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" PKG_CONFIG_ALLOW_SYSTEM_LIBS="1" "pkg-config" "--libs" "--cflags" "wayland-client" did not exit successfully: exit status: 1 error: could not find system library 'wayland-client' required by the 'wayland-sys' crate --- stderr Package wayland-client was not found in the pkg-config search path. Perhaps you should add the directory containing wayland-client.pc' to the PKG_CONFIG_PATH environment variable Package 'wayland-client', required by 'virtual:world', not found note: run withRUST_BACKTRACE=1environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: Recipebuild-debugfailed on line 48 with exit code 101 error: Recipebuild` failed on line 7 with exit code 101

I understand that I'm supposed to add some wayland stuff to the path, but I don't have any package called (nor installable) called wayland-client. Is there something I'm missing ?

Drakulix commented 10 months ago

On fedora the package you are looking for is called wayland-devel