Source: amazon-ecr-credential-helper Version: 0.3.1-1 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20201027 ftbfs-bullseye
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > dh_auto_build -- -ldflags "-X > "github.com/awslabs/amazon-ecr-credential-helper/ecr-login"/version.Version=0.3.1 > -X > "github.com/awslabs/amazon-ecr-credential-helper/ecr-login"/version.GitCommitSHA=b4a1707" > cd obj-x86_64-linux-gnu && go version > go version go1.15.2 linux/amd64 > cd obj-x86_64-linux-gnu && go env > GO111MODULE="off" > GOARCH="amd64" > GOBIN="" > GOCACHE="/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/go-build" > GOENV="/sbuild-nonexistent/.config/go/env" > GOEXE="" > GOFLAGS="" > GOHOSTARCH="amd64" > GOHOSTOS="linux" > GOINSECURE="" > GOMODCACHE="/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/pkg/mod" > GONOPROXY="" > GONOSUMDB="" > GOOS="linux" > GOPATH="/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" > GOPRIVATE="" > GOPROXY="off" > GOROOT="/usr/lib/go-1.15" > GOSUMDB="sum.golang.org" > GOTMPDIR="" > GOTOOLDIR="/usr/lib/go-1.15/pkg/tool/linux_amd64" > GCCGO="gccgo" > AR="ar" > CC="gcc" > CXX="g++" > CGO_ENABLED="1" > GOMOD="" > CGO_CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security" > CGO_CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" > CGO_CXXFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security" > CGO_FFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong" > CGO_LDFLAGS="-Wl,-z,relro" > PKG_CONFIG="pkg-config" > GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 > -fdebug-prefix-map=/tmp/go-build325308206=/tmp/go-build > -gno-record-gcc-switches" > cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 -ldflags "-X > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/version.Version=0.3.1 > -X > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/version.GitCommitSHA=b4a1707" > github.com/awslabs/amazon-ecr-credential-helper/ecr-login > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/api > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/api/mocks > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cache > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cache/mocks > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/config > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/mocks > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/version > internal/unsafeheader > runtime/internal/sys > runtime/internal/atomic > internal/cpu > math/bits > runtime/internal/math > unicode/utf8 > internal/race > sync/atomic > unicode > internal/bytealg > math > internal/testlog > encoding > unicode/utf16 > runtime > container/list > crypto/internal/subtle > crypto/subtle > vendor/golang.org/x/crypto/cryptobyte/asn1 > internal/nettrace > vendor/golang.org/x/crypto/internal/subtle > runtime/cgo > github.com/aws/aws-sdk-go/aws/client/metadata > golang.org/x/sys/internal/unsafeheader > github.com/aws/aws-sdk-go/internal/sdkmath > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/version > internal/reflectlite > sync > github.com/aws/aws-sdk-go/internal/sync/singleflight > math/rand > internal/singleflight > errors > sort > strconv > io > internal/oserror > vendor/golang.org/x/net/dns/dnsmessage > syscall > strings > reflect > bytes > regexp/syntax > github.com/aws/aws-sdk-go/internal/sdkio > bufio > internal/syscall/unix > time > internal/syscall/execenv > regexp > hash > hash/crc32 > crypto > crypto/internal/randutil > crypto/hmac > internal/poll > context > internal/fmtsort > encoding/binary > crypto/rc4 > vendor/golang.org/x/crypto/hkdf > vendor/golang.org/x/text/transform > path > os > encoding/base64 > crypto/cipher > crypto/sha512 > crypto/ed25519/internal/edwards25519 > crypto/aes > crypto/des > fmt > path/filepath > crypto/md5 > crypto/sha1 > io/ioutil > github.com/aws/aws-sdk-go/internal/shareddefaults > crypto/sha256 > encoding/pem > net > vendor/golang.org/x/crypto/chacha20 > encoding/hex > encoding/json > log > github.com/aws/aws-sdk-go/aws/awserr > compress/flate > github.com/aws/aws-sdk-go/internal/ini > compress/gzip > github.com/aws/aws-sdk-go/aws/endpoints > github.com/aws/aws-sdk-go/aws/credentials > math/big > net/url > vendor/golang.org/x/crypto/poly1305 > vendor/golang.org/x/sys/cpu > vendor/golang.org/x/crypto/chacha20poly1305 > crypto/rand > crypto/elliptic > encoding/asn1 > crypto/ed25519 > vendor/golang.org/x/crypto/cryptobyte > crypto/rsa > crypto/dsa > crypto/ecdsa > crypto/x509/pkix > vendor/golang.org/x/crypto/curve25519 > vendor/golang.org/x/text/unicode/bidi > vendor/golang.org/x/text/unicode/norm > vendor/golang.org/x/text/secure/bidirule > vendor/golang.org/x/net/http2/hpack > mime > crypto/x509 > net/textproto > vendor/golang.org/x/net/idna > mime/quotedprintable > net/http/internal > mime/multipart > github.com/jmespath/go-jmespath > vendor/golang.org/x/net/http/httpguts > vendor/golang.org/x/net/http/httpproxy > crypto/tls > github.com/aws/aws-sdk-go/internal/sdkrand > os/exec > github.com/aws/aws-sdk-go/internal/strings > encoding/xml > github.com/aws/aws-sdk-go/aws/awsutil > github.com/aws/aws-sdk-go/aws/credentials/processcreds > github.com/aws/aws-sdk-go/internal/sdkuri > github.com/mitchellh/go-homedir > golang.org/x/sys/unix > github.com/pkg/errors > github.com/docker/docker-credential-helpers/credentials > github.com/golang/mock/gomock > flag > net/http/httptrace > github.com/sirupsen/logrus > net/http > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/config > net/http/httputil > github.com/aws/aws-sdk-go/aws > github.com/aws/aws-sdk-go/aws/request > github.com/aws/aws-sdk-go/aws/client > github.com/aws/aws-sdk-go/aws/corehandlers > github.com/aws/aws-sdk-go/aws/csm > github.com/aws/aws-sdk-go/private/protocol > github.com/aws/aws-sdk-go/aws/ec2metadata > github.com/aws/aws-sdk-go/private/protocol/query/queryutil > github.com/aws/aws-sdk-go/private/protocol/rest > github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil > github.com/aws/aws-sdk-go/private/protocol/json/jsonutil > github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds > github.com/aws/aws-sdk-go/aws/signer/v4 > github.com/aws/aws-sdk-go/private/protocol/query > github.com/aws/aws-sdk-go/aws/credentials/endpointcreds > github.com/aws/aws-sdk-go/private/protocol/jsonrpc > github.com/aws/aws-sdk-go/service/sts > github.com/aws/aws-sdk-go/aws/defaults > github.com/aws/aws-sdk-go/service/ecr > github.com/aws/aws-sdk-go/service/sts/stsiface > github.com/aws/aws-sdk-go/aws/credentials/stscreds > github.com/aws/aws-sdk-go/aws/session > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cache > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cache/mocks > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/api/mocks > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/api > github.com/awslabs/amazon-ecr-credential-helper/ecr-login > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/mocks > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login > mkdir -p bin/local > cp obj-x86_64-linux-gnu/bin/docker-credential-ecr-login bin/local > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test -O--buildsystem=golang > cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 > github.com/awslabs/amazon-ecr-credential-helper/ecr-login > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/api > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/api/mocks > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cache > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cache/mocks > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/config > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/mocks > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/version > # github.com/awslabs/amazon-ecr-credential-helper/ecr-login > src/github.com/awslabs/amazon-ecr-credential-helper/ecr-login/ecr_test.go:25:2: > cannot find package "github.com/stretchr/testify/assert" in any of: > /usr/lib/go-1.15/src/github.com/stretchr/testify/assert (from $GOROOT) > > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/stretchr/testify/assert > (from $GOPATH) > FAIL github.com/awslabs/amazon-ecr-credential-helper/ecr-login [setup failed] > # github.com/awslabs/amazon-ecr-credential-helper/ecr-login/api > src/github.com/awslabs/amazon-ecr-credential-helper/ecr-login/ecr_test.go:25:2: > cannot find package "github.com/stretchr/testify/assert" in any of: > /usr/lib/go-1.15/src/github.com/stretchr/testify/assert (from $GOROOT) > > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/stretchr/testify/assert > (from $GOPATH) > FAIL github.com/awslabs/amazon-ecr-credential-helper/ecr-login/api [setup > failed] > # github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cache > src/github.com/awslabs/amazon-ecr-credential-helper/ecr-login/ecr_test.go:25:2: > cannot find package "github.com/stretchr/testify/assert" in any of: > /usr/lib/go-1.15/src/github.com/stretchr/testify/assert (from $GOROOT) > > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/stretchr/testify/assert > (from $GOPATH) > FAIL github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cache [setup > failed] > ? github.com/awslabs/amazon-ecr-credential-helper/ecr-login/api/mocks > [no test files] > ? github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cache/mocks > [no test files] > ? > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login > [no test files] > ? github.com/awslabs/amazon-ecr-credential-helper/ecr-login/config > [no test files] > ? github.com/awslabs/amazon-ecr-credential-helper/ecr-login/mocks [no > test files] > ? github.com/awslabs/amazon-ecr-credential-helper/ecr-login/version > [no test files] > FAIL > dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 > github.com/awslabs/amazon-ecr-credential-helper/ecr-login > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/api > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/api/mocks > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cache > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cache/mocks > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/config > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/mocks > github.com/awslabs/amazon-ecr-credential-helper/ecr-login/version returned > exit code 1 The full build log is available from: http://qa-logs.debian.net/2020/10/27/amazon-ecr-credential-helper_0.3.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.