Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1865441

Summary: cannot compile atomic-openshift with recent golang
Product: OpenShift Container Platform Reporter: Luke Meyer <lmeyer>
Component: openshift-apiserverAssignee: Stefan Schimanski <sttts>
Status: CLOSED ERRATA QA Contact: Ke Wang <kewang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.11.0CC: aos-bugs, eparis, mfojtik, wsun
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-16 07:46:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Luke Meyer 2020-08-03 21:06:23 UTC
3.11 atomic-openshift has always built with go 1.10; we're trying to compile now with 1.12 (should probably make it 1.13, but I imagine this problem will apply there too).

We ran into an incompatibility: http://download.eng.bos.redhat.com/brewroot/work/tasks/4028/30504028/build.log

++ Building go targets for windows/amd64: cmd/hypershift cmd/openshift cmd/oc cmd/oadm cmd/template-service-broker cmd/openshift-node-config vendor/k8s.io/kubernetes/cmd/hyperkube
# github.com/openshift/origin/vendor/github.com/google/certificate-transparency-go/x509
vendor/github.com/google/certificate-transparency-go/x509/root_windows.go:112:3: cannot use uintptr(unsafe.Pointer(sslPara)) (type uintptr) as type syscall.Pointer in field value

A quick look indicates this just needs an update to deps:
https://coreos.slack.com/archives/CB48XQ4KZ/p1596460111413300

It seems entirely likely that there are more waiting to be found when this is fixed. Can a domain expert please get this build working under golang 1.13 so that we can make the switch? I'm happy to run brew builds to test PRs but that'll be a slow way to iterate.

Comment 7 errata-xmlrpc 2020-09-16 07:46:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 3.11.286 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3695