[pkg-go] Bug#1076132: vuls: FTBFS: add support for loong64

zhangdandan zhangdandan at loongson.cn
Thu Jul 11 09:48:47 BST 2024


Source: vuls
Version: 0.6.1-5
Severity: normal
Tags: patch
User: debian-loongarch at lists.debian.org
Usertags: loong64

Dear maintainers,

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
```

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.

Your opinions are welcome.

Thanks
Dandan Zhang



More information about the Pkg-go-maintainers mailing list