Fix incorrect argon2 target in arm builds #6453
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.
I removed building from source because the comment said it was due to CentOS 7, which we no longer use.
However, it seems that the real issue is that argon2 is pulling the wrong binary for cross-builds? So we need to force building from source instead. This should fix #6446 and fix #6448.
Unfortunately building from source is causing the new Kerberos module to fail on arm64. To fix that we will need to install the arm64 version of the library.
Additionally, building from source is causing keytar to fail (a longstanding issue that previously was accidentally ignored when it failed in CI). It seems unique to GitHub's VM; I cannot reproduce it in a Docker container. So, switch to a Docker container.