-
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
FTBFS due to usage of deprecated dependency #200
Comments
@upils Thank you so much for investigating this FTBFS and suggesting the use of I hope I will have time to look at it soon, but probably not earlier than end of 2023. Many thanks! |
I debugged this issue today and it doesn't look like Looking at the examples in the tests, it's not possible to figure, for instance, the repository root for the
The examples above were done using I also checked if What do you think it would be a reasonable solution? Vendor the whole |
Thank you @myhro for your help! For testing on GitHub (where Go module is on),
so As for Debian packaging where GO111MODULE=off, I have used a way to sneak in Go packages, so I think I'll do that for dh-make-golang 0.7.0-1. Cheers! |
dh-make-golang is failing to build from source. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043070
This is due to
golang.org/x/tools/go/vcs
being deprecated and removed from thetools
pkg (see https://go-review.googlesource.com/c/tools/+/159818/4).According to the aforementioned change, the recommended way is to use
go list -json
, which would require rewriting parts of the code.Another solution would be to pin the version of
golang-golang-x-tools
to an older version. But in debian the previous stable version is 0.5.0 which is a bit old.The text was updated successfully, but these errors were encountered: