Cloudreve
Cloudreve copied to clipboard
github.com/lib/[email protected] 导致的编译失败问题?
Describe the bug 直接检出后尝试编译不通过
To Reproduce Steps to reproduce the behavior:
git checkout 3.6.2go build
Expected behavior
.../opt/cloudreve_src $ go build
# github.com/lib/pq
../../../home/go/pkg/mod/github.com/lib/[email protected]/user_posix.go:13:6: userCurrent redeclared in this block
../../../home/go/pkg/mod/github.com/lib/[email protected]/user_other.go:8:6: other declaration of userCurrent
.../opt/cloudreve_src $
Screenshots
Desktop (please complete the following information):
- OS: None
- Browser None
- Version None
Smartphone (please complete the following information):
- Device: None
- OS: None
- Browser None
- Version None
Additional context 我尝试了更新出问题的包后,故障解决,并且成功通过当前版本和最新版本的编译(如下)
go get github.com/lib/pq@latest
go: downloading github.com/lib/pq v1.10.9
go: upgraded github.com/lib/pq v1.10.3 => v1.10.9
编译目标的CPU架构是?
aarch64
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.