el/labels=/tmp/go-build4007613594/b279/_pkg_.a packagefile github.com/prometheus/prometheus/model/timestamp=/tmp/go-build4007613594/b850/_pkg_.a packagefile github.com/prometheus/prometheus/model/value=/tmp/go-build4007613594/b851/_pkg_.a packagefile github.com/prometheus/prometheus/notifier=/tmp/go-build4007613594/b818/_pkg_.a packagefile github.com/prometheus/prometheus/promql=/tmp/go-build4007613594/b848/_pkg_.a packagefile github.com/prometheus/prometheus/promql/parser=/tmp/go-build4007613594/b852/_pkg_.a packagefile github.com/prometheus/prometheus/rules=/tmp/go-build4007613594/b898/_pkg_.a packagefile github.com/prometheus/prometheus/scrape=/tmp/go-build4007613594/b901/_pkg_.a packagefile github.com/prometheus/prometheus/storage=/tmp/go-build4007613594/b853/_pkg_.a packagefile github.com/prometheus/prometheus/template=/tmp/go-build4007613594/b900/_pkg_.a packagefile github.com/prometheus/prometheus/tsdb=/tmp/go-build4007613594/b870/_pkg_.a packagefile github.com/prometheus/prometheus/tsdb/index=/tmp/go-build4007613594/b875/_pkg_.a packagefile github.com/prometheus/prometheus/util/httputil=/tmp/go-build4007613594/b918/_pkg_.a packagefile github.com/prometheus/prometheus/web/api/v1=/tmp/go-build4007613594/b919/_pkg_.a packagefile github.com/prometheus/prometheus/web/ui=/tmp/go-build4007613594/b920/_pkg_.a packagefile go.uber.org/atomic=/tmp/go-build4007613594/b847/_pkg_.a packagefile golang.org/x/net/netutil=/tmp/go-build4007613594/b925/_pkg_.a packagefile io=/tmp/go-build4007613594/b039/_pkg_.a packagefile io/ioutil=/tmp/go-build4007613594/b172/_pkg_.a packagefile log=/tmp/go-build4007613594/b059/_pkg_.a packagefile math=/tmp/go-build4007613594/b031/_pkg_.a packagefile net=/tmp/go-build4007613594/b114/_pkg_.a packagefile net/http=/tmp/go-build4007613594/b071/_pkg_.a packagefile net/http/pprof=/tmp/go-build4007613594/b926/_pkg_.a packagefile net/url=/tmp/go-build4007613594/b120/_pkg_.a packagefile os=/tmp/go-build4007613594/b040/_pkg_.a packagefile path=/tmp/go-build4007613594/b047/_pkg_.a packagefile path/filepath=/tmp/go-build4007613594/b121/_pkg_.a packagefile regexp=/tmp/go-build4007613594/b061/_pkg_.a packagefile runtime=/tmp/go-build4007613594/b009/_pkg_.a packagefile sort=/tmp/go-build4007613594/b036/_pkg_.a packagefile strconv=/tmp/go-build4007613594/b033/_pkg_.a packagefile strings=/tmp/go-build4007613594/b049/_pkg_.a packagefile sync=/tmp/go-build4007613594/b021/_pkg_.a packagefile text/template=/tmp/go-build4007613594/b189/_pkg_.a packagefile time=/tmp/go-build4007613594/b024/_pkg_.a EOF /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b914/_pkg_.a -trimpath "$WORK/b914=>" -p github.com/prometheus/prometheus/web -complete -installsuffix shared -buildid 98KtFwauEtUNJ0QWqBgd/98KtFwauEtUNJ0QWqBgd -goversion go1.22.2 -c=4 -shared -nolocalimports -importcfg $WORK/b914/importcfg -pack ./_build/src/github.com/prometheus/prometheus/web/federate.go ./_build/src/github.com/prometheus/prometheus/web/web.go # github.com/prometheus/prometheus/web _build/src/github.com/prometheus/prometheus/web/web.go:623:49: cannot use webConfig (variable of type string) as *"github.com/prometheus/exporter-toolkit/web".FlagConfig value in argument to toolkit_web.Serve RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.y94sA3 (%build) %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.y94sA3 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-github-prometheus.spec