Skip to content
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

Chore: Fix signature crate build errors on Linux/arm64 #8339

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

oskirby
Copy link
Collaborator

@oskirby oskirby commented Oct 19, 2023

Description

The new signature crate in Rust fails to build from source on Linux/arm64 due to mismatched char signedness. This isn't one of our supported targets, but the ppa:okirby/mozilla-vpn-testing PPA makes an attempt to build them for completeness.

The fix is to use std::os::raw::c_char in place of i8 for string pointers.

Reference

Build failures:

Checklist

  • My code follows the style guidelines for this project
  • I have not added any packages that contain high risk or unknown licenses (GPL, LGPL, MPL, etc. consult with DevOps if in question)
  • I have performed a self review of my own code
  • I have commented my code PARTICULARLY in hard to understand areas
  • I have added thorough tests where needed

@oskirby oskirby marked this pull request as ready for review October 19, 2023 19:45
@oskirby oskirby requested a review from Gela October 19, 2023 19:49
@oskirby oskirby enabled auto-merge (squash) October 19, 2023 20:01
@github-actions github-actions bot added the 🛬 Landing This PR is marked as "auto-merge" label Oct 19, 2023
@oskirby oskirby merged commit 6b66780 into main Oct 19, 2023
87 checks passed
@oskirby oskirby deleted the fix-signature-build-error-linux-arm64 branch October 19, 2023 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛬 Landing This PR is marked as "auto-merge"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants