-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
uucore build fails on OpenBSD #5448
Comments
would you like to prepare a patch? |
Thanks for the report! To guarantee support, we need a CI job in the long term. Of course, a patch for this particular issue is a great start, but if you want you could also help us by creating an OpenBSD CI job! |
@sylvestre I could try to fix the issues with I only have a limited experience with Rust. @tertsdiepraam Yes, adding a OpenBSD CI job would be a good solution to guarantee support in the long term.
|
I had some initial compile fixes for OpenBSD here: https://github.com/n1000/coreutils/tree/openbsd_compile_fixes But I was not compiling with the I ended up getting side tracked with some test failures so did not get around to raising the pull request. edit: @lcheylus If you have the bandwidth and would like to take this fix forward, please feel free (just drop a note here). Otherwise I can raise the pull request later on (probably would get back to it on the weekend). Either way is cool with me! |
Thanks @n1000 to fix compilation on OpenBSD. I merged your modifications in a personal branch, it works if I don't compile with I propose to split this issue in 3 different ones:
|
- uucore/src/lib/features/fs.rs: add target_os = OpenBSD when needed - uucore/src/lib/features/fsext.rs: implement FsUsage::new for OpenBSD - fixes uutils#5448 - initial code by n1000 https://github.com/n1000/coreutils/tree/openbsd_compile_fixes Signed-off-by: Laurent Cheylus <[email protected]>
On OpenBSD-current (future version 7.5) on amd64, with Rust 1.73.0,
uucore
build fails:After a quick analysis, 2 types of errors here:
utmpx
on OpenBSD inlibc
cratesrc/uucore/src/lib/features/fs.rs
andsrc/uucore/src/lib/features/fsext.rs
=> similar to errors detected to support NetBSD (issue#5288).The text was updated successfully, but these errors were encountered: