Problem with building with make install with latest source code on Amazon Linux 2
joehellmersNOAA opened this issue · 1 comments
joehellmersNOAA commented
When building from source using "make install" on Amazon Linux 2 with go version 1.18.9 getting a message that seems to be related to recent change checked in 4 months ago.
go: downloading golang.org/x/text v0.3.7
# github.com/kahing/goofys/api/common
api/common/panic_logger.go:69:27: FusePanicLogger.BatchForget redeclared in this block
api/common/panic_logger.go:41:27: other declaration of BatchForget
make: *** [install] Error 2
Prior to that I tried using the go install but got this.
go: downloading github.com/tklauser/numcpus v0.6.0
# github.com/kahing/goofys/api/common
../work/pkg/mod/github.com/kahing/goofys@v0.24.0/api/common/conf_azure.go:272:35: accountsRes.Value undefined (type storage.AccountListResultPage has no field or method Value)
../work/pkg/mod/github.com/kahing/goofys@v0.24.0/api/common/conf_azure.go:373:67: not enough arguments in call to client.ListKeys
have (context.Context, string, string)
want (context.Context, string, string, storage.ListKeyExpand)
mcc311 commented
same here