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

fix: Bug with silent fail and aarch64 #2

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

ltickett
Copy link
Contributor

@ltickett ltickett commented Dec 6, 2023

In Debian get_arch returns aarch64 which then causes a failure.
Unfortunately, because the failure happens during an assignment it isn't surfaced to stderr.

This PR adds a mapping for aarch64 -> arm64 and fixes the silent fail but forcing the output to /dev/stderr.

Thanks to Stan Hu @ GitLab for troubleshooting and supplying the fix 🙏

@ltickett ltickett changed the title Fix bug with silent fail and aarch64 fix: bug with silent fail and aarch64 Dec 6, 2023
@ltickett ltickett changed the title fix: bug with silent fail and aarch64 fix: Bug with silent fail and aarch64 Dec 6, 2023
In Debian `get_arch` returns `aarch64` which then causes a failure.
Unfortunately, because the failure happens during an assignment
it isn't surfaced to stderr.
This PR adds a mapping for `aarch64` -> `arm64` and fixes the
silent fail but forcing the output to `/dev/stderr`.
@ltickett
Copy link
Contributor Author

ltickett commented Dec 6, 2023

@pdemagny could you take a look at these couple of bug fixes please?

Copy link
Owner

@pdemagny pdemagny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for this !

@pdemagny pdemagny merged commit da02d85 into pdemagny:main Dec 8, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants