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

Adding darwin/386 as part of unsupported GOOS/GOARCH pair in builds.sh #13302

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

kp2099
Copy link
Contributor

@kp2099 kp2099 commented Feb 20, 2025

Currently running make bin fails with Unsupported GOOS/GOARCH pair.

1 errors occurred:
--> darwin/386 error: exit status 2
Stderr: go: unsupported GOOS/GOARCH pair darwin/386

make: *** [bin] Error 1

@kp2099 kp2099 requested a review from a team as a code owner February 20, 2025 09:27
Copy link

hashicorp-cla-app bot commented Feb 20, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

Copy link
Contributor

@lbajolet-hashicorp lbajolet-hashicorp left a comment

Choose a reason for hiding this comment

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

Hi @kp2099,

Thanks for the PR, I'm surprised you hit this as make bin is not typically the kind of command used to build Packer, in general during development we tend to run make dev as it builds the binary for the architecture you build for. I'm not sure build.sh is used by anyone, it hasn't been maintained in a while, we should probably consider removing it and its references from the Makefile.

That said, the change makes sense, I don't remember when's the last time there's been a non 64-bit x86 macOS machine released, and it'll only get rarer as time goes by, but if the script tries that, we should add this exception in the meantime.

In the current state I won't be able to merge the PR though as you haven't signed the CLA, could you do this? Once it's signed, I can run the tests/merge ASAP, thanks!

@kp2099
Copy link
Contributor Author

kp2099 commented Feb 20, 2025

hi @lbajolet-hashicorp i have signed the CLA. Yes i agree i think we should make changes to Makefile to remove references to builds.sh. We can consider that in a different PR. Thanks a lot for the approval!

@lbajolet-hashicorp
Copy link
Contributor

It can most definitely be done in a later PR indeed, for now we can merge this.
The only thing failing being Vercel, this is fine, I'm merging the PR now.

@lbajolet-hashicorp lbajolet-hashicorp merged commit f574090 into hashicorp:main Feb 20, 2025
10 of 11 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