nternal # import config importmap github.com/golang/protobuf/proto=github.com/syncthing/syncthing/vendor/github.com/golang/protobuf/proto importmap github.com/golang/protobuf/ptypes=github.com/syncthing/syncthing/vendor/github.com/golang/protobuf/ptypes importmap github.com/matttproud/golang_protobuf_extensions/pbutil=github.com/syncthing/syncthing/vendor/github.com/matttproud/golang_protobuf_extensions/pbutil importmap github.com/prometheus/client_model/go=github.com/syncthing/syncthing/vendor/github.com/prometheus/client_model/go importmap github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg=github.com/syncthing/syncthing/vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg importmap github.com/prometheus/common/model=github.com/syncthing/syncthing/vendor/github.com/prometheus/common/model packagefile bufio=$WORK/b059/_pkg_.a packagefile bytes=$WORK/b002/_pkg_.a packagefile fmt=$WORK/b040/_pkg_.a packagefile github.com/syncthing/syncthing/vendor/github.com/golang/protobuf/proto=$WORK/b115/_pkg_.a packagefile github.com/syncthing/syncthing/vendor/github.com/golang/protobuf/ptypes=$WORK/b147/_pkg_.a packagefile github.com/syncthing/syncthing/vendor/github.com/matttproud/golang_protobuf_extensions/pbutil=$WORK/b157/_pkg_.a packagefile github.com/syncthing/syncthing/vendor/github.com/prometheus/client_model/go=$WORK/b155/_pkg_.a packagefile github.com/syncthing/syncthing/vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg=$WORK/b158/_pkg_.a packagefile github.com/syncthing/syncthing/vendor/github.com/prometheus/common/model=$WORK/b159/_pkg_.a packagefile io=$WORK/b013/_pkg_.a packagefile io/ioutil=$WORK/b072/_pkg_.a packagefile math=$WORK/b028/_pkg_.a packagefile mime=$WORK/b107/_pkg_.a packagefile net/http=$WORK/b097/_pkg_.a packagefile strconv=$WORK/b027/_pkg_.a packagefile strings=$WORK/b049/_pkg_.a packagefile sync=$WORK/b014/_pkg_.a EOF cd /builddir/build/BUILD/syncthing/_build/src/github.com/syncthing/syncthing/vendor/github.com/prometheus/client_golang/prometheus/internal /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b154/_pkg_.a -trimpath "$WORK/b154=>" -p github.com/syncthing/syncthing/vendor/github.com/prometheus/client_golang/prometheus/internal -complete -buildid 8W_cnVmQJZ0f-c_1FLw9/8W_cnVmQJZ0f-c_1FLw9 -goversion go1.15.5 -D "" -importcfg $WORK/b154/importcfg -pack -c=4 ./metric.go cd /builddir/build/BUILD/syncthing/_build/src/github.com/syncthing/syncthing/vendor/github.com/prometheus/common/expfmt /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b156/_pkg_.a -trimpath "$WORK/b156=>" -p github.com/syncthing/syncthing/vendor/github.com/prometheus/common/expfmt -complete -buildid lMLTK57qk3Nj7qEXproZ/lMLTK57qk3Nj7qEXproZ -goversion go1.15.5 -D "" -importcfg $WORK/b156/importcfg -pack -c=4 ./decode.go ./encode.go ./expfmt.go ./openmetrics_create.go ./text_create.go ./text_parse.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b154/_pkg_.a # internal cp $WORK/b154/_pkg_.a /builddir/.cache/go-build/75/756b129260f83aa683e70dc9e46002b953a2795543fdbf8b15875539c3db579b-d # internal /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b156/_pkg_.a # internal cp $WORK/b156/_pkg_.a /builddir/.cache/go-build/95/959d0f63b2b653ccb11727f4f826d8a11786a1fae9560ac14493279b5f568e1e-d # internal error: Bad exit status from /var/tmp/rpm-tmp.PIo7Dt (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.PIo7Dt (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/syncthing.spec