-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
valgrind: disable parallel building on Darwin #51066
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
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
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.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)