atform/config/env packagefile errors=/tmp/go-build278227133/b003/_pkg_.a packagefile fmt=/tmp/go-build278227133/b002/_pkg_.a packagefile github.com/aws/aws-sdk-go/aws=/tmp/go-build278227133/b564/_pkg_.a packagefile github.com/aws/aws-sdk-go/aws/client=/tmp/go-build278227133/b572/_pkg_.a packagefile github.com/aws/aws-sdk-go/aws/request=/tmp/go-build278227133/b574/_pkg_.a packagefile github.com/aws/aws-sdk-go/aws/session=/tmp/go-build278227133/b577/_pkg_.a packagefile github.com/aws/aws-sdk-go/service/lightsail=/tmp/go-build278227133/b605/_pkg_.a packagefile github.com/go-acme/lego/challenge/dns01=/tmp/go-build278227133/b156/_pkg_.a packagefile github.com/go-acme/lego/platform/config/env=/tmp/go-build278227133/b173/_pkg_.a packagefile math/rand=/tmp/go-build278227133/b063/_pkg_.a packagefile time=/tmp/go-build278227133/b038/_pkg_.a EOF /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b563/_pkg_.a -trimpath "$WORK/b563=>" -p github.com/go-acme/lego/providers/dns/lightsail -complete -installsuffix shared -buildid tzsQPa_mP8QjWXEBa7Na/tzsQPa_mP8QjWXEBa7Na -goversion go1.21.3 -c=4 -shared -nolocalimports -importcfg $WORK/b563/importcfg -pack ./_build/src/github.com/go-acme/lego/providers/dns/lightsail/lightsail.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b563/_pkg_.a # internal cp $WORK/b563/_pkg_.a /builddir/.cache/go-build/f5/f5cad83f919851d4ac967d303420dd2662ca8c51cdf52682b8ef01d94bf18383-d # internal cp $WORK/b665/_pkg_.a /builddir/.cache/go-build/a1/a11da4a284252e95e30145a7d6a1a67bbb58a08660ad56e18f3536c85a0c37d3-d # internal github.com/go-acme/lego/providers/dns/sakuracloud mkdir -p $WORK/b664/ cat >/tmp/go-build278227133/b664/importcfg << 'EOF' # internal # import config importmap github.com/go-acme/lego/v4/challenge/dns01=github.com/go-acme/lego/challenge/dns01 importmap github.com/go-acme/lego/v4/platform/config/env=github.com/go-acme/lego/platform/config/env packagefile errors=/tmp/go-build278227133/b003/_pkg_.a packagefile fmt=/tmp/go-build278227133/b002/_pkg_.a packagefile github.com/go-acme/lego/challenge/dns01=/tmp/go-build278227133/b156/_pkg_.a packagefile github.com/go-acme/lego/platform/config/env=/tmp/go-build278227133/b173/_pkg_.a packagefile github.com/sacloud/libsacloud/api=/tmp/go-build278227133/b665/_pkg_.a packagefile github.com/sacloud/libsacloud/sacloud=/tmp/go-build278227133/b668/_pkg_.a packagefile net/http=/tmp/go-build278227133/b110/_pkg_.a packagefile strings=/tmp/go-build278227133/b047/_pkg_.a packagefile time=/tmp/go-build278227133/b038/_pkg_.a EOF /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b664/_pkg_.a -trimpath "$WORK/b664=>" -p github.com/go-acme/lego/providers/dns/sakuracloud -complete -installsuffix shared -buildid l6Szd7nHCVUAT6414L4c/l6Szd7nHCVUAT6414L4c -goversion go1.21.3 -c=4 -shared -nolocalimports -importcfg $WORK/b664/importcfg -pack ./_build/src/github.com/go-acme/lego/providers/dns/sakuracloud/client.go ./_build/src/github.com/go-acme/lego/providers/dns/sakuracloud/sakuracloud.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b664/_pkg_.a # internal cp $WORK/b664/_pkg_.a /builddir/.cache/go-build/5a/5a84f39dcfbbce95ec7782e879bbc3446aee754d75d7c515a87dd4484c4eab2e-d # internal error: Bad exit status from /var/tmp/rpm-tmp.EbS3EL (%build) %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.EbS3EL (%build) RPM build warnings: 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/golang-github-acme-lego.spec