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
john: build with recent gcc #39929
john: build with recent gcc #39929
Conversation
@GrahamcOfBorg build john |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: john Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: john Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: john Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: john Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: john Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: john Partial log (click to expand)
|
aarch64 failure is unrelated, I couldn't find any successful hydra build on aarch64 (looking back to March 2017). So let's exclude aarch64 for now. |
@GrahamcOfBorg build john |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: john Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: john Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: john Partial log (click to expand)
|
why did it try aarch64 again? |
Success on x86_64-linux (full log) Attempted: john Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: john Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: john Partial log (click to expand)
|
pkgs/tools/security/john/default.nix
Outdated
@@ -69,6 +69,6 @@ stdenv.mkDerivation rec { | |||
license = licenses.gpl2; | |||
homepage = https://github.com/magnumripper/JohnTheRipper/; | |||
maintainers = with maintainers; [ offline ]; | |||
platforms = platforms.unix; | |||
platforms = filter (p: p != "aarch64-linux") platforms.unix; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Several other packages do this but it doesn't seem to work with the new platform logic, which I don't fully understand yet. The only working solution that I found so far is an old-style whitelist:
platforms = [ "x86_64-linux" "x86_64-darwin"];
@GrahamcOfBorg build john |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: john Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: john Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: john Partial log (click to expand)
|
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: john Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: john Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: john Partial log (click to expand)
|
Motivation for this change
john the ripper contains a patch for gcc >= 5 and builds fine. I am not sure why this was pinned in the first place.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)