Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2021 21:56:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258548] Mk/Uses/go.mk: Issues building net-mgmt/prometheus2 >= 2.29.0
Message-ID:  <bug-258548-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258548

            Bug ID: 258548
           Summary: Mk/Uses/go.mk: Issues building net-mgmt/prometheus2 >=3D
                    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=3D227953&action=
=3Dedit
net-mgmt/prometheus2: Update to 2.30.0, exposing build issue

Hi,

When attempting to build newer versions of Prometheus in Poudriere, the bui=
lds
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 doin=
g to
handle Go dependencies to debug this issue, so I'm hoping someone in the kn=
ow
can take a look.

I've attached a net-mgmt/prometheus2 diff which should reveal the error in
poudriere testport.

Thanks,
-David

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258548-7788>