Closed lirannl closed 1 year ago
Looking at the error message, it seems like the executable of build script does not have its executable bit set.
This is probably a bug of rustc, not a bug of log, since it does not distribute any pre-compiled binaries.
I think upgrading to the latest rustc might fix the problem.
I just installed rust nightly on this machine a few minutes ago. Is that not new enough?
As for it not being log, why would it fail (consistently) while building log?
I just installed rust nightly on this machine a few minutes ago. Is that not new enough?
You need to runn "cargo +nightly build" in order to use the nightly compiler.
As for it not being log, why would it fail (consistently) while building log?
That's probably because of the caching. Try removing target, it might give different result.
I think this is a duplicate of https://github.com/rust-lang/log/issues/503, https://github.com/rust-lang/log/issues/425 and https://github.com/rust-lang/log/issues/424. See:
TL;DR as @NobodyXu said cargo clean
and try again.
Triage: Closing as duplicate, feel free to re-open if the issue still exists after running cargo clean
. Thanks for reporting!
I have an arm64 machine, and I'm trying to build a package that requires log.
Version: 0.4.17
(I assume this is an x86_64 executable that's being run, which obviously won't work on my machine)