Closed neosdutertre closed 1 year ago
Hi @neosdutertre, seems like that quic-go build broke between go1.21rc4 and go1.21.0, see https://github.com/quic-go/quic-go/issues/4021. So, in order to build it with Go 1.21 we need quic-go v0.37.4
, but currently the indirect dependency Is github.com/quic-go/quic-go v0.37.3 // indirect
More context: https://github.com/caddyserver/caddy/pull/5719#issuecomment-1670271346
It is a Caddy dependency, updated https://github.com/caddyserver/caddy/pull/5719, it is part of Caddy v2.7.4, not yet released.
You could:
xcaddy build master --with github.com/corazawaf/coraza-caddy/v2
. Or instead of master, you could add also the specific commit sha.so that was almost dumb :-) reverted to golang 1.20 and it is building, now !
Moving forward ! Thanks a lot for your response,
You are welcome! You are just ahead of time and faster than releases 😄
We just cut a release https://github.com/corazawaf/coraza-caddy/releases/tag/v2.0.0-rc.3
Hello, I am pretty new to the "build" stuff, Caddy and Coraza (looking for a replacement of modsecurity), so I apologize if the below question seems dumb. I encounter the below error while building Coraza:
xcaddy build --with github.com/corazawaf/coraza-caddy/v2
using go 1.21.0 on ubuntu 22.04Any clue ?
thanks, Stephane