Minecodes / custom-caddy

A template for creating own caddy instances with custom plugins and commands.
0 stars 0 forks source link

github.com/lucas-clemente/quic-go causes build failure #1

Open gedw99 opened 1 year ago

gedw99 commented 1 year ago

hey @Minecodes

just tried to build off main branch...

looks like quic dependency upstream is clashing ?

'''

github.com/lucas-clemente/quic-go/internal/qtls

../../../../../../../pkg/mod/github.com/lucas-clemente/quic-go@v0.28.0/internal/qtls/go120.go:6: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 declaration make: *** [Makefile:18: build] Error 1 '''

gedw99 commented 1 year ago

fix was to

  1. upgrade all modules. '''
    Updating github.com/Tasudo/caddy-jailbait to version 0.0.0-20221105195611-142c22c831cd... Updating github.com/abiosoft/caddy-exec to version 0.0.0-20230217202400-46a1d8879ee2... Updating github.com/caddyserver/caddy/v2 to version 2.6.4... Updating github.com/mholt/caddy-webdav to version 0.0.0-20221206035947-75a603bc6978... Updating github.com/ueffel/caddy-brotli to version 1.3.0... '''

  2. update import of github.com/Tasudo/caddy-jailbait/v2

Minecodes commented 1 year ago

Thanks for your issue. 👍 I'm gonna look into it 😉

Minecodes commented 1 year ago

I fixed it. For me, it's working. Please check if it works for you too.

gedw99 commented 1 year ago

Ok I can pull tomorrow if you want

I was not able to extend the caddy file to use a lot of the other things that are backed in.

Do you mind if I email you later ?

Minecodes commented 1 year ago

I don't mind if you email me. You can contact me under contact@minecodes.de

Minecodes commented 1 year ago

When you have anything that you have to send to me, please write it here, because my server is in maintenance.