Need help fixing go build for kubeconform
Hi, I maintain kubeconform on OBS [1] and the build started failing last week. I assume this happened due to changes in golang 1.21 .
/usr/lib64/go/1.21/src/cmd/vendor/github.com/google/pprof/internal/driv er/webhtml.go:26:12: pattern html: no matching files found I filed an issue upstream [2] a week ago but had no response. If anyone has an idea how to fix it please let me know, I don't have any leads right now. Thanks, Robert [1]: https://build.opensuse.org/package/show/openSUSE:Factory/kubeconform [2]: https://github.com/yannh/kubeconform/issues/229
Hello Robert, I am taking a look at this. This may be a packaging issue specific to openSUSE and once we understand more the kubeconform upstream issue can likely be closed. openSUSE go1.x toolchain packages to date have not included the asset folder ./src/cmd/vendor/github.com/google/pprof/internal/driver/html . We do package asset files for the trace viewer which is part of the go source tree. I will reply here when we have a plan to address the issue. Jeff Kowalczyk Software Engineer, Go Developer Experience SUSE Linux ________________________________________ From: Robert Munteanu <rombert@apache.org> Sent: Monday, August 28, 2023 04:14 To: packaging@lists.opensuse.org Subject: Need help fixing go build for kubeconform Hi, I maintain kubeconform on OBS [1] and the build started failing last week. I assume this happened due to changes in golang 1.21 .
/usr/lib64/go/1.21/src/cmd/vendor/github.com/google/pprof/internal/driv er/webhtml.go:26:12: pattern html: no matching files found I filed an issue upstream [2] a week ago but had no response. If anyone has an idea how to fix it please let me know, I don't have any leads right now. Thanks, Robert [1]: https://build.opensuse.org/package/show/openSUSE:Factory/kubeconform [2]: https://github.com/yannh/kubeconform/issues/229
Hello Robert, kubeconform builds started succeeding again this week. go1.20 and go1.21 are now in Factory and contain the missing pprof html assets. The tracking issue is https://bugzilla.opensuse.org/show_bug.cgi?id=1215090 . Jeff ________________________________________ From: Robert Munteanu <rombert@apache.org> Sent: Monday, August 28, 2023 13:02 To: Jeff Kowalczyk Cc: packaging@lists.opensuse.org Subject: Re: Need help fixing go build for kubeconform Hi Jeff, On Mon, 2023-08-28 at 15:35 +0000, Jeff Kowalczyk wrote:
I am taking a look at this. This may be a packaging issue specific to openSUSE and once we understand more the kubeconform upstream issue can likely be closed.
Sounds good, thanks for looking into this! Robert
Hi Jeff, On Sat, 2023-09-16 at 04:37 +0000, Jeff Kowalczyk wrote:
Hello Robert,
kubeconform builds started succeeding again this week. go1.20 and go1.21 are now in Factory and contain the missing pprof html assets. The tracking issue is https://bugzilla.opensuse.org/show_bug.cgi?id=1215090 .
That is great, thanks for the fix. I also closed the upstream issue [1] Thanks, Robert [1]: https://github.com/yannh/kubeconform/issues/229
participants (2)
-
Jeff Kowalczyk
-
Robert Munteanu