[pkg-go] Bug#954696: golang-github-hashicorp-go-plugin: FTBFS: src/github.com/hashicorp/go-plugin/internal/plugin/grpc_broker.pb.go:107:7: undefined: grpc.ClientConnInterface

Lucas Nussbaum lucas at debian.org
Sun Mar 22 13:51:44 GMT 2020


Source: golang-github-hashicorp-go-plugin
Version: 1.0.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200322 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --buildsystem=golang --with=golang
>    dh_update_autotools_config -O--buildsystem=golang
>    dh_autoreconf -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go generate -v github.com/hashicorp/go-plugin github.com/hashicorp/go-plugin/internal/plugin github.com/hashicorp/go-plugin/test/grpc
> src/github.com/hashicorp/go-plugin/client.go
> src/github.com/hashicorp/go-plugin/client_posix_test.go
> src/github.com/hashicorp/go-plugin/client_test.go
> src/github.com/hashicorp/go-plugin/discover.go
> src/github.com/hashicorp/go-plugin/error.go
> src/github.com/hashicorp/go-plugin/error_test.go
> src/github.com/hashicorp/go-plugin/grpc_broker.go
> src/github.com/hashicorp/go-plugin/grpc_client.go
> src/github.com/hashicorp/go-plugin/grpc_client_test.go
> src/github.com/hashicorp/go-plugin/grpc_controller.go
> src/github.com/hashicorp/go-plugin/grpc_server.go
> src/github.com/hashicorp/go-plugin/log_entry.go
> src/github.com/hashicorp/go-plugin/mtls.go
> src/github.com/hashicorp/go-plugin/mux_broker.go
> src/github.com/hashicorp/go-plugin/plugin.go
> src/github.com/hashicorp/go-plugin/plugin_test.go
> src/github.com/hashicorp/go-plugin/process.go
> src/github.com/hashicorp/go-plugin/process_posix.go
> src/github.com/hashicorp/go-plugin/protocol.go
> src/github.com/hashicorp/go-plugin/rpc_client.go
> src/github.com/hashicorp/go-plugin/rpc_client_test.go
> src/github.com/hashicorp/go-plugin/rpc_server.go
> src/github.com/hashicorp/go-plugin/server.go
> src/github.com/hashicorp/go-plugin/server_mux.go
> src/github.com/hashicorp/go-plugin/server_test.go
> src/github.com/hashicorp/go-plugin/stream.go
> src/github.com/hashicorp/go-plugin/testing.go
> src/github.com/hashicorp/go-plugin/internal/plugin/gen.go
> src/github.com/hashicorp/go-plugin/internal/plugin/grpc_broker.pb.go
> src/github.com/hashicorp/go-plugin/internal/plugin/grpc_controller.pb.go
> src/github.com/hashicorp/go-plugin/test/grpc/gen.go
> src/github.com/hashicorp/go-plugin/test/grpc/test.pb.go
> 	cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/hashicorp/go-plugin github.com/hashicorp/go-plugin/internal/plugin github.com/hashicorp/go-plugin/test/grpc
> internal/race
> runtime/internal/sys
> internal/cpu
> runtime/internal/atomic
> sync/atomic
> runtime/internal/math
> unicode
> unicode/utf8
> internal/bytealg
> math/bits
> crypto/internal/subtle
> math
> crypto/subtle
> internal/testlog
> runtime
> unicode/utf16
> container/list
> vendor/golang.org/x/crypto/cryptobyte/asn1
> internal/nettrace
> vendor/golang.org/x/crypto/internal/subtle
> runtime/cgo
> encoding
> internal/reflectlite
> sync
> internal/singleflight
> google.golang.org/grpc/internal/grpcsync
> math/rand
> errors
> sort
> io
> internal/oserror
> strconv
> vendor/golang.org/x/net/dns/dnsmessage
> syscall
> bytes
> hash
> bufio
> crypto
> reflect
> strings
> crypto/internal/randutil
> crypto/hmac
> time
> internal/syscall/unix
> crypto/rc4
> vendor/golang.org/x/crypto/hkdf
> regexp/syntax
> hash/crc32
> html
> vendor/golang.org/x/text/transform
> context
> internal/poll
> path
> regexp
> text/tabwriter
> os
> google.golang.org/grpc/internal/grpcrand
> google.golang.org/grpc/encoding
> encoding/binary
> internal/fmtsort
> google.golang.org/grpc/internal/backoff
> golang.org/x/text/transform
> google.golang.org/grpc/keepalive
> fmt
> crypto/cipher
> crypto/sha512
> crypto/ed25519/internal/edwards25519
> crypto/des
> crypto/aes
> crypto/md5
> math/big
> crypto/sha1
> crypto/sha256
> encoding/hex
> encoding/base64
> path/filepath
> encoding/pem
> net
> io/ioutil
> net/url
> vendor/golang.org/x/crypto/chacha20
> vendor/golang.org/x/crypto/poly1305
> vendor/golang.org/x/sys/cpu
> vendor/golang.org/x/crypto/curve25519
> vendor/golang.org/x/crypto/chacha20poly1305
> crypto/elliptic
> encoding/asn1
> crypto/rand
> crypto/ed25519
> crypto/rsa
> crypto/dsa
> crypto/ecdsa
> crypto/x509/pkix
> vendor/golang.org/x/crypto/cryptobyte
> encoding/json
> golang.org/x/sys/unix
> log
> compress/flate
> github.com/golang/protobuf/proto
> compress/gzip
> golang.org/x/net/internal/timeseries
> github.com/mattn/go-isatty
> text/template/parse
> github.com/mattn/go-colorable
> github.com/fatih/color
> github.com/hashicorp/go-hclog
> text/template
> vendor/golang.org/x/text/unicode/bidi
> vendor/golang.org/x/text/secure/bidirule
> vendor/golang.org/x/text/unicode/norm
> vendor/golang.org/x/net/http2/hpack
> html/template
> crypto/x509
> net/textproto
> mime
> vendor/golang.org/x/net/idna
> mime/quotedprintable
> net/http/internal
> mime/multipart
> crypto/tls
> google.golang.org/grpc/grpclog
> vendor/golang.org/x/net/http/httpguts
> vendor/golang.org/x/net/http/httpproxy
> google.golang.org/grpc/connectivity
> google.golang.org/grpc/credentials/internal
> google.golang.org/grpc/internal
> google.golang.org/grpc/metadata
> google.golang.org/grpc/codes
> google.golang.org/grpc/serviceconfig
> google.golang.org/grpc/encoding/proto
> google.golang.org/grpc/resolver
> google.golang.org/grpc/internal/balancerload
> github.com/golang/protobuf/ptypes/any
> github.com/golang/protobuf/ptypes/duration
> github.com/golang/protobuf/ptypes/timestamp
> google.golang.org/genproto/googleapis/rpc/status
> google.golang.org/grpc/internal/envconfig
> github.com/golang/protobuf/ptypes
> google.golang.org/grpc/binarylog/grpc_binarylog_v1
> golang.org/x/text/unicode/bidi
> google.golang.org/grpc/status
> golang.org/x/text/unicode/norm
> google.golang.org/grpc/internal/binarylog
> golang.org/x/text/secure/bidirule
> golang.org/x/net/http2/hpack
> google.golang.org/grpc/internal/syscall
> google.golang.org/grpc/stats
> google.golang.org/grpc/tap
> google.golang.org/grpc/naming
> google.golang.org/grpc/resolver/dns
> google.golang.org/grpc/resolver/passthrough
> github.com/hashicorp/yamux
> github.com/mitchellh/go-testing-interface
> os/signal
> golang.org/x/net/idna
> golang.org/x/net/context
> github.com/oklog/run
> net/http/httptrace
> google.golang.org/grpc/credentials
> encoding/gob
> net/http
> google.golang.org/grpc/balancer
> google.golang.org/grpc/internal/channelz
> google.golang.org/grpc/balancer/base
> google.golang.org/grpc/balancer/roundrobin
> golang.org/x/net/http/httpguts
> google.golang.org/grpc/peer
> go/token
> os/exec
> net/http/httputil
> net/rpc
> golang.org/x/net/trace
> golang.org/x/net/http2
> google.golang.org/grpc/internal/transport
> google.golang.org/grpc
> google.golang.org/grpc/health/grpc_health_v1
> github.com/hashicorp/go-plugin/internal/plugin
> github.com/hashicorp/go-plugin/test/grpc
> # github.com/hashicorp/go-plugin/internal/plugin
> src/github.com/hashicorp/go-plugin/internal/plugin/grpc_broker.pb.go:107:7: undefined: grpc.ClientConnInterface
> src/github.com/hashicorp/go-plugin/internal/plugin/grpc_broker.pb.go:111:11: undefined: grpc.SupportPackageIsVersion6
> src/github.com/hashicorp/go-plugin/internal/plugin/grpc_broker.pb.go:121:5: undefined: grpc.ClientConnInterface
> src/github.com/hashicorp/go-plugin/internal/plugin/grpc_broker.pb.go:124:29: undefined: grpc.ClientConnInterface
> src/github.com/hashicorp/go-plugin/internal/plugin/grpc_controller.pb.go:79:7: undefined: grpc.ClientConnInterface
> src/github.com/hashicorp/go-plugin/internal/plugin/grpc_controller.pb.go:83:11: undefined: grpc.SupportPackageIsVersion6
> src/github.com/hashicorp/go-plugin/internal/plugin/grpc_controller.pb.go:93:5: undefined: grpc.ClientConnInterface
> src/github.com/hashicorp/go-plugin/internal/plugin/grpc_controller.pb.go:96:33: undefined: grpc.ClientConnInterface
> # github.com/hashicorp/go-plugin/test/grpc
> src/github.com/hashicorp/go-plugin/test/grpc/test.pb.go:416:7: undefined: grpc.ClientConnInterface
> src/github.com/hashicorp/go-plugin/test/grpc/test.pb.go:420:11: undefined: grpc.SupportPackageIsVersion6
> src/github.com/hashicorp/go-plugin/test/grpc/test.pb.go:433:5: undefined: grpc.ClientConnInterface
> src/github.com/hashicorp/go-plugin/test/grpc/test.pb.go:436:23: undefined: grpc.ClientConnInterface
> src/github.com/hashicorp/go-plugin/test/grpc/test.pb.go:643:5: undefined: grpc.ClientConnInterface
> src/github.com/hashicorp/go-plugin/test/grpc/test.pb.go:646:27: undefined: grpc.ClientConnInterface
> google.golang.org/grpc/health
> dh_auto_build: error: cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/hashicorp/go-plugin github.com/hashicorp/go-plugin/internal/plugin github.com/hashicorp/go-plugin/test/grpc returned exit code 2
> make: *** [debian/rules:7: build] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/03/22/golang-github-hashicorp-go-plugin_1.0.1-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-go-maintainers mailing list