-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wayland-sys 0.31.5 panic in build.rs
: wayland-client
required by wayland-sys
not found
#767
Comments
build.rs
build.rs
: The system library wayland-client
required by crate wayland-sys
was not found
You need the |
build.rs
: The system library wayland-client
required by crate wayland-sys
was not foundbuild.rs
: wayland-client
required by wayland-sys
not found
Does all users of our binary need it too? That will be quite annoying for them, especially X11 users.
I don't see anything special in https://github.com/rust-windowing/winit/blob/master/.github/workflows/ci.yml This happened when updating from |
The crate
That depends on what does your dependency using wayland-client, but assuming it uses the |
@emilk maybe something that was using wayland-sys disabled its |
I could indeed fix the problem by adding It might be nice to add that as a suggestion for others that hit the same wayland-rs/wayland-sys/build.rs Lines 9 to 11 in a078c5b
|
I updated a crate that pulled in a new
wayland-sys
, and now I get the following error on CI:The offending line is this, which unfortunately doesn't have a comment:
wayland-rs/wayland-sys/build.rs
Lines 9 to 11 in a078c5b
(it would be nice if the
unwrap
was replaced with a helpfulexpect
).CARGO_FEATURE_CLIENT
lead me to look at the documentation for theclient
feature flag, but again I came up short:wayland-rs/wayland-sys/Cargo.toml
Lines 24 to 26 in a078c5b
(I can recommend https://crates.io/crates/document-features for documenting features btw)
I would appreciate any guidance I can get (I don't speak Linux) 🙏
Is the fix as simple as adding
apt-get install wayland-client
to my CI?The text was updated successfully, but these errors were encountered: