You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
feel free to close and treat it as information only. I noticed this while working on the integration of uutils-coreutils 0.0.28 into Yocto and thought it could be relevant. Maybe some CI job needs to be changed to build with selinux enabled?
Commit 10d3e98 which is between release 0.0.27 and release 0.0.28 updated selinux-sys to a version which requires Rust 1.77, because it uses "offset_of".
0.0.28 fails to compile with 1.70 with selinux enabled:
ecordonnier@lj8k2dq3:~/dev/coreutils$ rustup install 1.70
ecordonnier@lj8k2dq3:~/dev/coreutils$ cargo +1.70 build --features selinux
...
error[E0433]: failed to resolve: could not find `offset_of` in `mem`
--> /home/ecordonnier/dev/coreutils/target/debug/build/selinux-sys-1def5c504f36bce5/out/selinux-sys.rs:1384:54
|
1384 | ["Offset of field: dir_xattr::next"][::std::mem::offset_of!(dir_xattr, next) - 24usize];
| ^^^^^^^^^ could not find `offset_of` in `mem`
For more information about this error, try `rustc --explain E0433`.
error: could not compile `selinux-sys` (lib) due to 43 previous errors
0.0.28 actually requires rust 1.77 when selinux is enabled:
Hello,
feel free to close and treat it as information only. I noticed this while working on the integration of uutils-coreutils 0.0.28 into Yocto and thought it could be relevant. Maybe some CI job needs to be changed to build with selinux enabled?
Commit 10d3e98 which is between release 0.0.27 and release 0.0.28 updated selinux-sys to a version which requires Rust 1.77, because it uses "offset_of".
0.0.28 fails to compile with 1.70 with selinux enabled:
0.0.28 actually requires rust 1.77 when selinux is enabled:
The text was updated successfully, but these errors were encountered: