Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wazerstar opened this issue Dec 20, 2023 · 2 comments · Fixed by #70
Closed

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

wazerstar opened this issue Dec 20, 2023 · 2 comments · Fixed by #70
Labels
help wanted Extra attention is needed

Comments

@wazerstar
Copy link

wazerstar commented Dec 20, 2023

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
Copy link
Contributor

mholt commented Dec 20, 2023

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.

@mholt mholt added the help wanted Extra attention is needed label Dec 20, 2023
@wazerstar
Copy link
Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants