[Bug 258548] Mk/Uses/go.mk: Issues building net-mgmt/prometheus2 >= 2.29.0
Date: Thu, 16 Sep 2021 21:56:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258548
Bug ID: 258548
Summary: Mk/Uses/go.mk: Issues building net-mgmt/prometheus2 >=
2.29.0
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: dor.bsd@xm0.uk
Created attachment 227953
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227953&action=edit
net-mgmt/prometheus2: Update to 2.30.0, exposing build issue
Hi,
When attempting to build newer versions of Prometheus in Poudriere, the builds
fail with an error:
# k8s.io/client-go/plugin/pkg/client/auth/exec
vendor/k8s.io/client-go/plugin/pkg/client/auth/exec/metrics.go:108:12:
klog.V(2).InfoS undefined (type klog.Verbose has no field or method InfoS)
This appears to be caused by something that the ports system is doing, as
Prometheus builds fine outside of Poudriere when Go is handling dependencies
itself. Unfortunately, I lack enough knowledge of what magic ports is doing to
handle Go dependencies to debug this issue, so I'm hoping someone in the know
can take a look.
I've attached a net-mgmt/prometheus2 diff which should reveal the error in
poudriere testport.
Thanks,
-David
--
You are receiving this mail because:
You are the assignee for the bug.