dpkg-buildpackage: info: source package golang-github-hashicorp-raft-boltdb dpkg-buildpackage: info: source version 2.2.0-1 dpkg-buildpackage: info: source distribution UNRELEASED dpkg-buildpackage: info: source changed by Ileana Dumitrescu dpkg-source --before-build . dpkg-buildpackage: info: host architecture riscv64 fakeroot debian/rules clean dh clean --buildsystem=golang --with=golang dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_auto_clean -O--buildsystem=golang dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_clean -O--buildsystem=golang dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) dpkg-source -b . dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building golang-github-hashicorp-raft-boltdb using existing ./golang-github-hashicorp-raft-boltdb_2.2.0.orig.tar.gz dpkg-source: info: building golang-github-hashicorp-raft-boltdb in golang-github-hashicorp-raft-boltdb_2.2.0-1.debian.tar.xz dpkg-source: info: building golang-github-hashicorp-raft-boltdb in golang-github-hashicorp-raft-boltdb_2.2.0-1.dsc debian/rules build dh build --buildsystem=golang --with=golang dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_update_autotools_config -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_auto_build -O--buildsystem=golang dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use) cd obj-riscv64-linux-gnu && go install -trimpath -v -p 1 github.com/hashicorp/raft-boltdb github.com/hashicorp/raft-boltdb/v2 internal/unsafeheader internal/abi internal/cpu internal/bytealg internal/goexperiment runtime/internal/atomic runtime/internal/sys runtime/internal/math runtime internal/reflectlite errors internal/race sync/atomic sync io unicode unicode/utf8 bytes internal/itoa internal/oserror syscall time context math/bits math strconv reflect encoding/binary strings bufio sort internal/fmtsort internal/syscall/unix internal/poll internal/syscall/execenv internal/testlog path io/fs os fmt container/list github.com/hashicorp/golang-lru/simplelru github.com/hashicorp/go-immutable-radix log vendor/golang.org/x/net/dns/dnsmessage internal/nettrace internal/singleflight runtime/cgo net compress/flate hash hash/crc32 compress/gzip crypto/internal/subtle crypto/subtle crypto/cipher crypto/aes math/rand math/big crypto/rand crypto crypto/des crypto/elliptic/internal/fiat crypto/elliptic crypto/internal/randutil crypto/sha512 unicode/utf16 encoding/asn1 vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa crypto/ed25519/internal/edwards25519/field crypto/ed25519/internal/edwards25519 crypto/ed25519 crypto/hmac crypto/md5 crypto/rc4 crypto/rsa crypto/sha1 crypto/sha256 crypto/dsa encoding/hex crypto/x509/pkix encoding/base64 encoding/pem net/url path/filepath crypto/x509 vendor/golang.org/x/crypto/internal/subtle vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/poly1305 vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/crypto/hkdf crypto/tls vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/idna net/textproto vendor/golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpproxy vendor/golang.org/x/net/http2/hpack io/ioutil mime mime/quotedprintable mime/multipart net/http/httptrace net/http/internal net/http/internal/ascii net/http os/signal github.com/armon/go-metrics hash/fnv runtime/debug github.com/boltdb/bolt # github.com/boltdb/bolt src/github.com/boltdb/bolt/bolt_unix.go:62:14: [maxMapSize]byte used as value src/github.com/boltdb/bolt/bolt_unix.go:62:15: undefined: maxMapSize src/github.com/boltdb/bolt/bucket.go:135:15: undefined: brokenUnaligned src/github.com/boltdb/bolt/db.go:101:12: [maxMapSize]byte used as value src/github.com/boltdb/bolt/db.go:101:13: undefined: maxMapSize src/github.com/boltdb/bolt/db.go:317:12: undefined: maxMapSize src/github.com/boltdb/bolt/db.go:335:10: undefined: maxMapSize src/github.com/boltdb/bolt/db.go:336:8: undefined: maxMapSize src/github.com/boltdb/bolt/freelist.go:169:18: [maxAllocSize]pgid used as value src/github.com/boltdb/bolt/freelist.go:169:19: undefined: maxAllocSize src/github.com/boltdb/bolt/freelist.go:169:18: too many errors encoding encoding/gob go/token encoding/json html text/template/parse text/template html/template net/rpc github.com/hashicorp/go-msgpack/codec golang.org/x/sys/internal/unsafeheader golang.org/x/sys/unix github.com/mattn/go-isatty github.com/mattn/go-colorable github.com/fatih/color regexp/syntax regexp github.com/hashicorp/go-hclog hash/crc64 flag internal/sysinfo runtime/trace testing github.com/hashicorp/raft go.etcd.io/bbolt dh_auto_build: error: cd obj-riscv64-linux-gnu && go install -trimpath -v -p 1 github.com/hashicorp/raft-boltdb github.com/hashicorp/raft-boltdb/v2 returned exit code 2 make: *** [debian/rules:7: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2