Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1102896

Bug#1010686: golang-github-boltdb-bolt: ftbfs issue on riscv64 arch

From Ileana Dumitrescu <ileanadumi95@protonmail.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1010686: golang-github-boltdb-bolt: ftbfs issue on riscv64 arch
Date 2022-05-12 15:10 +0200
Message-ID <EmgJP-eYY0-19@gated-at.bofh.it> (permalink)
References <EkkRz-dNq4-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The golang-github-hashicorp-raft-boltdb upstream developers created a v2 version to use bbolt, but their v2 code still uses the original version which depends on boltdb [1]. I wrote an issue on their github page in January [2] but no actions have been taken. For golang, the upstream code's dependency on raft-boltdb has to be completely removed for the package to build with riscv.

I currently get FTBFS for riscv with golang-github-boltdb-bolt (1.3.1-7) and golang-github-hashicorp-raft-boltdb (0.0~git20171010.6e5ba93-3). golang-github-coreos-bbolt (1.3.5-1) successfully builds as expected.

I agree this bbolt and boltdb issue should be fixed, as there are packages like consul and nomad that also depend on it.

> These package's upstream had switched to bbolt:
> * golang-github-blevesearch-bleve
> * influxdb
> * golang-github-hashicorp-raft-boltdb

> So can these packages dependencs switch from golang-github-boltdb-bolt-dev to
> golang-github-coreos-bbolt?

Yes if none of the other package dependencies depend on golang-github-boltdb-bolt-dev which would still cause a FTBFS.

Below is the error message consistently seen with this FTBFS during dh_auto_build.

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


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004303
[2] https://github.com/hashicorp/raft-boltdb/issues/27

Ileana Dumitrescu

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1010686: golang-github-boltdb-bolt: ftbfs issue on riscv64 arch Bo YU <tsu.yubo@gmail.com> - 2022-05-07 07:10 +0200
  Bug#1010686: golang-github-boltdb-bolt: ftbfs issue on riscv64 arch Bo YU <tsu.yubo@gmail.com> - 2022-05-10 06:00 +0200
  Bug#1010686: golang-github-boltdb-bolt: ftbfs issue on riscv64 arch Ileana Dumitrescu <ileanadumi95@protonmail.com> - 2022-05-12 15:10 +0200

csiph-web