Skip to content
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

OpenBSD: Need to bump wayland-client version number #1130

Closed
rennis250 opened this issue Mar 27, 2019 · 4 comments
Closed

OpenBSD: Need to bump wayland-client version number #1130

rennis250 opened this issue Mar 27, 2019 · 4 comments

Comments

@rennis250
Copy link

Hello,

I found out today that glutin no longer builds on OpenBSD, since it uses an older version of wayland-client (v0.21) that depends on an older nix crate (v0.12) that does not compile on OpenBSD. Bumping wayland-client to v0.23.1 fixes this issue for me.

Thanks,
Rob

@rennis250
Copy link
Author

Sorry! I spoke too soon. wayland-client v0.23.1 does not build. I'm determining a solution...

@rennis250
Copy link
Author

Ok, the problem goes deeper than that. Nix needs to be v0.13 everywhere (including in the wayland-rs crates), but the newest wayland-client (v0.23.1) also tries to use a nix feature that is not available on OpenBSD (it tries to check for an EPROTO errno). My temporary fix is to use an older glium version (0.20) that still compiles. Will open an issue at wayland-rs.

@rennis250
Copy link
Author

Issue opened: Smithay/wayland-rs#259

@rennis250
Copy link
Author

Actually, I was wrong about the whole EPROTO thing and need to correct the misinformation I spread. It turns out EPROTO and other new errnos have been available in OpenBSD since 6.2. Nix master was recently upgraded to account for that: nix-rust/nix#1036

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants