#!/usr/bin/make -f export DH_GOLANG_EXCLUDES := v2/examples/ # # github.com/spiffe/go-spiffe/v2/spiffegrpc/grpccredentials # src/github.com/spiffe/go-spiffe/v2/spiffegrpc/grpccredentials/credentials_test.go:18:2: cannot find package "google.golang.org/grpc/examples/helloworld/helloworld" in any of: # /usr/lib/go-1.21/src/google.golang.org/grpc/examples/helloworld/helloworld (from $GOROOT) # /builds/jas/golang-github-spiffe-go-spiffe/debian/output/source_dir/_build/src/google.golang.org/grpc/examples/helloworld/helloworld (from $GOPATH) # FAIL github.com/spiffe/go-spiffe/v2/spiffegrpc/grpccredentials [setup failed] #... # spurious failure: # === RUN TestJWTSourceGetsUpdates # workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:33483 # common_test.go:52: # Error Trace: /build/golang-github-spiffe-go-spiffe-2.1.6/_build/src/github.com/spiffe/go-spiffe/v2/workloadapi/common_test.go:52 # /build/golang-github-spiffe-go-spiffe-2.1.6/_build/src/github.com/spiffe/go-spiffe/v2/workloadapi/jwtsource_test.go:100 # Error: An error is expected but got nil. # Test: TestJWTSourceGetsUpdates # Messages: JWT bundle should not exist # --- FAIL: TestJWTSourceGetsUpdates (0.01s) override_dh_auto_test: rm -f _build/src/github.com/spiffe/go-spiffe/v2/spiffegrpc/grpccredentials/credentials_test.go dh_auto_test $(DH_BUILD_OPTS) %: dh $@ --builddirectory=_build --buildsystem=golang --with=golang execute_before_dh_auto_configure: cp $(CURDIR)/v2/go.mod $(CURDIR)/go.mod override_dh_auto_clean: rm -f $(CURDIR)/go.mod dh_auto_clean