Package: golang-golang-x-tools Version: 1:0.0~git20160315.0.f42ec61-2 Severity: normal
The general recommendation is to not set GOROOT, because the go tools know what it should be with a default install (see [1] and [2] and numerous discussions on golang-nuts mailing list). However, godoc does not use the implicit GOROOT (the one shown by go env) and requires setting it explicitly to get expected behavior (e.g. providing documentation for standard library packages). ...Marvin [1] https://golang.org/doc/install [2] http://dave.cheney.net/2013/06/14/you-dont-need-to-set-goroot-really -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable'), (200, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages golang-golang-x-tools depends on: ii golang-golang-x-tools-dev 1:0.0~git20160315.0.f42ec61-2 ii libc6 2.23-4 golang-golang-x-tools recommends no packages. golang-golang-x-tools suggests no packages. -- no debconf information