-
Notifications
You must be signed in to change notification settings - Fork 387
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
Bug 1838512: Set CGO_ENABLED=1 for cross compile on Mac #644
Conversation
@damemi: This pull request references Bugzilla bug 1838512, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: damemi The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cc @soltysh |
@damemi: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@damemi looks like this is breaking CI pretty badly |
This cannot be merged right now at least:
/hold |
@damemi: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
golang-builder 1.15 can now build Mac binaries, but the second point above still applies: only the x86_64 golang-builder has the means to dynamically build Mac binaries, so this will break the cli-artifacts build on other architectures. Furthermore, this will break the RPM build entirely, as the RPM buildroot is not set up to build Mac binaries either for any architecture. This needs further coordination before it can be considered. |
@yselkowitz to check up on this, are the limitations you pointed out something that the oc team can work to resolve? Or is this something that is just not currently possible to accomplish with our build and release systems? I just ask because the linked bug has been open for quite some time, and I would like to determine whether we have the ability to move forward with this or it should be closed. Thanks! |
@damemi So the two problems:
This is something the oc team can work on; we had a similar situation getting
RPMs build in a completely different environment than an image; actually, in the case of So I think I can see a path for this to happen, but it sure sounds like a lot of work. |
@sosiouxme thank you for the detailed response. That does seem like a lot of work, so maybe we need to do a cost-benefit analysis of this effort. The linked BZ describes that the @soltysh what should we do with this? Users that are affected do have the option of compiling I am willing to continue driving this work if necessary, but the honest opinion I seem to get from the relevant build teams is that this is difficult, or impossible, to fix with our current build tooling. I don't want to push on something this complex if it outweighs the need to provide a fix. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
still want to look into this further when I have cycles |
@yselkowitz: The In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
so much for following directions... |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
/bugzilla refresh The requirements for Bugzilla bugs have changed, recalculating validity. |
@openshift-merge-robot: This pull request references Bugzilla bug 1838512, which is invalid:
Comment Retaining the bugzilla/valid-bug label as it was manually added. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/bugzilla refresh The requirements for Bugzilla bugs have changed, recalculating validity. |
@openshift-merge-robot: This pull request references Bugzilla bug 1838512, which is invalid:
Comment Retaining the bugzilla/valid-bug label as it was manually added. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
/bugzilla refresh The requirements for Bugzilla bugs have changed (BZs linked to PRs on master branch need to target OCP 4.11), recalculating validity. |
@openshift-bot: This pull request references Bugzilla bug 1838512, which is invalid:
Comment Retaining the bugzilla/valid-bug label as it was manually added. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/bugzilla refresh |
@wking: This pull request references Bugzilla bug 1838512, which is invalid:
Comment Retaining the bugzilla/valid-bug label as it was manually added. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@damemi: An error was encountered removing this pull request from the external tracker bugs for bug 1838512 on the Bugzilla server at https://bugzilla.redhat.com. No known errors were detected, please see the full error message for details. Full error message.
response code 400 not 200
Please contact an administrator to resolve this issue, then request a bug refresh with In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
With the changes in openshift-eng/ocp-build-data#627, C cross-compilers should be available in our build images. Enabling this for darwin builds of
oc
would fix the referenced bug, in which cgo is required for proper dns resolution on mac (and was fixed in upstream kubectl long ago: kubernetes/release#469)