axMapSize _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/b023/_pkg_.a # internal cp $WORK/b023/_pkg_.a /builddir/.cache/go-build/3e/3e975209c9c4032753b5137b55cfb03fb36fb5ecb8a3598546c55cb47d764b7b-d # internal /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b046/_pkg_.a # internal cp $WORK/b046/_pkg_.a /builddir/.cache/go-build/dd/dd164200af4ec95fdc4984e778c9ffb82b4b531b8191e00b3e86160cb92ade96-d # internal compress/gzip mkdir -p $WORK/b045/ cat >$WORK/b045/importcfg << 'EOF' # internal # import config packagefile bufio=$WORK/b044/_pkg_.a packagefile compress/flate=$WORK/b046/_pkg_.a packagefile encoding/binary=$WORK/b018/_pkg_.a packagefile errors=$WORK/b003/_pkg_.a packagefile fmt=$WORK/b024/_pkg_.a packagefile hash/crc32=$WORK/b047/_pkg_.a packagefile io=$WORK/b012/_pkg_.a packagefile time=$WORK/b032/_pkg_.a EOF cd /usr/lib/golang/src/compress/gzip /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b045/_pkg_.a -trimpath "$WORK/b045=>" -p compress/gzip -std -complete -buildid CZC8np41yCnPK4hb4DAV/CZC8np41yCnPK4hb4DAV -goversion go1.14 -D "" -importcfg $WORK/b045/importcfg -pack -c=4 ./gunzip.go ./gzip.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b045/_pkg_.a # internal cp $WORK/b045/_pkg_.a /builddir/.cache/go-build/a9/a998557ab787988c232756a12cbd0184846a2c6b37632129bba465755b10c7f6-d # internal runtime/pprof mkdir -p $WORK/b043/ cat >$WORK/b043/importcfg << 'EOF' # internal # import config packagefile bufio=$WORK/b044/_pkg_.a packagefile bytes=$WORK/b002/_pkg_.a packagefile compress/gzip=$WORK/b045/_pkg_.a packagefile context=$WORK/b048/_pkg_.a packagefile encoding/binary=$WORK/b018/_pkg_.a packagefile errors=$WORK/b003/_pkg_.a packagefile fmt=$WORK/b024/_pkg_.a packagefile io=$WORK/b012/_pkg_.a packagefile io/ioutil=$WORK/b040/_pkg_.a packagefile math=$WORK/b019/_pkg_.a packagefile os=$WORK/b027/_pkg_.a packagefile runtime=$WORK/b005/_pkg_.a packagefile sort=$WORK/b026/_pkg_.a packagefile strconv=$WORK/b022/_pkg_.a packagefile strings=$WORK/b034/_pkg_.a packagefile sync=$WORK/b013/_pkg_.a packagefile text/tabwriter=$WORK/b049/_pkg_.a packagefile time=$WORK/b032/_pkg_.a EOF cd /usr/lib/golang/src/runtime/pprof /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b043/_pkg_.a -trimpath "$WORK/b043=>" -p runtime/pprof -std -buildid gL4F_tDA_GGj-h3lKCSh/gL4F_tDA_GGj-h3lKCSh -goversion go1.14 -D "" -importcfg $WORK/b043/importcfg -pack -c=4 ./elf.go ./label.go ./map.go ./pprof.go ./proto.go ./protobuf.go ./protomem.go ./runtime.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b043/_pkg_.a # internal cp $WORK/b043/_pkg_.a /builddir/.cache/go-build/9d/9dd3593cd4536c28969d9415cb6b3e9617a3fce50a0a274b398bb84e98e2020f-d # internal error: Bad exit status from /var/tmp/rpm-tmp.LLoB5g (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.LLoB5g (%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