-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
[staging-next] stdenvBootstrapTools: fix cycle on aarch64-darwin #196909
Conversation
b86514e
to
147d564
Compare
Retargeted due to too many rebuilds on darwin. |
147d564
to
e0c70d5
Compare
Ping! I was told this issue would block a 22.11 release channel for Darwin. In that case, we may have only a couple staging-next cycles left to merge this? |
I approve of the compiler-rt changes, no clue about everything else. |
The error message changed, but it's still failing on Hydra: |
I'm away for a few more days, but I appear to have broken it in #185766 by introducing |
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change
…= "glibc"` This restores this check to what it originally was in NixOS#196909 (see: NixOS#196909 (comment)) and lets `compiler-rt` eval successfully when trying to compile the `llvmPackages_15` set for mingw targets (i.e. a platform that *is* GNU but does *not* use glibc). --- It's not clear to me what the `haveLibc` check is doing here (platforms that seem to use glibc like `x86_64-linux` and have `plat.libc == "glibc"` have `haveLibc = false` because `stdenv.cc.libc` is `null`).
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change (cherry picked from commit 3b6d98d)
…= "glibc"` This restores this check to what it originally was in #196909 (see: #196909 (comment)) and lets `compiler-rt` eval successfully when trying to compile the `llvmPackages_15` set for mingw targets (i.e. a platform that *is* GNU but does *not* use glibc). --- It's not clear to me what the `haveLibc` check is doing here (platforms that seem to use glibc like `x86_64-linux` and have `plat.libc == "glibc"` have `haveLibc = false` because `stdenv.cc.libc` is `null`). (cherry picked from commit d729907)
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change
…= "glibc"` This restores this check to what it originally was in #196909 (see: #196909 (comment)) and lets `compiler-rt` eval successfully when trying to compile the `llvmPackages_15` set for mingw targets (i.e. a platform that *is* GNU but does *not* use glibc). --- It's not clear to me what the `haveLibc` check is doing here (platforms that seem to use glibc like `x86_64-linux` and have `plat.libc == "glibc"` have `haveLibc = false` because `stdenv.cc.libc` is `null`).
`llvmPackages_15` originates from `llvmPackages_git` which does not include this change
…= "glibc"` This restores this check to what it originally was in NixOS#196909 (see: NixOS#196909 (comment)) and lets `compiler-rt` eval successfully when trying to compile the `llvmPackages_15` set for mingw targets (i.e. a platform that *is* GNU but does *not* use glibc). --- It's not clear to me what the `haveLibc` check is doing here (platforms that seem to use glibc like `x86_64-linux` and have `plat.libc == "glibc"` have `haveLibc = false` because `stdenv.cc.libc` is `null`).
Description of changes
This fixes the issue highlighted in: #186575 (comment)
There were actually two culprits:
trivial-builders.nix
to write shell scripts forxcbuild.xcrun
, but those rely onruntimeShell
which is apparently not possible at this stage. (I guess they create a dependency on the final stdenv, instead of whatever stdenv stage is part of bootstrap-tools?)I only tested evaluation of
{aarch64,x86_64}-darwin
.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes