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

Dependency on zbus breaks build on FreeBSD #184

Closed
xanderio opened this issue Sep 21, 2021 · 5 comments
Closed

Dependency on zbus breaks build on FreeBSD #184

xanderio opened this issue Sep 21, 2021 · 5 comments

Comments

@xanderio
Copy link

I was just trying to update to the lasted version and was greeted by this error message.

error[E0432]: unresolved import `nix::sys::socket::sockopt::PeerCredentials`
   --> /usr/home/xanderio/.cargo/registry/src/github.com-1ecc6299db9ec823/zbus-1.9.1/src/connection.rs:163:44
    |
163 |         use nix::sys::socket::{getsockopt, sockopt::PeerCredentials};
    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^ no `PeerCredentials` in `sys::socket::sockopt`

error[E0432]: unresolved import `nix::sys::socket::sockopt::PeerCredentials`
   --> /usr/home/xanderio/.cargo/registry/src/github.com-1ecc6299db9ec823/zbus-1.9.1/src/azync/connection.rs:180:44
    |
180 |         use nix::sys::socket::{getsockopt, sockopt::PeerCredentials};
    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^ no `PeerCredentials` in `sys::socket::sockopt`
@passcod
Copy link
Member

passcod commented Sep 21, 2021

Is this something zbus broke? Does it work building with --locked maybe?

@xanderio
Copy link
Author

That causes another problem with clearscreen

error[E0599]: no associated item named `IUTF8` found for struct `InputFlags` in the current scope
   --> /usr/home/xanderio/.cargo/registry/src/github.com-1ecc6299db9ec823/clearscreen-1.0.4/src/lib.rs:723:40
    |
723 |                     | InputFlags::ICRNL | InputFlags::IUTF8
    |                                                       ^^^^^ associated item not found in `InputFlags`

@passcod
Copy link
Member

passcod commented Sep 21, 2021

Ugh, yeah. I'll investigate

@passcod
Copy link
Member

passcod commented Sep 22, 2021

Worked around it in 8.1.1, I believe.

@xanderio
Copy link
Author

Thanks, version 8.1.1 compiles and runs on FreeBSD.

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

No branches or pull requests

2 participants