Dear Go team, with the recent update of golang-golang-x-tools, some reverse dependencies failed to build.
All those packages depend on modules from golang-golang-x-tools, which have been deprecated and moved into an "internal" namespace. Therefore, they are no longer available to other packages. I'm wondering how we can solve this within Debian. Maybe there is already a solution for this that I'm not aware of. If you build such a package outside of the Debian golang-world, the go.mod file uses this (example taken from golang-honnef-go-tools): require ( golang.org/x/tools v0.40.1-0.20260108161641-ca281cf95054 golang.org/x/tools/go/expect v0.1.1-deprecated ) With the special version "v0.1.1-deprecated", go is still able to fetch the last release of the x-tools expect module before it was moved to the "internal" directory. How can we provide such deprecated modules within Debian? The code is still available in the golang-golang-x-tools-dev package, just not usable by other modules. Do we need to create symlinks from "internal" to the previous source file location? Should we create a new package with those modules, called golang-golang-x-tools-deprecated-dev or similar? I'm open for ideas. Regards, Tobias
OpenPGP_signature.asc
Description: OpenPGP digital signature
