efined: 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/62/62ffc06c22fd33a8941f713394c448b445006159b4bb761e1232e898745a40bc-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/2d/2db1f3ba8505359ef4c58548050266c6329a40f5f9c9c3f1361aecd5126d648f-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 qR0o7FHm3cYTfjKSFHdM/qR0o7FHm3cYTfjKSFHdM -goversion go1.15.5 -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/ce/ce8c72d6ab663204ff7deb18535a721c5769d894bce07862ce74b8fbe001dcc1-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 XnH0D0Fvxe1EaEhbJrZZ/XnH0D0Fvxe1EaEhbJrZZ -goversion go1.15.5 -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/89/8951e57e2d24575374df24238802ec83de7404654af8f30c6dbfa52027883442-d # internal error: Bad exit status from /var/tmp/rpm-tmp.Wx1rui (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Wx1rui (%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