On Thu Jul 31, 2025 at 8:54 PM CEST, Mathias Gibbens wrote:
I ran `build-rdeps golang-github-mitchellh-hashstructure-dev` in a sid container, which includes both direct and transitive dependencies.
Ack.
Most of the golang packages in Debian have unversioned import paths, which does mean that all dependencies in the archive need to use the same major version of the library. Individual golang libraries vary widely in how well they follow semantic versioning. Given that all packages in the archive currently use v2 from the unversioned package, I think that RM'ing golang-github-mitchellh-hashstructure-v2-dev is the correct path forward.
Got it. I'm still quite new to Go packaging, and coming from C libraries these kinds of unversioned dependencies are a bit odd for me. But: agree that the RM of the unused package makes sense now!
Thanks for the explanation, bye :)

