You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Rust 1.28.0 build fails in the Guix distribution. We are using quite similar build processes (using ./x.py) for each of the Rust versions, and the versions 1.23.0, 1.24.1, 1.25.0, 1.26.2, 1.27.0, 1.27.2 work fine with it, but Rust 1.28.0 fails while testing (right after rustdoc).
In order to isolate the problem, I tried to run "/gnu/store/vkh0akdppdj1ddqwprx0czm6i8p158xx-rust-1.27.0-cargo/bin/cargo" "test" "--" "--test-threads=1" myself - but apparently I'm missing lots of environment variables whose values I do not know.
@daym you might be missing the RUSTC_BOOTSTRAP=1 environment variable (which gets set somewhere by the build system). This should get past any errors about using unstable features.
Is the build issue with 1.28 still relevant, given that we've already bootstrapped later rustc version within Guix?
Nikolai Merinov backported a patch from #51977 in order to work around the problem. It's very much still present in the original 1.28.0 release otherwise.
For the sake of others I respectfully suggest you to release 1.28.1 with just the patch above applied.
Activity
daym commentedon Sep 15, 2018
I've got extensive log files (15 MiB). If you want, I can put them up somewhere.
The last few lines of the failed build are:
I'm not sure why it's trying to bootstrap that late in the build - it didn't do that in 1.27.2.
This problem is reproducible every time.
Note that we install files ourselves - which means we only install the files "rustc", "cargo" and "rustdoc" for each package. Could that be a problem?
daym commentedon Sep 15, 2018
In order to isolate the problem, I tried to run "/gnu/store/vkh0akdppdj1ddqwprx0czm6i8p158xx-rust-1.27.0-cargo/bin/cargo" "test" "--" "--test-threads=1" myself - but apparently I'm missing lots of environment variables whose values I do not know.
[-]rust 1.28.0 build fails[/-][+]rust 1.28.0 build fails - test failure[/+]ipetkov commentedon Mar 8, 2019
@daym you might be missing the
RUSTC_BOOTSTRAP=1environment variable (which gets set somewhere by the build system). This should get past any errors about using unstable features.Is the build issue with 1.28 still relevant, given that we've already bootstrapped later rustc version within Guix?
daym commentedon Mar 8, 2019
Nikolai Merinov backported a patch from #51977 in order to work around the problem. It's very much still present in the original 1.28.0 release otherwise.
For the sake of others I respectfully suggest you to release 1.28.1 with just the patch above applied.
jyn514 commentedon Feb 3, 2023
I'm going to close this, we're not going to backport patches to 1.28 at this late date.