-shared -c=4 -nolocalimports -importcfg $WORK/b166/importcfg -pack /usr/share/gocode/src/github.com/projectdiscovery/retryabledns/doh/doh_client.go /usr/share/gocode/src/github.com/projectdiscovery/retryabledns/doh/options.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b166/_pkg_.a # internal cp $WORK/b166/_pkg_.a /builddir/.cache/go-build/e1/e10ba5707816be5d368d5601cadb8a7f7c4b6e94043577ff9d052e3c97501ae8-d # internal /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b208/_pkg_.a # internal cp $WORK/b208/_pkg_.a /builddir/.cache/go-build/b1/b1ecafa3032180424f33f4de57a5c25ebaca271d2f536f421c3acb2db9c33abf-d # internal github.com/projectdiscovery/hmap/store/disk mkdir -p $WORK/b207/ cat >/tmp/go-build1214258696/b207/importcfg << 'EOF' # internal # import config packagefile bytes=/tmp/go-build1214258696/b004/_pkg_.a packagefile errors=/tmp/go-build1214258696/b005/_pkg_.a packagefile github.com/syndtr/goleveldb/leveldb=/tmp/go-build1214258696/b208/_pkg_.a packagefile github.com/syndtr/goleveldb/leveldb/iterator=/tmp/go-build1214258696/b215/_pkg_.a packagefile github.com/syndtr/goleveldb/leveldb/util=/tmp/go-build1214258696/b210/_pkg_.a packagefile strconv=/tmp/go-build1214258696/b034/_pkg_.a packagefile sync=/tmp/go-build1214258696/b022/_pkg_.a packagefile time=/tmp/go-build1214258696/b041/_pkg_.a EOF /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b207/_pkg_.a -trimpath "$WORK/b207=>" -p github.com/projectdiscovery/hmap/store/disk -complete -installsuffix shared -buildid TyDiASfrCbbLLouhAUMN/TyDiASfrCbbLLouhAUMN -goversion go1.20.5 -shared -c=4 -nolocalimports -importcfg $WORK/b207/importcfg -pack /usr/share/gocode/src/github.com/projectdiscovery/hmap/store/disk/doc.go /usr/share/gocode/src/github.com/projectdiscovery/hmap/store/disk/kv.go /usr/share/gocode/src/github.com/projectdiscovery/hmap/store/disk/leveldb.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b207/_pkg_.a # internal cp $WORK/b207/_pkg_.a /builddir/.cache/go-build/dd/ddf9eb0546cce019a70499b692510f989db2f094f4e4f1f4af0fd303f3790282-d # internal github.com/projectdiscovery/hmap/store/hybrid mkdir -p $WORK/b205/ cat >/tmp/go-build1214258696/b205/importcfg << 'EOF' # internal # import config packagefile github.com/projectdiscovery/hmap/store/cache=/tmp/go-build1214258696/b206/_pkg_.a packagefile github.com/projectdiscovery/hmap/store/disk=/tmp/go-build1214258696/b207/_pkg_.a packagefile io/ioutil=/tmp/go-build1214258696/b123/_pkg_.a packagefile os=/tmp/go-build1214258696/b036/_pkg_.a packagefile runtime=/tmp/go-build1214258696/b010/_pkg_.a packagefile time=/tmp/go-build1214258696/b041/_pkg_.a EOF /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b205/_pkg_.a -trimpath "$WORK/b205=>" -p github.com/projectdiscovery/hmap/store/hybrid -complete -installsuffix shared -buildid DT_kYCggW1ly2D1DknQk/DT_kYCggW1ly2D1DknQk -goversion go1.20.5 -shared -c=4 -nolocalimports -importcfg $WORK/b205/importcfg -pack /usr/share/gocode/src/github.com/projectdiscovery/hmap/store/hybrid/hybrid.go /usr/share/gocode/src/github.com/projectdiscovery/hmap/store/hybrid/memoryguard.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b205/_pkg_.a # internal cp $WORK/b205/_pkg_.a /builddir/.cache/go-build/b7/b740fad01d6d20057f12de4b7324ea7752d41f563af26446880845e5ea762fea-d # internal error: Bad exit status from /var/tmp/rpm-tmp.yOUosy (%build) Bad exit status from /var/tmp/rpm-tmp.yOUosy (%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 -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/dnsx.spec