apSize _build/src/github.com/boltdb/bolt/bucket.go:135:15: undefined: brokenUnaligned _build/src/github.com/boltdb/bolt/db.go:101:13: undefined: maxMapSize _build/src/github.com/boltdb/bolt/db.go:317:12: undefined: 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/b048/_pkg_.a # internal cp $WORK/b048/_pkg_.a /builddir/.cache/go-build/82/822eeac00d0e11cf3e88aed335e7a02162372e27bc7c3494f332aa44455bc443-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 YQPThH-yfnmI9-4Sjpk1/YQPThH-yfnmI9-4Sjpk1 -goversion go1.15rc1 -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/a6/a64e5ef9522f13031dbdf2bb091cebdc14a50786962f7338b79140ce1e4115a4-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 Sz0mR2_1rqIfzRrNXeor/Sz0mR2_1rqIfzRrNXeor -goversion go1.15rc1 -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/7c/7c192ec873a4af36140eeb529b59d86ed1384cc5877c51435ea4c5dc1bbedccc-d # internal error: Bad exit status from /var/tmp/rpm-tmp.qasvfk (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qasvfk (%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