I've seen this line more than once in debian/control, in the Build-Depends field:

    golang-go (>= 2:1.10~) | golang-1.10-go,

However, and related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891892, I tried to replace this line with simply:

    golang-1.10-go,

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 simply:

    golang-any (>= 2:1.10~),

(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).

Regards,

  Arnaud


_______________________________________________
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to