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

Build fails #821

Open
ErrorNoInternet opened this issue Oct 4, 2024 · 6 comments
Open

Build fails #821

ErrorNoInternet opened this issue Oct 4, 2024 · 6 comments

Comments

@ErrorNoInternet
Copy link

Attempting to run go build on the latest commits (including v10.0.3), I get:

go: downloading gortc.io/stun v1.23.0
src/utils/utils.go:30:2: unrecognized import path "gortc.io/stun": https fetch: Get "https://gortc.io/stun?go-get=1": dial tcp: lookup gortc.io on 127.0.0.53:53: no such host

gortc.io doesn't seem to be a valid domain on my end. v10.0.2 built fine.

@schollz
Copy link
Owner

schollz commented Oct 4, 2024

why not build on the latest? v10.0.13?

@ErrorNoInternet
Copy link
Author

Also happens on v10.0.3, it happens since d6f1a63.

@schollz
Copy link
Owner

schollz commented Oct 4, 2024

go version?

@ErrorNoInternet
Copy link
Author

golang-1.22.7-1.fc40.x86_64

@schollz
Copy link
Owner

schollz commented Oct 5, 2024

can you explain all the steps to replicate? I cannot:

> go version
go version go1.22.7 linux/amd64
> go build -v
> 

@ErrorNoInternet
Copy link
Author

Just cloned the repo and tried to run go build, that's it, nothing else. I am running Fedora 40. This also happens on Fedora COPR: (build logs) https://download.copr.fedorainfracloud.org/results/errornointernet/packages/fedora-40-x86_64/08099331-croc/builder-live.log.gz

> go version
go version go1.22.7 linux/amd64
> go build -v
go: downloading gortc.io/stun v1.23.0
src/utils/utils.go:30:2: unrecognized import path "gortc.io/stun": https fetch: Get "https://gortc.io/stun?go-get=1": dial tcp: lookup gortc.io on 127.0.0.53:53: no such host

Following hashicorp/horizon#63, adding replace gortc.io/stun => github.com/gortc/stun v1.23.0 to go.mod and running go mod tidy does fix it. Do you perhaps have gortc.io cached in ~/go?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants