[pkg-go] Bug#846322: golang-google-cloud: FTBFS (undefined: grpc.SupportPackageIsVersion3)

Santiago Vila sanvila at debian.org
Wed Nov 30 09:57:05 UTC 2016


Package: src:golang-google-cloud
Version: 0.0~git20160615-6
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 --builddir=/<<PKGBUILDDIR>>/build
   dh_testdir -i -O--buildsystem=golang -O--builddir=/<<BUILDDIR>>/golang-google-cloud-0.0\~git20160615/build
   dh_update_autotools_config -i -O--buildsystem=golang -O--builddir=/<<BUILDDIR>>/golang-google-cloud-0.0\~git20160615/build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure
dh_auto_configure: "google.golang.org/cloud" is already installed. Please check for circular dependencies.

# Remove examples.
rm -vrf /<<PKGBUILDDIR>>/build/src/google.golang.org/cloud/examples
removed '/<<PKGBUILDDIR>>/build/src/google.golang.org/cloud/examples/bigtable/search/search.go'
removed directory '/<<PKGBUILDDIR>>/build/src/google.golang.org/cloud/examples/bigtable/search'

[... snipped ...]

github.com/golang/protobuf/ptypes/timestamp
google.golang.org/cloud/bigtable/internal/cluster_data_proto
google.golang.org/cloud/bigtable/internal/cluster_service_proto
# google.golang.org/cloud/bigtable/internal/cluster_service_proto
src/google.golang.org/cloud/bigtable/internal/cluster_service_proto/bigtable_cluster_service.pb.go:29: undefined: grpc.SupportPackageIsVersion3
google.golang.org/cloud/bigtable/internal/data_proto
github.com/golang/protobuf/ptypes/any
google.golang.org/cloud/bigtable/internal/rpc_status_proto
google.golang.org/cloud/bigtable/internal/service_proto
# google.golang.org/cloud/bigtable/internal/service_proto
src/google.golang.org/cloud/bigtable/internal/service_proto/bigtable_service.pb.go:29: undefined: grpc.SupportPackageIsVersion3
google.golang.org/cloud/bigtable/internal/table_data_proto
google.golang.org/cloud/bigtable/internal/table_service_proto
# google.golang.org/cloud/bigtable/internal/table_service_proto
src/google.golang.org/cloud/bigtable/internal/table_service_proto/bigtable_table_service.pb.go:29: undefined: grpc.SupportPackageIsVersion3
google.golang.org/cloud/bigtable/internal/cbtrc
google.golang.org/api/container/v1
google.golang.org/cloud/container
github.com/golang/protobuf/ptypes/wrappers
github.com/golang/protobuf/ptypes/struct
google.golang.org/cloud/datastore/internal/type_proto
google.golang.org/cloud/datastore/internal/proto
# google.golang.org/cloud/datastore/internal/proto
src/google.golang.org/cloud/datastore/internal/proto/datastore.pb.go:950: undefined: grpc.SupportPackageIsVersion3
google.golang.org/cloud/internal/testutil
google.golang.org/api/logging/v1beta3
google.golang.org/cloud/logging
github.com/googleapis/gax-go
github.com/googleapis/proto-client-go/api
github.com/googleapis/proto-client-go/logging/type_
github.com/googleapis/proto-client-go/rpc
github.com/googleapis/proto-client-go/logging/v2
# github.com/googleapis/proto-client-go/logging/v2
src/github.com/googleapis/proto-client-go/logging/v2/logging.pb.go:216: undefined: grpc.SupportPackageIsVersion3
src/github.com/googleapis/proto-client-go/logging/v2/logging_config.pb.go:223: undefined: grpc.SupportPackageIsVersion3
src/github.com/googleapis/proto-client-go/logging/v2/logging_metrics.pb.go:183: undefined: grpc.SupportPackageIsVersion3
google.golang.org/api/pubsub/v1
google.golang.org/cloud/pubsub
google.golang.org/api/storage/v1
google.golang.org/cloud/storage
dh_auto_build: go install -v -p 1 google.golang.org/cloud google.golang.org/cloud/bigquery google.golang.org/cloud/bigtable google.golang.org/cloud/bigtable/bttest google.golang.org/cloud/bigtable/cmd/cbt google.golang.org/cloud/bigtable/cmd/loadtest google.golang.org/cloud/bigtable/internal/cbtrc google.golang.org/cloud/bigtable/internal/cluster_data_proto google.golang.org/cloud/bigtable/internal/cluster_service_proto google.golang.org/cloud/bigtable/internal/data_proto google.golang.org/cloud/bigtable/internal/rpc_status_proto google.golang.org/cloud/bigtable/internal/service_proto google.golang.org/cloud/bigtable/internal/table_data_proto google.golang.org/cloud/bigtable/internal/table_service_proto google.golang.org/cloud/compute/metadata google.golang.org/cloud/container google.golang.org/cloud/datastore google.golang.org/cloud/datastore/internal/proto google.golang.org/cloud/datastore/internal/type_proto google.golang.org/cloud/internal google.golang.org/cloud/internal/opts google.golang.org/cloud/internal/testutil google.golang.org/cloud/internal/transport google.golang.org/cloud/logging google.golang.org/cloud/logging/apiv2/config google.golang.org/cloud/logging/apiv2/logging google.golang.org/cloud/logging/apiv2/metrics google.golang.org/cloud/pubsub google.golang.org/cloud/storage returned exit code 2
debian/rules:30: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:7: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

This is just how the build ends. If you need a full build log, just ask,
but this also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/golang-google-cloud.html

so I guess this should be easy to reproduce.

In case it helps, I can say that this stopped working in testing
somewhere between and 2016-11-24 and 2016-11-29 (so that you can
find a build-dependency to blame). This is my build history:

Status: successful golang-google-cloud_0.0~git20160615-6_amd64-20161124T070204Z
Status: failed     golang-google-cloud_0.0~git20160615-6_amd64-20161129T195358Z
[ every build from this point is failed ]


Thanks.



More information about the Pkg-go-maintainers mailing list