/remote/auth mkdir -p $WORK/b161/ cat >/tmp/go-build368690912/b161/importcfg << 'EOF' # internal # import config packagefile context=/tmp/go-build368690912/b028/_pkg_.a packagefile encoding/base64=/tmp/go-build368690912/b035/_pkg_.a packagefile encoding/json=/tmp/go-build368690912/b033/_pkg_.a packagefile errors=/tmp/go-build368690912/b004/_pkg_.a packagefile fmt=/tmp/go-build368690912/b041/_pkg_.a packagefile io=/tmp/go-build368690912/b021/_pkg_.a packagefile net/http=/tmp/go-build368690912/b091/_pkg_.a packagefile net/url=/tmp/go-build368690912/b089/_pkg_.a packagefile oras.land/oras-go/v2/errdef=/tmp/go-build368690912/b149/_pkg_.a packagefile oras.land/oras-go/v2/internal/syncutil=/tmp/go-build368690912/b162/_pkg_.a packagefile oras.land/oras-go/v2/registry/remote/internal/errutil=/tmp/go-build368690912/b163/_pkg_.a packagefile sort=/tmp/go-build368690912/b043/_pkg_.a packagefile strconv=/tmp/go-build368690912/b040/_pkg_.a packagefile strings=/tmp/go-build368690912/b027/_pkg_.a packagefile sync=/tmp/go-build368690912/b022/_pkg_.a EOF /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b161/_pkg_.a -trimpath "$WORK/b161=>" -p oras.land/oras-go/v2/registry/remote/auth -complete -installsuffix shared -buildid qm19PIvR8CrBp7OlNimx/qm19PIvR8CrBp7OlNimx -goversion go1.21.3 -c=4 -shared -nolocalimports -importcfg $WORK/b161/importcfg -pack /usr/share/gocode/src/oras.land/oras-go/v2/registry/remote/auth/cache.go /usr/share/gocode/src/oras.land/oras-go/v2/registry/remote/auth/challenge.go /usr/share/gocode/src/oras.land/oras-go/v2/registry/remote/auth/client.go /usr/share/gocode/src/oras.land/oras-go/v2/registry/remote/auth/credential.go /usr/share/gocode/src/oras.land/oras-go/v2/registry/remote/auth/scope.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b161/_pkg_.a # internal cp $WORK/b161/_pkg_.a /builddir/.cache/go-build/d3/d3db0c24189b60b6786d5c44f12e5de93039e1f85628d9a6267370c3d6508a72-d # internal oras.land/oras/internal/credential mkdir -p $WORK/b177/ cat >/tmp/go-build368690912/b177/importcfg << 'EOF' # internal # import config packagefile context=/tmp/go-build368690912/b028/_pkg_.a packagefile fmt=/tmp/go-build368690912/b041/_pkg_.a packagefile github.com/docker/cli/cli/config=/tmp/go-build368690912/b178/_pkg_.a packagefile github.com/docker/cli/cli/config/configfile=/tmp/go-build368690912/b179/_pkg_.a packagefile github.com/docker/cli/cli/config/credentials=/tmp/go-build368690912/b180/_pkg_.a packagefile github.com/docker/cli/cli/config/types=/tmp/go-build368690912/b181/_pkg_.a packagefile oras.land/oras-go/v2/registry/remote/auth=/tmp/go-build368690912/b161/_pkg_.a packagefile os=/tmp/go-build368690912/b044/_pkg_.a EOF /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b177/_pkg_.a -trimpath "$WORK/b177=>" -p oras.land/oras/internal/credential -complete -installsuffix shared -buildid BVFlM5vsp4miE09fH6wV/BVFlM5vsp4miE09fH6wV -goversion go1.21.3 -c=4 -shared -nolocalimports -importcfg $WORK/b177/importcfg -pack ./_build/src/oras.land/oras/internal/credential/credential.go ./_build/src/oras.land/oras/internal/credential/store.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b177/_pkg_.a # internal cp $WORK/b177/_pkg_.a /builddir/.cache/go-build/59/596ee302e20e371ae6cde1ac30641b84a65f1cfc20ed0a81e15bf83b1fba871c-d # internal error: Bad exit status from /var/tmp/rpm-tmp.NdhSyd (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.NdhSyd (%build) 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 -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/golang-oras.spec