ined: maxMapSize _build/src/github.com/boltdb/bolt/db.go:335:10: undefined: maxMapSize _build/src/github.com/boltdb/bolt/db.go:336:8: undefined: maxMapSize _build/src/github.com/boltdb/bolt/freelist.go:169:19: undefined: maxAllocSize _build/src/github.com/boltdb/bolt/freelist.go:176:14: undefined: maxAllocSize _build/src/github.com/boltdb/bolt/freelist.go:204:17: undefined: maxAllocSize _build/src/github.com/boltdb/bolt/freelist.go:207:7: undefined: maxAllocSize _build/src/github.com/boltdb/bolt/freelist.go:207:7: too many errors /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b024/_pkg_.a # internal cp $WORK/b024/_pkg_.a /builddir/.cache/go-build/04/04d9b9550fa3214b4bd321602f66d71baf1bb66c2d18c18ae6ab2b6b1a66380b-d # internal /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b048/_pkg_.a # internal cp $WORK/b048/_pkg_.a /builddir/.cache/go-build/b9/b96760f87fc39f2fc846f907b7458abf9b86027016bea114031047833eec797b-d # internal compress/gzip mkdir -p $WORK/b047/ cat >$WORK/b047/importcfg << 'EOF' # internal # import config packagefile bufio=$WORK/b046/_pkg_.a packagefile compress/flate=$WORK/b048/_pkg_.a packagefile encoding/binary=$WORK/b019/_pkg_.a packagefile errors=$WORK/b003/_pkg_.a packagefile fmt=$WORK/b025/_pkg_.a packagefile hash/crc32=$WORK/b049/_pkg_.a packagefile io=$WORK/b013/_pkg_.a packagefile time=$WORK/b033/_pkg_.a EOF cd /usr/lib/golang/src/compress/gzip /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b047/_pkg_.a -trimpath "$WORK/b047=>" -p compress/gzip -std -complete -buildid PL7CRq7RMKVKuyvXkERZ/PL7CRq7RMKVKuyvXkERZ -goversion go1.15.11 -D "" -importcfg $WORK/b047/importcfg -pack -c=4 ./gunzip.go ./gzip.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b047/_pkg_.a # internal cp $WORK/b047/_pkg_.a /builddir/.cache/go-build/38/38d7d511464e0ec6eaa2c628f5d79760a8786c506896f5306469110bd70445cb-d # internal runtime/pprof mkdir -p $WORK/b045/ cat >$WORK/b045/importcfg << 'EOF' # internal # import config packagefile bufio=$WORK/b046/_pkg_.a packagefile bytes=$WORK/b002/_pkg_.a packagefile compress/gzip=$WORK/b047/_pkg_.a packagefile context=$WORK/b050/_pkg_.a packagefile encoding/binary=$WORK/b019/_pkg_.a packagefile errors=$WORK/b003/_pkg_.a packagefile fmt=$WORK/b025/_pkg_.a packagefile io=$WORK/b013/_pkg_.a packagefile io/ioutil=$WORK/b042/_pkg_.a packagefile math=$WORK/b020/_pkg_.a packagefile os=$WORK/b028/_pkg_.a packagefile runtime=$WORK/b007/_pkg_.a packagefile sort=$WORK/b027/_pkg_.a packagefile strconv=$WORK/b023/_pkg_.a packagefile strings=$WORK/b036/_pkg_.a packagefile sync=$WORK/b014/_pkg_.a packagefile syscall=$WORK/b032/_pkg_.a packagefile text/tabwriter=$WORK/b051/_pkg_.a packagefile time=$WORK/b033/_pkg_.a EOF cd /usr/lib/golang/src/runtime/pprof /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b045/_pkg_.a -trimpath "$WORK/b045=>" -p runtime/pprof -std -buildid 0jHIpRJMDtElo-31exh7/0jHIpRJMDtElo-31exh7 -goversion go1.15.11 -D "" -importcfg $WORK/b045/importcfg -pack -c=4 ./elf.go ./label.go ./map.go ./pprof.go ./pprof_rusage.go ./proto.go ./protobuf.go ./protomem.go ./runtime.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b045/_pkg_.a # internal cp $WORK/b045/_pkg_.a /builddir/.cache/go-build/05/05eeb1a3e9273bd53a52a8eca2d5fa6451c790c5733a9450e148ce37761dfd61-d # internal error: Bad exit status from /var/tmp/rpm-tmp.P6nF9g (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.P6nF9g (%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/golang-github-boltdb-bolt.spec