valgrind: disable parallel building on Darwin#51066
valgrind: disable parallel building on Darwin#51066alyssais wants to merge 1 commit intoNixOS:masterfrom
Conversation
While testing an unrelated stdenv change, I was having trouble rebuilding this package on Darwin. It seems to be some sort of race where it tries to run `ar` on an object file that hasn't been built yet. I haven't had any problem building it (multiple times) since I disabled parallel building, so that seems to be the fix.
|
Success on x86_64-linux (full log) Attempted: valgrind Partial log (click to expand)
|
|
Success on aarch64-linux (full log) Attempted: valgrind Partial log (click to expand)
|
|
@GrahamcOfBorg build valgrind |
|
Success on aarch64-linux (full log) Attempted: valgrind Partial log (click to expand)
|
|
Success on x86_64-linux (full log) Attempted: valgrind Partial log (click to expand)
|
|
The same problem seems to affect linux too: https://hydra.nixos.org/build/84945477/nixlog/1 so it might be best to turn it off for all platforms. |
|
I assume this is superseded by #51082? I prefer this commit message tho 😄 . |
|
Could always do two commits, since it was discovered in two stages. Merge this then cherry-pick the other. I think it's merger's choice. :) Since there's a superseding PR, I'll close this one, but feel free to use the commit if it makes for a nicer story in the commit logs! |
|
Success on x86_64-darwin (full log) Attempted: valgrind Partial log (click to expand)
|
Motivation for this change
While testing an unrelated stdenv change, I was having trouble rebuilding this package on Darwin. It seems to be some sort of race where it tries to run
aron an object file that hasn't been built yet. I haven't had any problem building it (multiple times) since I disabled parallel building, so that seems to be the fix.Things done
sandboxinnix.confon non-NixOS)nix-shell -p nox --run "nox-review wip"./result/bin/)nix path-info -Sbefore and after)