-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rust 1.44.0 fails to build in miri v0.1.0 on NetBSD/i386 8.0 #73117
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
Comments
BTW, I have also now received reports that 1.44.0 also fails to build on NetBSD/amd64 versions 9.99.64 and 9.99.65 ("-current" development versions), so this isn't just an i386 issue, apparently. |
I see this on |
This is primarily due to rust-lang/rust#73117 (build failure on NetBSD/i386 8.0) which is reportedly seen also on NetBSD/amd64 9.99.64 and 9.99.65.
Actually... @jperkin informed me that this build error is in fact non-fatal for the build as a whole, and now that I do a double take, that appears indeed to be the case -- the build completed despite the errors in this apparently-optional module. Still, the principle of general tidyness would dictate that this should be dealt with one way or the other. |
@RalfJung should Miri even build for stable releases? |
No, Miri is not expected to build on beta/stable. It's a nightly-only tool. |
@he32 why are you even trying to build Miri? Distro packages for stable Rust should not do that. |
We aren't specifically building it, or at least not that we're aware of, it's just being automatically built as part of At least I don't see anything in our build target or configure arguments that appear out of the ordinary. The pkgsrc Makefile for rust is here: https://github.com/NetBSD/pkgsrc/blob/trunk/lang/rust/Makefile, it has a bunch of bits you can ignore but the |
Hm, usually this is controlled (I think) by the |
The
However, also in my case,
And as @jperkin says, our builds are started with either |
@Mark-Simulacrum do you know what the default is for the |
@mati865 so if before and after we built all tools, then what changed?^^ |
@mati865 so how can the BSD folks build cargo (and clippy?) but not Miri? That Rust code doesn't tell me that I'm afraid...^^ |
But it seems almost as if that code makes all tools enabled per default? |
By uncommenting this line:
Yeah, all tools are build by default when |
I reviewed the build logs for earlier rust versions I had lying around, and it looks like Miri was successfully built as part of rust 1.43.1, 1.43.0, 1.41.0, 1.40.0, 1.39.0, 1.38.0, and 1.37.0, hence my surprise that it didn't successfully build in 1.44.0. Besides, the above statement looks really strange to an outsider like me. Where the 1.44.0 build failed, I have in the build log for 1.43.1:
etc. etc. |
Yeah, most of the time Miri builds, and thus happens to also build when the beta is branched. But this time it didn't and that's okay. Miri is explicitly exempt from CI on our beta/stable branch.
What is odd about the statement of a tool being nightly-only and experimental? Miri is not part of the official stable |
I read it as "Miri is never expected to build in stable / releases, but (mostly?) builds fine in the current development version." which struck me as really strange. Now it just looks like a "bad time" was encountered between cutting the release and the ability to build "Miri" which is more understandable once I understood it's experimental and optional. However, I'm a proponent of "sane defaults". If "Miri" is not expected to be built as part of a release, I would have expected its build to be disabled by default in a release. The suggestion to un-comment the |
So would I. I didn't know we build it by default. I submitted #73232 to fix that, but unfortunately this touches barely documented parts of |
rust-lang/rust#73117 Signed-off-by: Georgy Yakovlev <[email protected]>
rust-lang/rust#73117 Signed-off-by: Georgy Yakovlev <[email protected]>
rust-lang/rust#73117 Signed-off-by: Georgy Yakovlev <[email protected]>
I have already successfully built rust 1.44.0 on NetBSD/amd64 8.0.
Next I'm tackling NetBSD/i386 8.0, but that is not going as expected, the build
errors out after hours of apparent successful building with
and several more instances of a similar error, and
I'm confused. Why would the amd64 build succeed and the i386 build fail when
building the same sources, with what appears to be a rust language issue??
I expected the build on NetBSD/i386 8.0 to succeed.
Instead, this happened: (see above).
The bootstrap compiler is rust 1.43.1.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: