Source: golang-github-smallstep-cli
Version: 0.15.16+ds-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package golang-github-smallstep-cli
> dpkg-buildpackage: info: source version 0.15.16+ds-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Nilesh Patra <nil...@debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean --builddirectory=_build --buildsystem=golang --with=golang
>    dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
>    dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
>    dh_clean -O--builddirectory=_build -O--buildsystem=golang
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building golang-github-smallstep-cli using existing 
> ./golang-github-smallstep-cli_0.15.16+ds.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building golang-github-smallstep-cli in 
> golang-github-smallstep-cli_0.15.16+ds-1.debian.tar.xz
> dpkg-source: info: building golang-github-smallstep-cli in 
> golang-github-smallstep-cli_0.15.16+ds-1.dsc
>  debian/rules binary
> dh binary --builddirectory=_build --buildsystem=golang --with=golang
>    dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
>    dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
>    dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
>    dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
>       cd _build && go install -trimpath -v -p 4 
> github.com/smallstep/cli/crypto/x509util
> internal/unsafeheader
> internal/goexperiment
> internal/abi
> internal/cpu
> runtime/internal/sys
> runtime/internal/atomic
> runtime/internal/math
> internal/race
> sync/atomic
> math/bits
> internal/bytealg
> unicode/utf8
> math
> unicode
> crypto/internal/subtle
> crypto/subtle
> internal/itoa
> container/list
> runtime
> unicode/utf16
> vendor/golang.org/x/crypto/cryptobyte/asn1
> internal/nettrace
> vendor/golang.org/x/crypto/internal/subtle
> golang.org/x/crypto/internal/subtle
> github.com/shurcooL/sanitized_anchor_name
> golang.org/x/sys/internal/unsafeheader
> encoding
> golang.org/x/net/html/atom
> internal/reflectlite
> sync
> internal/testlog
> internal/singleflight
> math/rand
> runtime/cgo
> errors
> sort
> io
> strconv
> internal/oserror
> syscall
> hash
> bytes
> crypto
> strings
> reflect
> bufio
> internal/syscall/unix
> path
> time
> internal/syscall/execenv
> crypto/internal/randutil
> crypto/elliptic/internal/fiat
> crypto/hmac
> io/fs
> internal/poll
> context
> crypto/rc4
> vendor/golang.org/x/net/dns/dnsmessage
> encoding/binary
> internal/fmtsort
> os
> vendor/golang.org/x/crypto/hkdf
> golang.org/x/crypto/blowfish
> crypto/cipher
> crypto/sha1
> crypto/aes
> crypto/sha256
> fmt
> crypto/des
> crypto/sha512
> crypto/ed25519/internal/edwards25519/field
> crypto/md5
> encoding/base64
> math/big
> net
> crypto/ed25519/internal/edwards25519
> encoding/hex
> encoding/pem
> net/url
> path/filepath
> vendor/golang.org/x/crypto/chacha20
> vendor/golang.org/x/crypto/poly1305
> io/ioutil
> vendor/golang.org/x/sys/cpu
> vendor/golang.org/x/crypto/curve25519
> vendor/golang.org/x/crypto/chacha20poly1305
> crypto/rand
> crypto/elliptic
> encoding/asn1
> crypto/rsa
> crypto/ed25519
> crypto/dsa
> github.com/pkg/errors
> vendor/golang.org/x/crypto/cryptobyte
> crypto/x509/pkix
> golang.org/x/crypto/chacha20
> golang.org/x/crypto/curve25519/internal/field
> golang.org/x/crypto/ed25519
> golang.org/x/crypto/poly1305
> crypto/ecdsa
> golang.org/x/crypto/curve25519
> golang.org/x/crypto/ssh/internal/bcrypt_pbkdf
> log
> github.com/smallstep/cli/crypto/randutil
> flag
> html
> regexp/syntax
> text/tabwriter
> text/template/parse
> github.com/smallstep/cli/pkg/bcrypt_pbkdf
> os/signal
> golang.org/x/sys/unix
> regexp
> text/template
> github.com/russross/blackfriday/v2
> crypto/x509
> github.com/chzyer/readline
> github.com/lunixbochs/vtclean
> github.com/cpuguy83/go-md2man/v2/md2man
> github.com/juju/ansiterm/tabwriter
> github.com/mattn/go-isatty
> github.com/urfave/cli
> github.com/mattn/go-colorable
> github.com/juju/ansiterm
> crypto/tls
> golang.org/x/crypto/ssh
> github.com/manifoldco/promptui/list
> github.com/manifoldco/promptui/screenbuf
> github.com/manifoldco/promptui
> github.com/smallstep/cli/errs
> encoding/json
> github.com/smallstep/cli/ui
> os/user
> github.com/mgutz/ansi
> golang.org/x/net/html
> github.com/smallstep/cli/crypto/keys
> compress/flate
> hash/crc32
> vendor/golang.org/x/text/transform
> compress/gzip
> vendor/golang.org/x/text/unicode/bidi
> vendor/golang.org/x/text/unicode/norm
> net/textproto
> vendor/golang.org/x/text/secure/bidirule
> vendor/golang.org/x/net/http2/hpack
> mime
> mime/quotedprintable
> net/http/httptrace
> vendor/golang.org/x/net/idna
> mime/multipart
> net/http/internal
> net/http/internal/ascii
> golang.org/x/crypto/pbkdf2
> vendor/golang.org/x/net/http/httpguts
> vendor/golang.org/x/net/http/httpproxy
> net/http
> github.com/smallstep/cli/config
> github.com/smallstep/cli/usage
> github.com/smallstep/cli/command
> github.com/smallstep/cli/utils
> github.com/smallstep/cli/crypto/pemutil
> github.com/smallstep/cli/crypto/x509util
>    dh_auto_test -O--builddirectory=_build -O--buildsystem=golang
>       cd _build && go test -vet=off -v -p 4 
> github.com/smallstep/cli/crypto/x509util
> === RUN   TestFingerprint
> === RUN   TestFingerprint/ok
> --- PASS: TestFingerprint (0.00s)
>     --- PASS: TestFingerprint/ok (0.00s)
> === RUN   TestEncodedFingerprint
> === RUN   TestEncodedFingerprint/hex
> === RUN   TestEncodedFingerprint/base64
> === RUN   TestEncodedFingerprint/base64url
> --- PASS: TestEncodedFingerprint (0.00s)
>     --- PASS: TestEncodedFingerprint/hex (0.00s)
>     --- PASS: TestEncodedFingerprint/base64 (0.00s)
>     --- PASS: TestEncodedFingerprint/base64url (0.00s)
> === RUN   TestSplitSANs
> === RUN   TestSplitSANs/empty
> === RUN   TestSplitSANs/all-dns
> === RUN   TestSplitSANs/all-ip
> === RUN   TestSplitSANs/all-email
> === RUN   TestSplitSANs/all-uri
> === RUN   TestSplitSANs/mix
> --- PASS: TestSplitSANs (0.00s)
>     --- PASS: TestSplitSANs/empty (0.00s)
>     --- PASS: TestSplitSANs/all-dns (0.00s)
>     --- PASS: TestSplitSANs/all-ip (0.00s)
>     --- PASS: TestSplitSANs/all-email (0.00s)
>     --- PASS: TestSplitSANs/all-uri (0.00s)
>     --- PASS: TestSplitSANs/mix (0.00s)
> === RUN   TestCSR_LoadCSRFromBytes
> === RUN   TestCSR_LoadCSRFromBytes/propagate_parse_error
> === RUN   TestCSR_LoadCSRFromBytes/success
> === RUN   TestCSR_LoadCSRFromBytes/propagate_pem_decode_error
> --- PASS: TestCSR_LoadCSRFromBytes (0.64s)
>     --- PASS: TestCSR_LoadCSRFromBytes/propagate_parse_error (0.00s)
>     --- PASS: TestCSR_LoadCSRFromBytes/success (0.64s)
>     --- PASS: TestCSR_LoadCSRFromBytes/propagate_pem_decode_error (0.00s)
> === RUN   TestLoadIdentityFromDisk
>     identity_test.go:46: Running test case: error parsing x509 certificate
>     identity_test.go:60: 'error parsing ./testdata/badca.crt: asn1: syntax 
> error: trailing data' is not a prefix of 'error parsing ./testdata/badca.crt: 
> x509: trailing data'
>     identity_test.go:46: Running test case: error parsing rsa key
>     identity_test.go:46: Running test case: success
> --- FAIL: TestLoadIdentityFromDisk (0.00s)
> === RUN   Test_base_CreateCertificate
> === RUN   Test_base_CreateCertificate/fail/no-subject-pub-key
> === RUN   Test_base_CreateCertificate/fail/no-issuer-priv-key
> === RUN   Test_base_CreateCertificate/ok
> --- PASS: Test_base_CreateCertificate (0.01s)
>     --- PASS: Test_base_CreateCertificate/fail/no-subject-pub-key (0.00s)
>     --- PASS: Test_base_CreateCertificate/fail/no-issuer-priv-key (0.00s)
>     --- PASS: Test_base_CreateCertificate/ok (0.01s)
> === RUN   Test_base_CreateCertificate_KeyEncipherment
> === RUN   Test_base_CreateCertificate_KeyEncipherment/ecdsa
> === RUN   Test_base_CreateCertificate_KeyEncipherment/rsa
> === RUN   Test_base_CreateCertificate_KeyEncipherment/ed25519
> --- PASS: Test_base_CreateCertificate_KeyEncipherment (0.18s)
>     --- PASS: Test_base_CreateCertificate_KeyEncipherment/ecdsa (0.01s)
>     --- PASS: Test_base_CreateCertificate_KeyEncipherment/rsa (0.01s)
>     --- PASS: Test_base_CreateCertificate_KeyEncipherment/ed25519 (0.01s)
> === RUN   Test_generateSubjectKeyID
> === RUN   Test_generateSubjectKeyID/ecdsa
> === RUN   Test_generateSubjectKeyID/rsa
> === RUN   Test_generateSubjectKeyID/ed25519
> === RUN   Test_generateSubjectKeyID/fail
> --- PASS: Test_generateSubjectKeyID (0.00s)
>     --- PASS: Test_generateSubjectKeyID/ecdsa (0.00s)
>     --- PASS: Test_generateSubjectKeyID/rsa (0.00s)
>     --- PASS: Test_generateSubjectKeyID/ed25519 (0.00s)
>     --- PASS: Test_generateSubjectKeyID/fail (0.00s)
> FAIL
> FAIL  github.com/smallstep/cli/crypto/x509util        0.836s
> FAIL
> dh_auto_test: error: cd _build && go test -vet=off -v -p 4 
> github.com/smallstep/cli/crypto/x509util returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/golang-github-smallstep-cli_0.15.16+ds-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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to