Source: golang-github-micromdm-scep Version: 2.0.0-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220326 ftbfs-bookworm
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 "main.version=2.0.0"' > cd _build && go install -trimpath -v -p 8 -ldflags "-X > \"main.version=2.0.0\"" github.com/micromdm/scep/challenge > github.com/micromdm/scep/challenge/bolt github.com/micromdm/scep/client > github.com/micromdm/scep/cmd/scepclient > github.com/micromdm/scep/cmd/scepserver github.com/micromdm/scep/cryptoutil > github.com/micromdm/scep/cryptoutil/x509util > github.com/micromdm/scep/csrverifier > github.com/micromdm/scep/csrverifier/executable > github.com/micromdm/scep/depot github.com/micromdm/scep/depot/bolt > github.com/micromdm/scep/depot/file github.com/micromdm/scep/scep > github.com/micromdm/scep/server > internal/goarch > internal/goos > internal/goexperiment > internal/unsafeheader > internal/race > internal/cpu > sync/atomic > internal/abi > runtime/internal/atomic > runtime/internal/syscall > runtime/internal/math > runtime/internal/sys > unicode > unicode/utf8 > math/bits > crypto/internal/subtle > crypto/subtle > internal/itoa > unicode/utf16 > vendor/golang.org/x/crypto/cryptobyte/asn1 > internal/nettrace > internal/bytealg > encoding > container/list > vendor/golang.org/x/crypto/internal/subtle > math > runtime > internal/reflectlite > sync > internal/testlog > math/rand > internal/singleflight > internal/sysinfo > runtime/cgo > errors > sort > io > strconv > internal/oserror > crypto/elliptic/internal/fiat > vendor/golang.org/x/net/dns/dnsmessage > path > syscall > hash > crypto/internal/randutil > bytes > strings > hash/crc32 > crypto > reflect > crypto/hmac > crypto/rc4 > vendor/golang.org/x/text/transform > vendor/golang.org/x/crypto/hkdf > bufio > regexp/syntax > net/http/internal/ascii > hash/fnv > crypto/elliptic/internal/nistec > time > internal/syscall/execenv > internal/syscall/unix > regexp > io/fs > context > internal/poll > github.com/go-kit/kit/endpoint > embed > os > internal/fmtsort > encoding/binary > crypto/sha512 > crypto/ed25519/internal/edwards25519/field > crypto/sha1 > crypto/cipher > crypto/md5 > encoding/base64 > crypto/sha256 > fmt > encoding/pem > crypto/ed25519/internal/edwards25519 > internal/godebug > path/filepath > io/ioutil > vendor/golang.org/x/crypto/internal/poly1305 > vendor/golang.org/x/crypto/curve25519/internal/field > crypto/aes > crypto/des > internal/intern > net/netip > os/exec > vendor/golang.org/x/crypto/chacha20 > vendor/golang.org/x/sys/cpu > os/signal > encoding/hex > math/big > net/url > flag > runtime/debug > runtime/trace > encoding/json > github.com/go-logfmt/logfmt > github.com/go-stack/stack > net > log > github.com/pkg/errors > encoding/xml > testing > compress/flate > vendor/golang.org/x/crypto/chacha20poly1305 > vendor/golang.org/x/crypto/curve25519 > vendor/golang.org/x/text/unicode/bidi > vendor/golang.org/x/text/unicode/norm > github.com/go-kit/kit/log > compress/gzip > vendor/golang.org/x/net/http2/hpack > mime > mime/quotedprintable > vendor/golang.org/x/text/secure/bidirule > net/http/internal > github.com/go-kit/kit/log/level > github.com/boltdb/bolt > github.com/micromdm/scep/csrverifier/executable > crypto/dsa > crypto/rand > encoding/asn1 > crypto/ed25519 > crypto/rsa > crypto/elliptic > crypto/x509/pkix > vendor/golang.org/x/crypto/cryptobyte > vendor/golang.org/x/net/idna > github.com/micromdm/scep/challenge/bolt > crypto/ecdsa > github.com/micromdm/scep/cryptoutil > vendor/golang.org/x/net/http/httpproxy > net/textproto > crypto/x509 > vendor/golang.org/x/net/http/httpguts > mime/multipart > github.com/micromdm/scep/depot/file > github.com/micromdm/scep/depot/bolt > github.com/micromdm/scep/cryptoutil/x509util > github.com/fullsailor/pkcs7 > crypto/tls > github.com/micromdm/scep/scep > github.com/micromdm/scep/depot > net/http/httptrace > net/http > github.com/go-kit/kit/transport/http > github.com/gorilla/mux > github.com/micromdm/scep/server > github.com/micromdm/scep/client > github.com/micromdm/scep/challenge > github.com/micromdm/scep/csrverifier > github.com/micromdm/scep/cmd/scepclient > github.com/micromdm/scep/cmd/scepserver > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test -O--builddirectory=_build -O--buildsystem=golang > cd _build && go test -vet=off -v -p 8 > github.com/micromdm/scep/challenge github.com/micromdm/scep/challenge/bolt > github.com/micromdm/scep/client github.com/micromdm/scep/cmd/scepclient > github.com/micromdm/scep/cmd/scepserver github.com/micromdm/scep/cryptoutil > github.com/micromdm/scep/cryptoutil/x509util > github.com/micromdm/scep/csrverifier > github.com/micromdm/scep/csrverifier/executable > github.com/micromdm/scep/depot github.com/micromdm/scep/depot/bolt > github.com/micromdm/scep/depot/file github.com/micromdm/scep/scep > github.com/micromdm/scep/server > === RUN TestDynamicChallenge > --- PASS: TestDynamicChallenge (0.01s) > PASS > ok github.com/micromdm/scep/challenge 0.017s > ? github.com/micromdm/scep/challenge/bolt [no test files] > ? github.com/micromdm/scep/client [no test files] > ? github.com/micromdm/scep/cmd/scepclient [no test files] > ? github.com/micromdm/scep/cmd/scepserver [no test files] > === RUN TestGenerateSubjectKeyID > === RUN TestGenerateSubjectKeyID/RSA > === PAUSE TestGenerateSubjectKeyID/RSA > === RUN TestGenerateSubjectKeyID/ECDSA > === PAUSE TestGenerateSubjectKeyID/ECDSA > === CONT TestGenerateSubjectKeyID/RSA > === CONT TestGenerateSubjectKeyID/ECDSA > --- PASS: TestGenerateSubjectKeyID (0.00s) > --- PASS: TestGenerateSubjectKeyID/RSA (0.00s) > --- PASS: TestGenerateSubjectKeyID/ECDSA (0.00s) > PASS > ok github.com/micromdm/scep/cryptoutil 0.002s > === RUN TestCreateCertificateRequest > --- PASS: TestCreateCertificateRequest (0.03s) > PASS > ok github.com/micromdm/scep/cryptoutil/x509util 0.037s > ? github.com/micromdm/scep/csrverifier [no test files] > ? github.com/micromdm/scep/csrverifier/executable [no test files] > ? github.com/micromdm/scep/depot [no test files] > === RUN TestDepot_Serial > --- PASS: TestDepot_Serial (0.02s) > === RUN TestDepot_writeSerial > --- PASS: TestDepot_writeSerial (0.01s) > === RUN TestDepot_incrementSerial > --- PASS: TestDepot_incrementSerial (0.01s) > === RUN TestDepot_CreateOrLoadKey > --- PASS: TestDepot_CreateOrLoadKey (0.05s) > === RUN TestDepot_CreateOrLoadCA > --- PASS: TestDepot_CreateOrLoadCA (0.04s) > PASS > ok github.com/micromdm/scep/depot/bolt 0.137s > ? github.com/micromdm/scep/depot/file [no test files] > === RUN TestEnciphermentCertsSelector > === RUN TestEnciphermentCertsSelector/empty_certificates_list > === PAUSE TestEnciphermentCertsSelector/empty_certificates_list > === RUN TestEnciphermentCertsSelector/non-empty_certificates_list > === PAUSE TestEnciphermentCertsSelector/non-empty_certificates_list > === CONT TestEnciphermentCertsSelector/empty_certificates_list > === CONT TestEnciphermentCertsSelector/non-empty_certificates_list > --- PASS: TestEnciphermentCertsSelector (0.00s) > --- PASS: TestEnciphermentCertsSelector/empty_certificates_list (0.00s) > --- PASS: TestEnciphermentCertsSelector/non-empty_certificates_list > (0.00s) > === RUN TestNopCertsSelector > === RUN TestNopCertsSelector/empty_certificates_list > === PAUSE TestNopCertsSelector/empty_certificates_list > === RUN TestNopCertsSelector/non-empty_certificates_list > === PAUSE TestNopCertsSelector/non-empty_certificates_list > === CONT TestNopCertsSelector/empty_certificates_list > === CONT TestNopCertsSelector/non-empty_certificates_list > --- PASS: TestNopCertsSelector (0.00s) > --- PASS: TestNopCertsSelector/empty_certificates_list (0.00s) > --- PASS: TestNopCertsSelector/non-empty_certificates_list (0.00s) > === RUN TestParsePKIEnvelopeCert_MissingCertificatesForSigners > scep_test.go:63: failed to parse PKIMessage: x509: cannot verify > signature: insecure algorithm SHA1-RSA (temporarily override with > GODEBUG=x509sha1=1) > --- FAIL: TestParsePKIEnvelopeCert_MissingCertificatesForSigners (0.00s) > === RUN TestDecryptPKIEnvelopeCSR > scep_test.go:22: x509: cannot verify signature: insecure algorithm > SHA1-RSA (temporarily override with GODEBUG=x509sha1=1) > --- FAIL: TestDecryptPKIEnvelopeCSR (0.00s) > === RUN TestDecryptPKIEnvelopeCert > scep_test.go:22: x509: cannot verify signature: insecure algorithm > SHA1-RSA (temporarily override with GODEBUG=x509sha1=1) > --- FAIL: TestDecryptPKIEnvelopeCert (0.00s) > === RUN TestSignCSR > scep_test.go:22: x509: cannot verify signature: insecure algorithm > SHA1-RSA (temporarily override with GODEBUG=x509sha1=1) > --- FAIL: TestSignCSR (0.00s) > === RUN TestNewCSRRequest > === RUN > TestNewCSRRequest/KeyEncipherment_not_set_with_NOP_certificates_selector > === PAUSE > TestNewCSRRequest/KeyEncipherment_not_set_with_NOP_certificates_selector > === RUN > TestNewCSRRequest/KeyEncipherment_is_set_with_NOP_certificates_selector > === PAUSE > TestNewCSRRequest/KeyEncipherment_is_set_with_NOP_certificates_selector > === RUN > TestNewCSRRequest/KeyEncipherment_not_set_with_Encipherment_certificates_selector > === PAUSE > TestNewCSRRequest/KeyEncipherment_not_set_with_Encipherment_certificates_selector > === RUN > TestNewCSRRequest/KeyEncipherment_is_set_with_Encipherment_certificates_selector > === PAUSE > TestNewCSRRequest/KeyEncipherment_is_set_with_Encipherment_certificates_selector > === CONT > TestNewCSRRequest/KeyEncipherment_not_set_with_NOP_certificates_selector > === CONT > TestNewCSRRequest/KeyEncipherment_not_set_with_Encipherment_certificates_selector > === CONT > TestNewCSRRequest/KeyEncipherment_is_set_with_Encipherment_certificates_selector > === CONT > TestNewCSRRequest/KeyEncipherment_is_set_with_NOP_certificates_selector > scep_test.go:22: x509: cannot verify signature: insecure algorithm > SHA1-RSA (temporarily override with GODEBUG=x509sha1=1) > === CONT > TestNewCSRRequest/KeyEncipherment_is_set_with_Encipherment_certificates_selector > scep_test.go:22: x509: cannot verify signature: insecure algorithm > SHA1-RSA (temporarily override with GODEBUG=x509sha1=1) > === CONT > TestNewCSRRequest/KeyEncipherment_not_set_with_NOP_certificates_selector > scep_test.go:22: x509: cannot verify signature: insecure algorithm > SHA1-RSA (temporarily override with GODEBUG=x509sha1=1) > --- FAIL: TestNewCSRRequest (0.00s) > --- FAIL: > TestNewCSRRequest/KeyEncipherment_is_set_with_NOP_certificates_selector > (0.45s) > --- FAIL: > TestNewCSRRequest/KeyEncipherment_is_set_with_Encipherment_certificates_selector > (0.48s) > --- FAIL: > TestNewCSRRequest/KeyEncipherment_not_set_with_NOP_certificates_selector > (0.72s) > --- PASS: > TestNewCSRRequest/KeyEncipherment_not_set_with_Encipherment_certificates_selector > (0.75s) > FAIL > FAIL github.com/micromdm/scep/scep 0.758s > === RUN TestChallengeMiddleware > --- PASS: TestChallengeMiddleware (0.00s) > === RUN TestCaCert > service_bolt_test.go:106: x509: cannot verify signature: insecure > algorithm SHA1-RSA (temporarily override with GODEBUG=x509sha1=1) > --- FAIL: TestCaCert (0.25s) > === RUN TestCACaps > --- PASS: TestCACaps (0.00s) > === RUN TestEncodePKCSReq_Request > === RUN TestEncodePKCSReq_Request/POST > === RUN TestEncodePKCSReq_Request/GET > --- PASS: TestEncodePKCSReq_Request (0.00s) > --- PASS: TestEncodePKCSReq_Request/POST (0.00s) > --- PASS: TestEncodePKCSReq_Request/GET (0.00s) > === RUN TestGetCACertMessage > --- PASS: TestGetCACertMessage (0.00s) > === RUN TestPKIOperation > transport_test.go:99: expected 200 got 500 > --- FAIL: TestPKIOperation (0.00s) > === RUN TestPKIOperationGET > transport_test.go:121: expected 200 got 500 > --- FAIL: TestPKIOperationGET (0.00s) > FAIL > FAIL github.com/micromdm/scep/server 0.254s > FAIL > dh_auto_test: error: cd _build && go test -vet=off -v -p 8 > github.com/micromdm/scep/challenge github.com/micromdm/scep/challenge/bolt > github.com/micromdm/scep/client github.com/micromdm/scep/cmd/scepclient > github.com/micromdm/scep/cmd/scepserver github.com/micromdm/scep/cryptoutil > github.com/micromdm/scep/cryptoutil/x509util > github.com/micromdm/scep/csrverifier > github.com/micromdm/scep/csrverifier/executable > github.com/micromdm/scep/depot github.com/micromdm/scep/depot/bolt > github.com/micromdm/scep/depot/file github.com/micromdm/scep/scep > github.com/micromdm/scep/server returned exit code 1 The full build log is available from: http://qa-logs.debian.net/2022/03/26/golang-github-micromdm-scep_2.0.0-2_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.