-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[CI:BUILD] Makefile: Use CGO when building natively on MacOS. #16690
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ashley-cui The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Ugh, something's gone wrong.. hang tight |
Hm, so it looks like this builds correctly on my machine, @cevich do you have any idea why building it in CI would be any different? (CGO failing to find a file) |
Unf. I really don't know much about this level of wizardry. My version of "help" would likely be "press all the buttons until it works or goes boom". I looked at the "CGO must be disabled" comment-link, but it doesn't make sense to me. But I seem to remember this was a hard-rule: no CGO for podman-remote on Mac. But this might be a question for @mheon or @vrothberg |
A friendly reminder that this PR had no activity for 30 days. |
@ashley-cui what is going on with this PR? |
Running into "builds on my machine but not in CI". I'll pick this up again. |
37d4aa8
to
ebc04f7
Compare
This is extraordinarily frustrating, since this builds correctly on my machine. Testing out a different cirrus image and seeing if that changes anything.. |
Testing Cirrus as well because it works on my machine Fix a DNS regression caused by not setting CGO correctly in the makefile while building podman-remote on OSX. Signed-off-by: Ashley Cui <[email protected]>
I hear ya. Fail-repeat-FAIL-repeat-FaIl-rePEAT! gets exhausting quickly. But if it's even fixable, you're the one to figure it out. I'm both a fool and completely ignorant when it comes to Mac stuffs 😞 |
A friendly reminder that this PR had no activity for 30 days. |
@ashley-cui @cevich any update on this? |
Can't make it run in CI for some reason, but it builds on my mac. Might try a workaround by setting the env var in brew instead of here, will try to pick it up again soon |
Friendly ping, @ashley-cui. |
I think this needs more massaging, closing for now and will pick it up with a different perspective later. |
Fix a regression (DNS not resolvable) caused by not setting CGO correctly in the Makefile while building podman-remote on OSX. See golang/go#12524 for details.
Signed-off-by: Ashley Cui [email protected]
Fixes: #16230
Does this PR introduce a user-facing change?