[pkg-go] Bug#868046: Bug#868046: gb uses /usr/lib/go-1.7 even if go 1.8 is installed

Jens Kubieziel jens at kubieziel.de
Tue Jul 11 21:09:56 UTC 2017


* Tianon Gravi schrieb am 2017-07-11 um 18:43 Uhr:
> Arg -- so, gb is a bit picky about which Go it's compiled against (and
> Dave often will recommend that users try a clean recompile of gb
> before he'll try debugging their issues since even minor Go upgrades
> can break it).

Well I tried to `apt-get source -b gb`, but also this failed:
…
debian/rules:15: recipe for target 'override_dh_auto_test' failed
…

Before I saw severall failed messages from tests.

> I wonder if we need to do something like "gb-go1.8" vs "gb-go1.7" to
> help enforce tighter separation (similar to what's often done in
> Python packages with "bin2" vs "bin3" or even "bin2.7" vs "bin3.4" vs
> "bin3.5"). :(

I'm not sure if that's a good idea or not, but can't we have something
like Debian alternatives for go. So when someone uses
update-alternatives to set go to go-1.8 also gb uses the right
directories and if another version is used then gb uses whatever is
correct then. However I'm neither a Go nor a Debian expert to see how
this can be realised.

-- 
Jens Kubieziel                                   http://www.kubieziel.de
 "When someone says: 'I want a programming language in which I need only
 say what I wish done', give him a lollipop." - Alan J. Perlis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20170711/d10e2243/attachment.sig>


More information about the Pkg-go-maintainers mailing list