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
erlangR18: apply upstream patches to fix nondeterministic build failures #47202
Conversation
@GrahamcOfBorg build erlangR18 |
Unexpected error: command failed with exit code 1 on aarch64-linux (full log) Attempted: erlangR18 Partial log (click to expand)
|
Unexpected error: command failed with exit code 1 on x86_64-darwin (full log) Attempted: erlangR18 Partial log (click to expand)
|
Unexpected error: command failed with exit code 1 on x86_64-linux (full log) Attempted: erlangR18 Partial log (click to expand)
|
hash mismatch. |
As per the following bug report, sometimes erts/start_scripts will fail to compile because of a Makefile ordering issue. Apply the upstream patches to fix this. https://bugs.erlang.org/browse/ERL-241
c164901
to
a25def5
Compare
@GrahamcOfBorg build erlangR18 |
I don't use |
Success on x86_64-darwin (full log) Attempted: erlangR18 Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: erlangR18 Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: erlangR18 Partial log (click to expand)
|
…res (#47202) As per the following bug report, sometimes erts/start_scripts will fail to compile because of a Makefile ordering issue. Apply the upstream patches to fix this. https://bugs.erlang.org/browse/ERL-241 (cherry picked from commit c987ed0)
@xeji - Thanks! |
backported: 4862590 |
@andrew-d unfortunately it still fails in the latest Hydra evaluation: https://hydra.nixos.org/build/81833440 . This build os based on master d9f7d27 , which contains your fix. Please have a look. |
The build succeeded with this patch on 18.09: https://hydra.nixos.org/build/81921310 So I guess it's still non-deterministic. |
I think that's a build timeout or something similar - I don't see any particular error message in the log - output just ends without any messages. |
Right, the log looks like the build process suddenly died for whatever reason. Could be a transient problem on the specific build machine. Let's observe some more builds on Hydra and see what happens... |
Motivation for this change
As per the following bug report, sometimes erts/start_scripts will fail to compile because of a Makefile ordering issue. Apply the upstream patches to fix this.
https://bugs.erlang.org/browse/ERL-241
This also fixes, at the very least,
yaws
./cc ZHF #45960
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)cc @the-kenny @sjmackenzie @couchemar @gleber