Bug 1795658

Summary: Operator registry package "pkg/configmap" takes unnecessary dependency on cgo package go-sqlite3
Product: OpenShift Container Platform Reporter: Ben Luddy <bluddy>
Component: OLMAssignee: Ben Luddy <bluddy>
OLM sub component: OLM QA Contact: Bruno Andrade <bandrade>
Status: CLOSED DUPLICATE Docs Contact:
Severity: low    
Priority: unspecified CC: bandrade
Version: 4.4   
Target Milestone: ---   
Target Release: 4.4.0   
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-02-04 17:13:32 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 Ben Luddy 2020-01-28 15:10:05 UTC
The package github.com/mattn/go-sqlite3 needs CGO enabled to
build. Since pkg/configmap has both direct and transitive dependencies
on go-sqlite3, anything importing pkg/configmap will also need to
enable CGO. This affects importers of pkg/configmap that have disabled CGO.

Comment 3 Ben Luddy 2020-02-04 17:13:32 UTC
This bug is tracking the same problem as https://bugzilla.redhat.com/show_bug.cgi?id=1796092#c2, from the opposite direction. I'm marking this as a duplicate -- verification steps for the other bug are provided in the linked comment.

*** This bug has been marked as a duplicate of bug 1796092 ***