[pkg-go] Bug#846542: etcd: FTBFS in testing (undefined: grpc.SupportPackageIsVersion3)

Santiago Vila sanvila at debian.org
Thu Dec 1 23:44:46 UTC 2016


Package: src:etcd
Version: 2.3.7+dfsg-5
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=golang --with=golang,systemd --parallel --builddirectory=_build
   dh_testdir -i -O--buildsystem=golang -O--parallel -O--builddirectory=_build
   dh_update_autotools_config -i -O--buildsystem=golang -O--parallel -O--builddirectory=_build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<BUILDDIR>>/etcd-2.3.7+dfsg'
grep -Pq "syntax\s*=\s*\"proto3\"" etcdserver/etcdserverpb/etcdserver.proto \
        || protoc -I/usr/share/gocode/src/github.com/gogo/protobuf -I/usr/include -Ietcdserver/etcdserverpb/ --gogo_out=etcdserver/etcdserverpb/ etcdserver/etcdserverpb/etcdserver.proto
perl -pi -E 's{import _ "gogoproto"}{}g;' "etcdserver/etcdserverpb/etcdserver.pb.go"
grep -Pq "syntax\s*=\s*\"proto3\"" raft/raftpb/raft.proto \
        || protoc -I/usr/share/gocode/src/github.com/gogo/protobuf -I/usr/include -Iraft/raftpb/ --gogo_out=raft/raftpb/ raft/raftpb/raft.proto
perl -pi -E 's{import _ "gogoproto"}{}g;' "raft/raftpb/raft.pb.go"
grep -Pq "syntax\s*=\s*\"proto3\"" wal/walpb/record.proto \
        || protoc -I/usr/share/gocode/src/github.com/gogo/protobuf -I/usr/include -Iwal/walpb/ --gogo_out=wal/walpb/ wal/walpb/record.proto
perl -pi -E 's{import _ "gogoproto"}{}g;' "wal/walpb/record.pb.go"
grep -Pq "syntax\s*=\s*\"proto3\"" snap/snappb/snap.proto \
        || protoc -I/usr/share/gocode/src/github.com/gogo/protobuf -I/usr/include -Isnap/snappb/ --gogo_out=snap/snappb/ snap/snappb/snap.proto
perl -pi -E 's{import _ "gogoproto"}{}g;' "snap/snappb/snap.pb.go"
dh_auto_configure
for I in $(cat debian/third_party_exclude); do \
            printf "Removing third party bundled $I\n" ;\
            sed -i "s,github.com/coreos/etcd/Godeps/_workspace/src/,," $(find _build -type f -name "*.go") ;\
        done
Removing third party bundled github.com/akrennmair/gopcap
Removing third party bundled github.com/bgentry/speakeasy
Removing third party bundled github.com/boltdb/bolt
Removing third party bundled github.com/cheggaaa/pb
Removing third party bundled github.com/codegangsta/cli
Removing third party bundled github.com/coreos/gexpect
Removing third party bundled github.com/coreos/go-etcd
Removing third party bundled github.com/coreos/go-semver/semver
Removing third party bundled github.com/coreos/go-systemd
Removing third party bundled github.com/coreos/pkg
Removing third party bundled github.com/gogo/protobuf
Removing third party bundled github.com/golang/glog
Removing third party bundled github.com/golang/protobuf
Removing third party bundled github.com/google/btree
Removing third party bundled github.com/jonboulle/clockwork
Removing third party bundled github.com/prometheus/client_golang
Removing third party bundled github.com/prometheus/procfs
Removing third party bundled github.com/spacejam/loghisto
Removing third party bundled github.com/spf13/cobra
Removing third party bundled github.com/stretchr/testify
Removing third party bundled github.com/ugorji/go
Removing third party bundled github.com/xiang90/probing
Removing third party bundled golang.org/x/crypto
Removing third party bundled golang.org/x/net
Removing third party bundled google.golang.org/grpc
make[1]: Leaving directory '/<<BUILDDIR>>/etcd-2.3.7+dfsg'
   dh_auto_build -i -O--buildsystem=golang -O--parallel -O--builddirectory=_build
	go install -v -p 1 github.com/coreos/etcd github.com/coreos/etcd/auth github.com/coreos/etcd/client github.com/coreos/etcd/compactor github.com/coreos/etcd/discovery github.com/coreos/etcd/error github.com/coreos/etcd/etcdctl github.com/coreos/etcd/etcdctl/command github.com/coreos/etcd/etcdmain github.com/coreos/etcd/etcdserver 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/etcdhttp github.com/coreos/etcd/etcdserver/etcdhttp/httptypes github.com/coreos/etcd/etcdserver/etcdserverpb github.com/coreos/etcd/etcdserver/stats github.com/coreos/etcd/lease github.com/coreos/etcd/lease/leasehttp github.com/coreos/etcd/lease/leasepb github.com/coreos/etcd/pkg/adt github.com/coreos/etcd/pkg/contention github.com/coreos/etcd/pkg/cors github.com/coreos/etcd/pkg/crc 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/netutil github.com/coreos/etcd/pkg/osutil github.com/coreos/etcd/pkg/pathutil github.com/coreos/etcd/pkg/pbutil github.com/coreos/etcd/pkg/runtime github.com/coreos/etcd/pkg/schedule github.com/coreos/etcd/pkg/testutil github.com/coreos/etcd/pkg/transport github.com/coreos/etcd/pkg/types github.com/coreos/etcd/pkg/wait github.com/coreos/etcd/proxy github.com/coreos/etcd/raft github.com/coreos/etcd/raft/raftpb github.com/coreos/etcd/rafthttp github.com/coreos/etcd/snap github.com/coreos/etcd/snap/snappb github.com/coreos/etcd/storage github.com/coreos/etcd/storage/backend github.com/coreos/etcd/storage/storagepb github.com/coreos/etcd/store github.com/coreos/etcd/version github.com/coreos/etcd/wal github.com/coreos/etcd/wal/walpb
github.com/coreos/etcd/pkg/pathutil
github.com/coreos/etcd/pkg/types
github.com/ugorji/go/codec
golang.org/x/net/context
github.com/coreos/etcd/client
github.com/coreos/go-systemd/journal
github.com/coreos/pkg/capnslog
github.com/jonboulle/clockwork
github.com/coreos/etcd/discovery
github.com/boltdb/bolt
github.com/coreos/etcd/storage/backend
github.com/coreos/etcd/auth
github.com/gogo/protobuf/proto
github.com/coreos/etcd/storage/storagepb
github.com/golang/protobuf/proto
golang.org/x/net/http2/hpack
golang.org/x/net/idna
golang.org/x/net/lex/httplex
golang.org/x/net/http2
golang.org/x/net/internal/timeseries
golang.org/x/net/trace
google.golang.org/grpc/codes
google.golang.org/grpc/credentials
google.golang.org/grpc/grpclog
google.golang.org/grpc/internal
google.golang.org/grpc/metadata
google.golang.org/grpc/naming
google.golang.org/grpc/peer
google.golang.org/grpc/transport
google.golang.org/grpc
github.com/coreos/etcd/etcdserver/etcdserverpb
# github.com/coreos/etcd/etcdserver/etcdserverpb
src/github.com/coreos/etcd/etcdserver/etcdserverpb/rpc.pb.go:1713: undefined: grpc.SupportPackageIsVersion3
github.com/coreos/etcd/lease/leasepb
github.com/coreos/etcd/lease
github.com/coreos/etcd/pkg/adt
github.com/coreos/etcd/pkg/schedule
github.com/google/btree
github.com/beorn7/perks/quantile
github.com/prometheus/client_model/go
github.com/matttproud/golang_protobuf_extensions/pbutil
github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
github.com/prometheus/common/model
github.com/prometheus/common/expfmt
github.com/prometheus/procfs
github.com/prometheus/client_golang/prometheus
github.com/coreos/etcd/storage
github.com/coreos/etcd/error
github.com/coreos/etcd/etcdserver/etcdhttp/httptypes
github.com/coreos/etcd/raft/raftpb
github.com/coreos/etcd/raft
github.com/coreos/etcd/etcdserver/stats
github.com/coreos/etcd/pkg/contention
github.com/coreos/etcd/pkg/fileutil
github.com/coreos/etcd/pkg/idutil
github.com/coreos/etcd/pkg/netutil
github.com/coreos/etcd/pkg/pbutil
github.com/coreos/etcd/pkg/runtime
github.com/coreos/etcd/pkg/transport
github.com/coreos/etcd/pkg/wait
github.com/coreos/etcd/pkg/httputil
github.com/coreos/etcd/pkg/ioutil
github.com/coreos/etcd/pkg/logutil
github.com/coreos/etcd/snap/snappb
github.com/coreos/etcd/snap
github.com/coreos/etcd/version
github.com/coreos/go-semver/semver
github.com/xiang90/probing
github.com/coreos/etcd/rafthttp
github.com/coreos/etcd/store
github.com/coreos/etcd/pkg/crc
github.com/coreos/etcd/wal/walpb
github.com/coreos/etcd/wal
github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes
golang.org/x/crypto/blowfish
golang.org/x/crypto/bcrypt
github.com/coreos/etcd/pkg/cors
github.com/coreos/etcd/pkg/flags
github.com/coreos/etcd/pkg/osutil
github.com/coreos/etcd/proxy
github.com/coreos/go-systemd/daemon
github.com/coreos/pkg/dlopen
github.com/coreos/go-systemd/util
github.com/codegangsta/cli
github.com/bgentry/speakeasy
github.com/coreos/etcd/pkg/testutil
github.com/coreos/etcd/pkg/mock/mockstorage
github.com/coreos/etcd/pkg/mock/mockstore
github.com/coreos/etcd/pkg/mock/mockwait
dh_auto_build: go install -v -p 1 github.com/coreos/etcd github.com/coreos/etcd/auth github.com/coreos/etcd/client github.com/coreos/etcd/compactor github.com/coreos/etcd/discovery github.com/coreos/etcd/error github.com/coreos/etcd/etcdctl github.com/coreos/etcd/etcdctl/command github.com/coreos/etcd/etcdmain github.com/coreos/etcd/etcdserver 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/etcdhttp github.com/coreos/etcd/etcdserver/etcdhttp/httptypes github.com/coreos/etcd/etcdserver/etcdserverpb github.com/coreos/etcd/etcdserver/stats github.com/coreos/etcd/lease github.com/coreos/etcd/lease/leasehttp github.com/coreos/etcd/lease/leasepb github.com/coreos/etcd/pkg/adt github.com/coreos/etcd/pkg/contention github.com/coreos/etcd/pkg/cors github.com/coreos/etcd/pkg/crc 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/netutil github.com/coreos/etcd/pkg/osutil github.com/coreos/etcd/pkg/pathutil github.com/coreos/etcd/pkg/pbutil github.com/coreos/etcd/pkg/runtime github.com/coreos/etcd/pkg/schedule github.com/coreos/etcd/pkg/testutil github.com/coreos/etcd/pkg/transport github.com/coreos/etcd/pkg/types github.com/coreos/etcd/pkg/wait github.com/coreos/etcd/proxy github.com/coreos/etcd/raft github.com/coreos/etcd/raft/raftpb github.com/coreos/etcd/rafthttp github.com/coreos/etcd/snap github.com/coreos/etcd/snap/snappb github.com/coreos/etcd/storage github.com/coreos/etcd/storage/backend github.com/coreos/etcd/storage/storagepb github.com/coreos/etcd/store github.com/coreos/etcd/version github.com/coreos/etcd/wal github.com/coreos/etcd/wal/walpb returned exit code 2
debian/rules:11: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Sorry if this is already known, but I need a bug report open to track this properly.

As usual, if this is really a bug in one of the build-depends,
please use reassign and affects, so that this is still visible in the
page for this package.

Thanks.



More information about the Pkg-go-maintainers mailing list