pydio / cells

Future-proof content collaboration platform
https://pydio.com
GNU Affero General Public License v3.0
1.78k stars 173 forks source link

Cells ( v4.2.0) does not build on Go 1.20 #486

Closed Hukadan closed 12 months ago

Hukadan commented 1 year ago

The README indicates that Go language v1.18 or higher is needed, but Cell does not build on Go 1.20 due to the (indirect) quic-go dependency. Here is the error message:

# github.com/lucas-clemente/quic-go/internal/qtls
../../../../go/pkg/mod/github.com/lucas-clemente/quic-go@v0.29.0/internal/qtls/go120.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.20 yet. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.20 yet. F...) as int value in variable declaratio

⚙️ How-to Reproduce Build with Go 1.20

🩺 Environment / Setup

Server Versions:

Client used for testing: N/A

Additional context: None

cdujeu commented 1 year ago

Hi @Hukadan thanks for reporting. We'll give a go with an upgrade of the quic-go library. -c

cdujeu commented 12 months ago

Ok, that was not that simple. Finally done, the main branch is now building on go20/21