Thanks for bringing this up.
On Wed, Mar 14, 2018 at 5:04 AM, Arnaud Rebillout <
> I've seen this line more than once in debian/control, in the Build-Depends
> golang-go (>= 2:1.10~) | golang-1.10-go,
> However, and related to https://bugs.debian.org/cgi-bi
> n/bugreport.cgi?bug=891892, I tried to replace this line with simply:
> This actually fails the build: installing only golang-1.10-go does not
> create the symlink '/usr/bin/go', therefore calling 'go' fails.
> So what would be the correct way to force a version of go ? Wouldn't it be
> golang-any (>= 2:1.10~),
Yeah, that seems right to me. golang-any’s requirements are versioned, so
this should do the right thing.
We should likely add a lintian check to catch the subtle mistakes one can
make here, such as accidentally not using an epoch (as discussed in the
other email thread) or depending on golang-<version> directly.
> (notice that I don't even use golang-go anymore, I just use golang-any
> which seem to be the right way from what I understand).
> Pkg-go-maintainers mailing list
Pkg-go-maintainers mailing list