thub.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/b056/_pkg_.a packagefile crypto/sha1=$WORK/b060/_pkg_.a packagefile encoding/base64=$WORK/b067/_pkg_.a packagefile fmt=$WORK/b036/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/Sirupsen/logrus=$WORK/b084/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws=$WORK/b203/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/awserr=$WORK/b204/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/corehandlers=$WORK/b207/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/credentials=$WORK/b205/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds=$WORK/b212/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/ec2metadata=$WORK/b215/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/request=$WORK/b208/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/session=$WORK/b216/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/service/s3=$WORK/b219/_pkg_.a packagefile github.com/docker/distribution/context=$WORK/b118/_pkg_.a packagefile github.com/docker/distribution/registry/client/transport=$WORK/b155/_pkg_.a packagefile github.com/docker/distribution/registry/storage/driver=$WORK/b146/_pkg_.a packagefile github.com/docker/distribution/registry/storage/driver/base=$WORK/b194/_pkg_.a packagefile github.com/docker/distribution/registry/storage/driver/factory=$WORK/b162/_pkg_.a packagefile io=$WORK/b014/_pkg_.a packagefile io/ioutil=$WORK/b070/_pkg_.a packagefile math=$WORK/b024/_pkg_.a packagefile net/http=$WORK/b095/_pkg_.a packagefile net/url=$WORK/b077/_pkg_.a packagefile reflect=$WORK/b031/_pkg_.a packagefile sort=$WORK/b038/_pkg_.a packagefile strconv=$WORK/b023/_pkg_.a packagefile strings=$WORK/b047/_pkg_.a packagefile time=$WORK/b044/_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/b202/_pkg_.a -trimpath "$WORK/b202=>" -p github.com/docker/distribution/registry/storage/driver/s3-aws -complete -buildid -YO4lo5OdpFzk2AKYY7S/-YO4lo5OdpFzk2AKYY7S -goversion go1.14 -D "" -importcfg $WORK/b202/importcfg -pack -c=4 ./s3.go ./s3_v2_signer.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b202/_pkg_.a # internal cp $WORK/b202/_pkg_.a /builddir/.cache/go-build/ac/ac161af57c083ebe9122c8267728db176083d959fb0c7ecff6f7d7ad13281128-d # internal error: Bad exit status from /var/tmp/rpm-tmp.Y7JdHb (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Y7JdHb (%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