redentials/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/b074/_pkg_.a packagefile crypto/sha1=$WORK/b078/_pkg_.a packagefile encoding/base64=$WORK/b085/_pkg_.a packagefile fmt=$WORK/b051/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/Sirupsen/logrus=$WORK/b103/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws=$WORK/b224/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/awserr=$WORK/b225/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/corehandlers=$WORK/b228/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/credentials=$WORK/b226/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds=$WORK/b233/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/ec2metadata=$WORK/b236/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/request=$WORK/b229/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/aws/session=$WORK/b237/_pkg_.a packagefile github.com/docker/distribution/vendor/github.com/aws/aws-sdk-go/service/s3=$WORK/b240/_pkg_.a packagefile github.com/docker/distribution/context=$WORK/b139/_pkg_.a packagefile github.com/docker/distribution/registry/client/transport=$WORK/b176/_pkg_.a packagefile github.com/docker/distribution/registry/storage/driver=$WORK/b167/_pkg_.a packagefile github.com/docker/distribution/registry/storage/driver/base=$WORK/b215/_pkg_.a packagefile github.com/docker/distribution/registry/storage/driver/factory=$WORK/b183/_pkg_.a packagefile io=$WORK/b020/_pkg_.a packagefile io/ioutil=$WORK/b111/_pkg_.a packagefile math=$WORK/b035/_pkg_.a packagefile net/http=$WORK/b116/_pkg_.a packagefile net/url=$WORK/b094/_pkg_.a packagefile reflect=$WORK/b042/_pkg_.a packagefile sort=$WORK/b053/_pkg_.a packagefile strconv=$WORK/b034/_pkg_.a packagefile strings=$WORK/b062/_pkg_.a packagefile time=$WORK/b028/_pkg_.a EOF /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b223/_pkg_.a -trimpath "$WORK/b223=>" -p github.com/docker/distribution/registry/storage/driver/s3-aws -complete -installsuffix shared -buildid 0FUTJ-kd0S1ZC-OcA5Lu/0FUTJ-kd0S1ZC-OcA5Lu -goversion go1.19.2 -shared -c=4 -nolocalimports -importcfg $WORK/b223/importcfg -pack ./src/github.com/docker/distribution/registry/storage/driver/s3-aws/s3.go ./src/github.com/docker/distribution/registry/storage/driver/s3-aws/s3_v2_signer.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b223/_pkg_.a # internal cp $WORK/b223/_pkg_.a /builddir/.cache/go-build/51/51edd95ed5dbe848da0eee6b2f23693af3408309387472972da43284c41de16c-d # internal error: Bad exit status from /var/tmp/rpm-tmp.x9bKoX (%build) Bad exit status from /var/tmp/rpm-tmp.x9bKoX (%build) RPM build errors: 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/docker-distribution.spec