Bug#926981: golang-1.12-go: Needs /etc/alternatives/go to be useful
On Wed, 4 Sep 2019 at 19:51, Michael Hudson-Doyle wrote: > On Thu, 5 Sep 2019 at 12:39, Nye Liu wrote: >> that is ABSOLUTELY one of the roles of update-alternatives, particularly >> for compiler variants, e.g. gcc, java, etc. > > gcc isn't managed by alternatives though! In general, alternatives are not a > great fit for toolchains, because they mess up the ability for version > constraints in build-depends to be useful and mean the package versions > reported in build logs / .buildinfo files can't be relied on. I'm not going > to budge on this one, sorry. > > Cheers, > mwh See also https://alioth-lists.debian.net/pipermail/pkg-golang-devel/Week-of-Mon-20160208/000248.html for the discussion that led to the removal of the generic alternatives in the first place. ♥, - Tianon 4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4
Bug#926981: golang-1.12-go: Needs /etc/alternatives/go to be useful
On Thu, 5 Sep 2019 at 12:39, Nye Liu wrote: > On 8/29/2019 8:08 AM, Shengjing Zhu wrote: > > >> That definitely does not provide update-alternatives functionality. > >> > > We don't provide update-alternatives for difference versions. This is > > not the goal of update-alternatives. > that is ABSOLUTELY one of the roles of update-alternatives, particularly > for compiler variants, e.g. gcc, java, etc. > gcc isn't managed by alternatives though! In general, alternatives are not a great fit for toolchains, because they mess up the ability for version constraints in build-depends to be useful and mean the package versions reported in build logs / .buildinfo files can't be relied on. I'm not going to budge on this one, sorry. Cheers, mwh
Bug#926981: golang-1.12-go: Needs /etc/alternatives/go to be useful
On 8/29/2019 8:08 AM, Shengjing Zhu wrote: That definitely does not provide update-alternatives functionality. We don't provide update-alternatives for difference versions. This is not the goal of update-alternatives. that is ABSOLUTELY one of the roles of update-alternatives, particularly for compiler variants, e.g. gcc, java, etc.
Bug#926981: golang-1.12-go: Needs /etc/alternatives/go to be useful
Control: tags -1 wontfix On Thu, Aug 29, 2019 at 10:36 PM Nye Liu wrote: > > On Mon, 5 Aug 2019 22:10:52 +0800 YunQiang Su wrote: > > On Sat, 13 Apr 2019 00:09:46 -0700 Nye Liu wrote: > > > Package: golang-1.12-go > > > Version: 1.12.1-1 > > > Severity: normal > > > > > > Without /etc/alternatives/go (and friends), this package is pretty > useless. > > > > Please install golang-go, it contains /usr/bin/go. > > https://packages.debian.org/sid/amd64/golang-go/filelist > > > > I guess it is what you need. > > > > That definitely does not provide update-alternatives functionality. > We don't provide update-alternatives for difference versions. This is not the goal of update-alternatives. You just need to add /usr/lib/go-$ver/bin to PATH. -- Shengjing Zhu
Bug#926981: golang-1.12-go: Needs /etc/alternatives/go to be useful
On Mon, 5 Aug 2019 22:10:52 +0800 YunQiang Su wrote: > On Sat, 13 Apr 2019 00:09:46 -0700 Nye Liu wrote: > > Package: golang-1.12-go > > Version: 1.12.1-1 > > Severity: normal > > > > Without /etc/alternatives/go (and friends), this package is pretty useless. > > Please install golang-go, it contains /usr/bin/go. > https://packages.debian.org/sid/amd64/golang-go/filelist > > I guess it is what you need. > That definitely does not provide update-alternatives functionality.
Bug#926981: golang-1.12-go: Needs /etc/alternatives/go to be useful
On Sat, 13 Apr 2019 00:09:46 -0700 Nye Liu wrote: > Package: golang-1.12-go > Version: 1.12.1-1 > Severity: normal > > Without /etc/alternatives/go (and friends), this package is pretty useless. Please install golang-go, it contains /usr/bin/go. https://packages.debian.org/sid/amd64/golang-go/filelist I guess it is what you need. > > -- System Information: > Debian Release: buster/sid > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.18.16-x86_64-linode118 (SMP w/4 CPU cores; PREEMPT) > Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages golang-1.12-go depends on: > ii golang-1.12-src 1.12.1-1 > ii libc62.28-7 > > Versions of packages golang-1.12-go recommends: > ii g++ 4:8.2.0-2 > ii gcc 4:8.2.0-2 > ii libc6-dev 2.28-7 > ii pkg-config 0.29-6 > > Versions of packages golang-1.12-go suggests: > pn bzr | brz > ii ca-certificates 20190110 > ii git 1:2.20.1-2 > pn mercurial > ii subversion 1.10.4-1 > > -- no debconf information > >
Bug#926981: golang-1.12-go: Needs /etc/alternatives/go to be useful
Package: golang-1.12-go Version: 1.12.1-1 Severity: normal Without /etc/alternatives/go (and friends), this package is pretty useless. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.18.16-x86_64-linode118 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages golang-1.12-go depends on: ii golang-1.12-src 1.12.1-1 ii libc62.28-7 Versions of packages golang-1.12-go recommends: ii g++ 4:8.2.0-2 ii gcc 4:8.2.0-2 ii libc6-dev 2.28-7 ii pkg-config 0.29-6 Versions of packages golang-1.12-go suggests: pn bzr | brz ii ca-certificates 20190110 ii git 1:2.20.1-2 pn mercurial ii subversion 1.10.4-1 -- no debconf information