-
Notifications
You must be signed in to change notification settings - Fork 79
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
dh-make-golang estimate
broken in Debian unstable
#231
Comments
n-peugnet
added a commit
to n-peugnet/dh-make-golang
that referenced
this issue
Jan 5, 2025
As support for the gopath mode of "go get" has been removed in latest versions of Go, we cannot use the GO111MODULE=off trick any more. To fix the estimate command, we now download the sources of the repo manually then run "go mod tidy" in the repo dir to make use of the information contained in the go.mod file and download the dependencies. For go packages that are not modules yet, we init ourselves a go module using "go mod init". Closes: Debian#159 Closes: Debian#231
n-peugnet
added a commit
to n-peugnet/dh-make-golang
that referenced
this issue
Jan 5, 2025
As support for the gopath mode of "go get" has been removed in latest versions of Go, we cannot use the GO111MODULE=off trick any more. To fix the estimate command, we now download the sources of the repo manually then run "go get" in the repo dir to make use of the information contained in the go.mod file and download the dependencies. For go packages that are not modules yet, we init ourselves a go module using "go mod init". Closes: Debian#159 Closes: Debian#231
n-peugnet
added a commit
to n-peugnet/dh-make-golang
that referenced
this issue
Jan 5, 2025
As support for the gopath mode of "go get" has been removed in latest versions of Go, we cannot use the GO111MODULE=off trick any more. To fix the estimate command, we now download the sources of the repo manually then run "go get" in the repo dir to make use of the information contained in the go.mod file and download the dependencies. For go packages that are not modules yet, we init ourselves a go module using "go mod init". Closes: Debian#159 Closes: Debian#231
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am not sure if I should report this in Debian or GitHub, but starting here:
Currently, the version in Debian unstable (dh-make-golang 0.7.0-1) can't produce any estimates. All invocations (tried on 4 different packages) fail with:
The text was updated successfully, but these errors were encountered: