ub.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds importmap github.com/aws/aws-sdk-go/aws/ec2metadata=github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/ec2metadata importmap github.com/aws/aws-sdk-go/aws/request=github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/request importmap github.com/aws/aws-sdk-go/aws/session=github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/session importmap github.com/aws/aws-sdk-go/service/s3=github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/service/s3 packagefile bytes=$WORK/b004/_pkg_.a packagefile crypto/hmac=$WORK/b061/_pkg_.a packagefile crypto/sha1=$WORK/b065/_pkg_.a packagefile encoding/base64=$WORK/b072/_pkg_.a packagefile fmt=$WORK/b041/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/Sirupsen/logrus=$WORK/b086/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws=$WORK/b205/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/awserr=$WORK/b206/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/corehandlers=$WORK/b209/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/credentials=$WORK/b207/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds=$WORK/b214/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/ec2metadata=$WORK/b217/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/request=$WORK/b210/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/session=$WORK/b218/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/service/s3=$WORK/b221/_pkg_.a packagefile github.com/docker/distribution/context=$WORK/b120/_pkg_.a packagefile github.com/docker/distribution/registry/client/transport=$WORK/b157/_pkg_.a packagefile github.com/docker/distribution/registry/storage/driver=$WORK/b148/_pkg_.a packagefile github.com/docker/distribution/registry/storage/driver/base=$WORK/b196/_pkg_.a packagefile github.com/docker/distribution/registry/storage/driver/factory=$WORK/b164/_pkg_.a packagefile io=$WORK/b015/_pkg_.a packagefile io/ioutil=$WORK/b073/_pkg_.a packagefile math=$WORK/b029/_pkg_.a packagefile net/http=$WORK/b097/_pkg_.a packagefile net/url=$WORK/b079/_pkg_.a packagefile reflect=$WORK/b036/_pkg_.a packagefile sort=$WORK/b043/_pkg_.a packagefile strconv=$WORK/b028/_pkg_.a packagefile strings=$WORK/b050/_pkg_.a packagefile time=$WORK/b023/_pkg_.a EOF cd /builddir/build/BUILD/distribution-48294d928ced5dd9b378f7fd7c6f5da3ff3f2c89/src/github.com/docker/distribution/registry/storage/driver/s3-aws /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b204/_pkg_.a -trimpath "$WORK/b204=>" -p github.com/docker/distribution/registry/storage/driver/s3-aws -complete -buildid xnhl40UQjOrlzhIRs3Ev/xnhl40UQjOrlzhIRs3Ev -goversion go1.15.5 -D "" -importcfg $WORK/b204/importcfg -pack -c=4 ./s3.go ./s3_v2_signer.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b204/_pkg_.a # internal cp $WORK/b204/_pkg_.a /builddir/.cache/go-build/0e/0e3df0e8464069807863fbb8db051ea6f62c83c44efc38157217f73ffc381d9b-d # internal error: Bad exit status from /var/tmp/rpm-tmp.RQDPzm (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RQDPzm (%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/docker-distribution.spec