[pkg-go] Bug#1076133: golang-github-boltdb-bolt: FTBFS on loong64 and consider to change one active Homepage

zhangdandan zhangdandan at loongson.cn
Thu Jul 11 10:05:40 BST 2024


Source: golang-github-boltdb-bolt
Version: 1.3.1-7
Severity: normal
Tags: patch
User: debian-loongarch at lists.debian.org
Usertags: loong64

Dear maintainers,

The golang-github-boltdb-bolt source package lacks loong64 architecture 
support.
Compiling the vuls package failed for loong64 in the Debian Package 
Auto-Building environment.
Build failed 9 times.

The build log can be found at 
https://buildd.debian.org/status/logs.php?pkg=vuls&ver=0.6.1-5&arch=loong64.
After analyzing, the reported error is related to bolt project, please 
see the below info,
```
# github.com/boltdb/bolt
src/github.com/boltdb/bolt/db.go:101:13: undefined array length 
maxMapSize or missing type constraint
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
```

- Add loong64 support to bolt
The golang-github-boltdb-bolt package is belong to all arch package.
Please take care of the support for others architectures.
I have added loong64 support to bolt project (Archived, can not submit 
pull-request).
Please check 
https://github.com/boltdb/bolt/compare/master...Dandan336:bolt:master.
You can also consider the patch I attached.

- The bolt upstream have been archived by the owner
The golang-github-boltdb-bolt package's Homepage 
(https://github.com/boltdb/bolt) has been archived by the owner.
Please consider to change one active Homepage.

Your opinions are welcome.

Thanks
Dandan Zhang

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bolt-0005-add-loong64-support.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20240711/fd1f29ff/attachment.bin>


More information about the Pkg-go-maintainers mailing list