caddy-dns / cloudflare

Caddy module: dns.providers.cloudflare
Apache License 2.0
436 stars 59 forks source link

Fatal error build with windows using master with latest release #69

Closed wazerstar closed 8 months ago

wazerstar commented 8 months ago

xcaddy build master --with github.com/caddy-dns/cloudflare

Using go version go1.21.5 windows/amd64

2023/12/20 13:35:27 [INFO] exec (timeout=0s): C:\Program Files\Go\bin\go.exe get -d -v github.com/caddy-dns/cloudflare github.com/caddyserver/caddy/v2@master
go: github.com/caddy-dns/cloudflare@v0.0.0-20231217194038-7b8ded472344 requires
        github.com/caddyserver/caddy/v2@v2.7.6, but v2.7.6-0.20231218231151-1bf72db6ff65 is requested
go: github.com/caddy-dns/cloudflare@upgrade (v0.0.0-20231217194038-7b8ded472344) requires github.com/caddyserver/caddy/v2@v2.7.6, not github.com/caddyserver/caddy/v2@master (v2.7.6-0.20231218231151-1bf72db6ff65)
2023/12/20 13:35:27 [FATAL] exit status 1

https://i.imgur.com/1iOWgtn.png

Using second latest commit works for now?

xcaddy build master --with github.com/caddy-dns/cloudflare@737bf003fe8af81814013a01e981dc8faea44c07

mholt commented 8 months ago

Huh, that's odd.

Maybe some quirk with the Go tooling and version selection? Strange that it works for the previous commit which is nearly identical. I'll try to ask around from people who know.

wazerstar commented 8 months ago

Huh, that's odd.

Maybe some quirk with the Go tooling and version selection? Strange that it works for the previous commit which is nearly identical. I'll try to ask around from people who know.

It has always worked but ever since this update 3 days ago

as error states something must have changed?

error

requires github.com/caddyserver/caddy/v2@v2.7.6,

not github.com/caddyserver/caddy/v2@master (v2.7.6-0.20231218231151-1bf72db6ff65)