[pkg-go] Bug#890118: etcd: FTBFS on several release architectures

Emilio Pozuelo Monfort pochu at debian.org
Sun Feb 11 10:44:58 UTC 2018


Source: etcd
Version: 3.2.9+dfsg-3
Severity: important

Hi,

etcd is failing to build on some release architectures. There are many errors,
e.g. on mips:

src/github.com/coreos/etcd/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:147:39: not enough arguments in call to runtime.AnnotateContext
	have ("golang.org/x/net/context".Context, *http.Request)
	want ("golang.org/x/net/context".Context, *runtime.ServeMux, *http.Request)
src/github.com/coreos/etcd/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:149:21: not enough arguments in call to runtime.HTTPError
	have ("golang.org/x/net/context".Context, runtime.Marshaler, http.ResponseWriter, *http.Request, error)
	want ("golang.org/x/net/context".Context, *runtime.ServeMux, runtime.Marshaler, http.ResponseWriter, *http.Request, error)
src/github.com/coreos/etcd/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:154:21: not enough arguments in call to runtime.HTTPError
	have ("golang.org/x/net/context".Context, runtime.Marshaler, http.ResponseWriter, *http.Request, error)
	want ("golang.org/x/net/context".Context, *runtime.ServeMux, runtime.Marshaler, http.ResponseWriter, *http.Request, error)


s390x also has this one, among others:

# github.com/coreos/etcd/pkg/cpuutil
src/github.com/coreos/etcd/pkg/cpuutil/endian.go:31:13: error: array bound is not constant
  if v := (*[intWidth]byte)(unsafe.Pointer(&i)); v[0] == 0 {
             ^
src/github.com/coreos/etcd/pkg/cpuutil/endian.go:31:51: error: array index out of bounds
  if v := (*[intWidth]byte)(unsafe.Pointer(&i)); v[0] == 0 {

Full logs at https://buildd.debian.org/status/package.php?p=etcd                                                   ^

Cheers,
Emilio



More information about the Pkg-go-maintainers mailing list