[pkg-go] Bug#890939: Bug#890939: etcd FTBFS

Michael Stapelberg stapelberg at debian.org
Thu Feb 22 08:41:34 UTC 2018


Half of this issue can be fixed by re-generating the codec files by setting
“export DH_GOLANG_GO_GENERATE := 1” in debian/rules and adding a
Build-Depends: golang-github-ugorji-go-codec to debian/control.

I haven’t figured out how to re-generate the remaining (failing) files yet.

On Tue, Feb 20, 2018 at 8:57 PM, Adrian Bunk <bunk at debian.org> wrote:

> Source: etcd
> Version: 3.2.9+dfsg-3
> Severity: serious
> Control: affects -1 src:docker-libkv src:golang-github-spf13-viper
> src:golang-github-xordataexchange-crypt src:skydns
>
> Some recent change in unstable makes etcd FTBFS:
>
> https://tests.reproducible-builds.org/debian/history/etcd.html
> https://tests.reproducible-builds.org/debian/rb-pkg/
> unstable/amd64/etcd.html
>
> ...
> github.com/coreos/etcd/mvcc
> # github.com/coreos/etcd/etcdserver/api/v3election/v3electionpb/gw
> 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)
> src/github.com/coreos/etcd/etcdserver/api/v3election/
> v3electionpb/gw/v3election.pb.gw.go:158:30: not enough arguments in call
> to forward_Election_Campaign_0
>         have ("golang.org/x/net/context".Context, runtime.Marshaler,
> http.ResponseWriter, *http.Request, proto.Message, []func("
> golang.org/x/net/context".Context, http.ResponseWriter, proto.Message)
> error...)
>         want ("golang.org/x/net/context".Context, *runtime.ServeMux,
> runtime.Marshaler, http.ResponseWriter, *http.Request, proto.Message,
> ...func("golang.org/x/net/context".Context, http.ResponseWriter,
> proto.Message) error)
> src/github.com/coreos/etcd/etcdserver/api/v3election/
> v3electionpb/gw/v3election.pb.gw.go:175: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:177: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:182: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:186:30: not enough arguments in call
> to forward_Election_Proclaim_0
>         have ("golang.org/x/net/context".Context, runtime.Marshaler,
> http.ResponseWriter, *http.Request, proto.Message, []func("
> golang.org/x/net/context".Context, http.ResponseWriter, proto.Message)
> error...)
>         want ("golang.org/x/net/context".Context, *runtime.ServeMux,
> runtime.Marshaler, http.ResponseWriter, *http.Request, proto.Message,
> ...func("golang.org/x/net/context".Context, http.ResponseWriter,
> proto.Message) error)
> src/github.com/coreos/etcd/etcdserver/api/v3election/
> v3electionpb/gw/v3election.pb.gw.go:203: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:205: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:205:21: too many errors
> # github.com/coreos/etcd/client
> src/github.com/coreos/etcd/client/keys.generated.go:71:6:
> r.EncodeArrayStart undefined (type codec.genHelperEncDriver has no field or
> method EncodeArrayStart)
> src/github.com/coreos/etcd/client/keys.generated.go:79:6:
> r.EncodeMapStart undefined (type codec.genHelperEncDriver has no field or
> method EncodeMapStart)
> src/github.com/coreos/etcd/client/keys.generated.go:83:6:
> z.EncSendContainerState undefined (type codec.genHelperEncoder has no field
> or method EncSendContainerState)
> src/github.com/coreos/etcd/client/keys.generated.go:91:6:
> z.EncSendContainerState undefined (type codec.genHelperEncoder has no field
> or method EncSendContainerState)
> src/github.com/coreos/etcd/client/keys.generated.go:93:6:
> z.EncSendContainerState undefined (type codec.genHelperEncoder has no field
> or method EncSendContainerState)
> src/github.com/coreos/etcd/client/keys.generated.go:102:6:
> z.EncSendContainerState undefined (type codec.genHelperEncoder has no field
> or method EncSendContainerState)
> src/github.com/coreos/etcd/client/keys.generated.go:109:6:
> z.EncSendContainerState undefined (type codec.genHelperEncoder has no field
> or method EncSendContainerState)
> src/github.com/coreos/etcd/client/keys.generated.go:111:6:
> z.EncSendContainerState undefined (type codec.genHelperEncoder has no field
> or method EncSendContainerState)
> src/github.com/coreos/etcd/client/keys.generated.go:119:6:
> z.EncSendContainerState undefined (type codec.genHelperEncoder has no field
> or method EncSendContainerState)
> src/github.com/coreos/etcd/client/keys.generated.go:126:6:
> z.EncSendContainerState undefined (type codec.genHelperEncoder has no field
> or method EncSendContainerState)
> src/github.com/coreos/etcd/client/keys.generated.go:126:6: too many errors
> github.com/coreos/etcd/clientv3/clientv3util
> github.com/coreos/etcd/clientv3/naming
> github.com/coreos/etcd/clientv3/yaml
> github.com/coreos/etcd/clientv3/mirror
> github.com/coreos/etcd/clientv3/concurrency
> github.com/coreos/etcd/clientv3/namespace
> github.com/coreos/etcd/compactor
> github.com/coreos/etcd/tools/etcd-dump-db
> github.com/coreos/etcd/etcdserver/api/v3election
> github.com/coreos/etcd/etcdserver/api/v3lock
> github.com/coreos/etcd/contrib/recipes
> github.com/coreos/etcd/tools/benchmark/cmd
> github.com/coreos/etcd/tools/benchmark
> dh_auto_build: cd _build && go install -gcflags=\"-trimpath=/build/
> 1st/etcd-3.2.9\+dfsg/_build/src\" -asmflags=\"-trimpath=/build/
> 1st/etcd-3.2.9\+dfsg/_build/src\" -v -p 16 github.com/coreos/etcd
> github.com/coreos/etcd/alarm github.com/coreos/etcd/auth
> github.com/coreos/etcd/auth/authpb github.com/coreos/etcd/client
> github.com/coreos/etcd/client/integration github.com/coreos/etcd/clientv3
> github.com/coreos/etcd/clientv3/clientv3util github.com/coreos/etcd/
> clientv3/concurrency github.com/coreos/etcd/clientv3/integration
> github.com/coreos/etcd/clientv3/mirror github.com/coreos/etcd/
> clientv3/namespace github.com/coreos/etcd/clientv3/naming
> github.com/coreos/etcd/clientv3/yaml github.com/coreos/etcd/compactor
> github.com/coreos/etcd/contrib/raftexample github.com/coreos/etcd/
> contrib/recipes github.com/coreos/etcd/contrib/systemd/etcd2-backup-coreos
> github.com/coreos/etcd/discovery github.com/coreos/etcd/e2e
> github.com/coreos/etcd/embed github.com/coreos/etcd/error
> github.com/coreos/etcd/e
>  tcdctl github.com/coreos/etcd/etcdctl/ctlv2 github.com/coreos/etcd/
> etcdctl/ctlv2/command github.com/coreos/etcd/etcdctl/ctlv3
> github.com/coreos/etcd/etcdctl/ctlv3/command github.com/coreos/etcd/
> etcdmain github.com/coreos/etcd/etcdserver github.com/coreos/etcd/
> etcdserver/api github.com/coreos/etcd/etcdserver/api/etcdhttp
> github.com/coreos/etcd/etcdserver/api/v2http github.com/coreos/etcd/
> etcdserver/api/v2http/httptypes github.com/coreos/etcd/
> etcdserver/api/v3client github.com/coreos/etcd/etcdserver/api/v3election
> github.com/coreos/etcd/etcdserver/api/v3election/v3electionpb
> github.com/coreos/etcd/etcdserver/api/v3election/v3electionpb/gw
> github.com/coreos/etcd/etcdserver/api/v3lock github.com/coreos/etcd/
> etcdserver/api/v3lock/v3lockpb github.com/coreos/etcd/
> etcdserver/api/v3lock/v3lockpb/gw github.com/coreos/etcd/
> etcdserver/api/v3rpc github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes
> github.com/coreos/etcd/etcdserver/auth github.com/coreos/etcd/
> etcdserver/etcdserverpb github.com/co
>  reos/etcd/etcdserver/etcdserverpb/gw github.com/coreos/etcd/
> etcdserver/membership github.com/coreos/etcd/etcdserver/stats
> github.com/coreos/etcd/integration github.com/coreos/etcd/lease
> github.com/coreos/etcd/lease/leasehttp github.com/coreos/etcd/lease/
> leasepb github.com/coreos/etcd/mvcc github.com/coreos/etcd/mvcc/backend
> github.com/coreos/etcd/mvcc/mvccpb github.com/coreos/etcd/pkg/adt
> github.com/coreos/etcd/pkg/contention github.com/coreos/etcd/pkg/cors
> github.com/coreos/etcd/pkg/cpuutil github.com/coreos/etcd/pkg/crc
> github.com/coreos/etcd/pkg/debugutil github.com/coreos/etcd/pkg/expect
> github.com/coreos/etcd/pkg/fileutil github.com/coreos/etcd/pkg/flags
> github.com/coreos/etcd/pkg/httputil github.com/coreos/etcd/pkg/idutil
> github.com/coreos/etcd/pkg/ioutil github.com/coreos/etcd/pkg/logutil
> github.com/coreos/etcd/pkg/mock/mockstorage github.com/coreos/etcd/pkg/
> mock/mockstore github.com/coreos/etcd/pkg/mock/mockwait
> github.com/coreos/etcd/pkg/monotime github.com/coreos/etcd/pkg/
>  netutil github.com/coreos/etcd/pkg/osutil github.com/coreos/etcd/pkg/
> pathutil github.com/coreos/etcd/pkg/pbutil github.com/coreos/etcd/pkg/
> report github.com/coreos/etcd/pkg/runtime github.com/coreos/etcd/pkg/
> schedule github.com/coreos/etcd/pkg/srv github.com/coreos/etcd/pkg/
> stringutil github.com/coreos/etcd/pkg/testutil github.com/coreos/etcd/pkg/
> tlsutil github.com/coreos/etcd/pkg/transport github.com/coreos/etcd/pkg/
> types github.com/coreos/etcd/pkg/wait github.com/coreos/etcd/proxy/
> grpcproxy github.com/coreos/etcd/proxy/grpcproxy/adapter
> github.com/coreos/etcd/proxy/grpcproxy/cache github.com/coreos/etcd/proxy/
> httpproxy github.com/coreos/etcd/proxy/tcpproxy
> github.com/coreos/etcd/raft github.com/coreos/etcd/raft/raftpb
> github.com/coreos/etcd/raft/rafttest github.com/coreos/etcd/rafthttp
> github.com/coreos/etcd/snap github.com/coreos/etcd/snap/snappb
> github.com/coreos/etcd/store github.com/coreos/etcd/tools/benchmark
> github.com/coreos/etcd/tools/benchmark/cmd github.com/coreos/etcd/t
>  ools/etcd-dump-db github.com/coreos/etcd/tools/etcd-dump-logs
> github.com/coreos/etcd/tools/functional-tester/etcd-agent
> github.com/coreos/etcd/tools/functional-tester/etcd-agent/client
> github.com/coreos/etcd/tools/functional-tester/etcd-runner
> github.com/coreos/etcd/tools/functional-tester/etcd-runner/command
> github.com/coreos/etcd/tools/functional-tester/etcd-tester
> github.com/coreos/etcd/tools/local-tester/bridge
> github.com/coreos/etcd/version github.com/coreos/etcd/wal
> github.com/coreos/etcd/wal/walpb returned exit code 2
> make: *** [debian/rules:4: binary] Error 2
>
> _______________________________________________
> Pkg-go-maintainers mailing list
> Pkg-go-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers
>



-- 
Best regards,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20180222/5cba0fba/attachment-0001.html>


More information about the Pkg-go-maintainers mailing list