Skip to content

FTBFS due to usage of deprecated dependency #200

Closed
@upils

Description

@upils

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 the tools 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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions