s390x Package RPM are Failing
rphillips opened this issue · comments
What happened?
Minor issue on s390x packaging builds.
Compiling conmonrs v0.1.0 (/builddir/build/BUILD/conmon-rs/conmon-rs/server)
error[E0308]: mismatched types
--> conmon-rs/server/src/oom_watcher.rs:19:48
|
19 | pub const CGROUP2_SUPER_MAGIC: FsType = FsType(libc::CGROUP2_SUPER_MAGIC as i64);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i64`
For more information about this error, try `rustc --explain E0308`.
error: could not compile `conmonrs` due to previous error
make: *** [Makefile:17: release] Error 101
error: Bad exit status from /var/tmp/rpm-tmp.iFW7as (%build)
What did you expect to happen?
I expect s390x packages to build correctly.
How can we reproduce it (as minimally and precisely as possible)?
N/A
Anything else we need to know?
No response
conmon-rs version
None
$ conmonrs --version
# paste output here
OS version
None
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here
Additional environment details (AWS, VirtualBox, physical, etc.)
None