[pkg-go] Bug#827426: golang-golang-x-tools: stringer (go generate) has problems finding standard library packages or symbols

Wouter Van Hemel wouter-debian at publica.duodecim.org
Mon Oct 3 09:33:36 UTC 2016


Package: golang-golang-x-tools
Version: 1:0.0~git20160315.0.f42ec61-2
Followup-For: Bug #827426

Hello,

I'm trying to run `stringer` by means of `go generate`, and I get strange errors:

wouter at kkv54:~/Code/GoPath/src/wvh/att/id$ go generate
A$GOROOT/src/net/http/transport.go�!y.go:5:2: could not import net/http (reading export data: /usr/lib/go/pkg/linux_amd64/net/http.a: unknown version: v1http
                                    Cli)
handlers.go:16: running "stringer": exit status 1

I don't have stringer or other x/tools, nor net/http non-standard packages installed in my own GoPath, so the problem must be with the system provided packages. Perhaps stringer needs to be updated to work with the Go-1.7 stdlib packages?


Thanks,

  Wouter

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

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.24-3

golang-golang-x-tools recommends no packages.

golang-golang-x-tools suggests no packages.

-- no debconf information



More information about the Pkg-go-maintainers mailing list