-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
GNU Hurd compilation failure: expected SystemTime
, found timespec
#123032
Comments
cc target maintainer @sthibaul |
I guess This got broken by 408c0ea ("unix time module now return result") which dropped I guess the way forward is to make I'm wondering if there is a way to make sure that this kind of breakage doesn't happen before a rustc release? |
408c0ea ("unix time module now return result") dropped the From impl for SystemTime, breaking the hurd build (and probably the horizon build) Fixes rust-lang#123032
Our platform support policy is to avoid blocking PRs on whether tier 3 platforms build, because tier 3 platforms are not required to build. |
Sure, I'm not saying to block PRs, but I'm wondering about somehow getting notified quickly enough to be able to react before a rustc release. |
(as in: getting the break notice from a getrandom CI build a dozen days after the merge does not look that robust) |
@sthibaul Hm. Does the Rust compiler for hurd get built from a stable or beta branch of rustc? My understanding was that tier 3 targets generally used the nightly compiler in any case. |
In Debian we will use the stable releases to compile all rust-needing Debian packages, as the Debian policy requires. |
$ git branch --contains 408c0ea2162b9892540a5b3916ddcac7713de8c3 | rg '(stable|master|beta)'
beta
master The breaking commit is not in the current 1.77 release but is in the 1.78 beta. It will not be in a stable release for another 5 weeks-ish. Would you like your PR that fixes it to be beta-nominated, so that it gets backported and is in the stable release of 1.78? |
Yes, please. |
I recommend you set up a daily/weekly job on your side building master to check for regressions. (#109099 may fix this) |
unix fs: Make hurd using explicit new rather than From 408c0ea ("unix time module now return result") dropped the From impl for SystemTime, breaking the hurd build (and probably the horizon build) Fixes rust-lang#123032
unix fs: Make hurd using explicit new rather than From 408c0ea ("unix time module now return result") dropped the From impl for SystemTime, breaking the hurd build (and probably the horizon build) Fixes rust-lang#123032
Rollup merge of rust-lang#123057 - sthibaul:systemtime, r=jhpratt unix fs: Make hurd using explicit new rather than From 408c0ea ("unix time module now return result") dropped the From impl for SystemTime, breaking the hurd build (and probably the horizon build) Fixes rust-lang#123032
408c0ea ("unix time module now return result") dropped the From impl for SystemTime, breaking the hurd and horizon builds. Fixes rust-lang#123032
408c0ea ("unix time module now return result") dropped the From impl for SystemTime, breaking the hurd and horizon builds. Fixes rust-lang#123032 (cherry picked from commit 7b4e507)
Rust CI does not test `std` build for tier 3 targets, which means that breakage can go unnoticed for a long time (see rust-lang/rust#123032 and rust-lang/rust#133401). This results in unrelated CI breakages on our side. Additionally, removes OpenBSD from the tier3 build-only job since we test this target properly using VM.
Compiling project with
cargo build -Z build-std=std --target=i686-unknown-hurd-gnu --features="std"
causes the following compilation error:See this CI job.
The text was updated successfully, but these errors were encountered: