Bug ID 1215090
Summary go1.20,go1.21: Go toolchain packages missing src/cmd/vendor/github.com/google/pprof/internal/driver/html/
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Development
Assignee screening-team-bugs@suse.de
Reporter jkowalczyk@suse.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

Include the missing directory
src/cmd/vendor/github.com/google/pprof/internal/driver/html/ in our go1.1x
toolchain packages. This will fix failing builds with applications that
directly import runtime/pprof e.g. kubeconform which failed to build with the
following error:

/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


Upstream Go sources vendor certain tools including the pprof profiler [1].
pprof has an asset directory pprof/internal/driver/html containing only html
templates used by the pprof viewer and no Go source code. Our go packaging
tries to be conservative in what we include in the RPM, and with our find/glob
patterns this directory has never been included in the packaging.

The issue was first reported with go1.21. However, the last vendoring update
was for go1.20, so we will include the fix in go1.20 packaging as well:

bb917bd 2022-11-22 09:39 cmd/vendor: update vendored github.com/google/pprof
for Go 1.20 release

[1] https://github.com/google/pprof


You are receiving this mail because: