Skip to content

darwin.CF: workaround intermittent CFRuntime.c failures#73572

Merged
vcunat merged 1 commit intoNixOS:staging-nextfrom
LnL7:darwin-cfruntime-hack
Nov 18, 2019
Merged

darwin.CF: workaround intermittent CFRuntime.c failures#73572
vcunat merged 1 commit intoNixOS:staging-nextfrom
LnL7:darwin-cfruntime-hack

Conversation

@LnL7
Copy link
Member

@LnL7 LnL7 commented Nov 17, 2019

Based on testing this issue seems to only occur with clang_7, so
we should be able to revert this when the default llvm versions are
updated.

Fixes #66811

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @NixOS/darwin-maintainers @vcunat @FRidh

Based on testing this issue seems to only occur with clang_7, so
we should be able to revert this when the default llvm versions are
updated.

Fixes NixOS#66811
@ofborg ofborg bot added 6.topic: darwin Running or building packages on Darwin 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Nov 17, 2019
@veprbl
Copy link
Member

veprbl commented Nov 17, 2019

Should this also revert #73501?

@vcunat
Copy link
Member

vcunat commented Nov 18, 2019

That one was never merged.

Copy link
Member

@vcunat vcunat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, let's do this hack for now; re-running ninja should be a very low overhead compared to restarting all the jobs on Hydra. Perhaps we can follow-up soon with llvm update.

vcunat added a commit that referenced this pull request Nov 18, 2019
... into staging-next.  Fixes #66811, kinda.
@vcunat vcunat merged commit 41ca861 into NixOS:staging-next Nov 18, 2019
@vcunat
Copy link
Member

vcunat commented Nov 18, 2019

Now it succeeded on the first attempt 🤷‍♀️

@FRidh
Copy link
Member

FRidh commented Nov 18, 2019

That's good news!

@LnL7
Copy link
Member Author

LnL7 commented Nov 18, 2019

Yeah. I'm looking into updating the stdenv and bootstrap-tools to llvm_9, but that will probably be a longer term project and won't be something we can pull into 19.09.

@LnL7 LnL7 deleted the darwin-cfruntime-hack branch November 18, 2019 21:50
@vcunat
Copy link
Member

vcunat commented Nov 19, 2019

Right, I planned to use this in 19.09 as soon as the problem is encountered in there again. (There's probably not much sense to apply it "in advance".)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants