linux_{4_8,grsec_nixos}: patch to fix build failure #21118
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
Frequent kernel build failures have plagued the release branch since upgrading from 4.8.12. My understanding is this issue as fixed a long time ago, but it appears to have opened up since. This patch should hopefully fix the issue.
Example problem: https://hydra.nixos.org/build/44743895/nixlog/1
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)crypto/rsa_helper.c:18:28: fatal error: rsapubkey-asn1.h: No such file or directory
cc @joachifm (grsec)
cc @fpletz (kernel)
cc @NeQuissimus (kernel)
I'd like to get this done before tomorrow so we can have prompt releases.