https://bugzilla.redhat.com/show_bug.cgi?id=2256840
--- Comment #5 from Bryan Gurney <bgurney(a)redhat.com> ---
That's true; to create loop devices, the user needs to have root privileges.
I had a spare F39 VM with packaged cargo installed, and after cloning the
upstream source tree, and after fixing an "unable to find libclang" error from
rustc by installing "clang-libs" I was able to successfully run "sudo
cargo
test --tests" on the system.
I added the "%check" section that you recommended, and it looks good; both the
"lib" and "doc" tests now pass.
Updated files at the URLs above, with new sha512sums:
264d98e83102b9da65965c84f03f867b0e7a0c36d1df8ee0c448d07e7ee3e4de60e510b3f673fdf747f5ee74eaf5c05572ef7c7543558ca0b46903bb823fa15d
rust-loopdev-3.spec
d36b2dc079eef0f12adcc0f2ef23ccf27774e76622c69884f604472cc50ed219ab0e152603d7783e296feb968a331c856d68caa805db385519bdfb44ad2a4ccc
rust-loopdev-3-0.5.0-1.fc40.src.rpm
(should be the same source file as before; I see this from both crates.io, and
what I had when I test-extracted the source RPM:)
150540183d47da65254b5698884794b2d2fde5eb9b1ccc4ebfa49bbba1476b02d0143a49f3acfb5e1feef5213bc470f39ae3d3b00dda185bb1e90053c75bb2e9
loopdev-3-0.5.0.crate
--
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2256840
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...