Source: golang-github-micromdm-scep
Version: 2.1.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220813 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.1.0"'
>       cd _build && go install -trimpath -v -p 8 -ldflags "-X 
> \"main.version=2.1.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/unsafeheader
> internal/goexperiment
> internal/goos
> internal/race
> internal/cpu
> runtime/internal/atomic
> runtime/internal/syscall
> internal/abi
> runtime/internal/math
> sync/atomic
> runtime/internal/sys
> unicode
> unicode/utf8
> math/bits
> crypto/internal/subtle
> crypto/subtle
> internal/itoa
> crypto/internal/boring/sig
> unicode/utf16
> internal/bytealg
> vendor/golang.org/x/crypto/cryptobyte/asn1
> internal/nettrace
> encoding
> container/list
> math
> vendor/golang.org/x/crypto/internal/subtle
> runtime
> internal/reflectlite
> sync
> internal/testlog
> math/rand
> internal/singleflight
> internal/sysinfo
> sort
> errors
> io
> internal/oserror
> path
> vendor/golang.org/x/net/dns/dnsmessage
> strconv
> crypto/internal/nistec/fiat
> syscall
> hash
> crypto/internal/randutil
> strings
> bytes
> hash/crc32
> hash/fnv
> crypto
> reflect
> crypto/rc4
> regexp/syntax
> net/http/internal/ascii
> bufio
> vendor/golang.org/x/text/transform
> internal/syscall/execenv
> internal/syscall/unix
> time
> regexp
> io/fs
> context
> internal/poll
> github.com/go-kit/kit/endpoint
> embed
> os
> encoding/binary
> internal/fmtsort
> crypto/internal/nistec
> crypto/internal/edwards25519/field
> crypto/md5
> crypto/sha1
> encoding/base64
> vendor/golang.org/x/crypto/internal/poly1305
> crypto/cipher
> fmt
> encoding/pem
> internal/godebug
> crypto/internal/edwards25519
> path/filepath
> internal/intern
> io/ioutil
> crypto/internal/boring
> crypto/des
> net/netip
> crypto/aes
> crypto/sha512
> crypto/sha256
> os/exec
> crypto/hmac
> vendor/golang.org/x/crypto/chacha20
> vendor/golang.org/x/sys/cpu
> vendor/golang.org/x/crypto/curve25519/internal/field
> net
> vendor/golang.org/x/crypto/hkdf
> os/signal
> encoding/hex
> math/big
> net/url
> encoding/json
> github.com/go-logfmt/logfmt
> github.com/go-stack/stack
> log
> github.com/pkg/errors
> flag
> runtime/debug
> runtime/trace
> encoding/xml
> compress/flate
> vendor/golang.org/x/crypto/chacha20poly1305
> vendor/golang.org/x/crypto/curve25519
> testing
> vendor/golang.org/x/text/unicode/bidi
> compress/gzip
> vendor/golang.org/x/text/unicode/norm
> vendor/golang.org/x/net/http2/hpack
> github.com/go-kit/kit/log
> mime
> mime/quotedprintable
> github.com/go-kit/kit/log/level
> vendor/golang.org/x/text/secure/bidirule
> net/http/internal
> github.com/boltdb/bolt
> github.com/micromdm/scep/csrverifier/executable
> crypto/dsa
> crypto/elliptic
> crypto/internal/boring/bbig
> encoding/asn1
> crypto/rand
> crypto/ed25519
> crypto/rsa
> vendor/golang.org/x/net/idna
> crypto/x509/pkix
> vendor/golang.org/x/crypto/cryptobyte
> github.com/micromdm/scep/challenge/bolt
> net/textproto
> mime/multipart
> crypto/ecdsa
> vendor/golang.org/x/net/http/httpproxy
> vendor/golang.org/x/net/http/httpguts
> github.com/micromdm/scep/cryptoutil
> crypto/x509
> github.com/micromdm/scep/cryptoutil/x509util
> github.com/micromdm/scep/depot/file
> go.mozilla.org/pkcs7
> crypto/tls
> github.com/micromdm/scep/scep
> github.com/micromdm/scep/depot
> github.com/micromdm/scep/depot/bolt
> 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/challenge
> github.com/micromdm/scep/csrverifier
> github.com/micromdm/scep/client
> 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.02s)
> PASS
> ok    github.com/micromdm/scep/challenge      0.020s
> ?     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
> --- FAIL: TestGenerateSubjectKeyID (0.00s)
>     --- PASS: TestGenerateSubjectKeyID/RSA (0.00s)
>     --- FAIL: TestGenerateSubjectKeyID/ECDSA (0.00s)
> panic: crypto/elliptic: attempted operation on invalid point [recovered]
>       panic: crypto/elliptic: attempted operation on invalid point
> 
> goroutine 8 [running]:
> testing.tRunner.func1.2({0x547d20, 0x5b80d8})
>       /usr/lib/go-1.19/src/testing/testing.go:1396 +0x24e
> testing.tRunner.func1()
>       /usr/lib/go-1.19/src/testing/testing.go:1399 +0x39f
> panic({0x547d20, 0x5b80d8})
>       /usr/lib/go-1.19/src/runtime/panic.go:884 +0x212
> crypto/elliptic.panicIfNotOnCurve({0x5b9788?, 0x6812a0?}, 0xd?, 0xc000106ed0?)
>       /usr/lib/go-1.19/src/crypto/elliptic/elliptic.go:182 +0xa5
> crypto/elliptic.Marshal({0x5b9788, 0x6812a0}, 0xc00001e2c0?, 0x68a760?)
>       /usr/lib/go-1.19/src/crypto/elliptic/elliptic.go:75 +0x31
> github.com/micromdm/scep/cryptoutil.GenerateSubjectKeyID({0x55dfe0?, 
> 0xc000070680?})
>       
> /<<PKGBUILDDIR>>/_build/src/github.com/micromdm/scep/cryptoutil/cryptoutil.go:26
>  +0xb0
> github.com/micromdm/scep/cryptoutil.TestGenerateSubjectKeyID.func1(0xc000134000)
>       
> /<<PKGBUILDDIR>>/_build/src/github.com/micromdm/scep/cryptoutil/cryptoutil_test.go:23
>  +0x46
> testing.tRunner(0xc000134000, 0xc00007c420)
>       /usr/lib/go-1.19/src/testing/testing.go:1446 +0x10b
> created by testing.(*T).Run
>       /usr/lib/go-1.19/src/testing/testing.go:1493 +0x35f
> FAIL  github.com/micromdm/scep/cryptoutil     0.004s
> === RUN   TestCreateCertificateRequest
> --- PASS: TestCreateCertificateRequest (0.02s)
> PASS
> ok    github.com/micromdm/scep/cryptoutil/x509util    0.021s
> ?     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.03s)
> === RUN   TestDepot_writeSerial
> --- PASS: TestDepot_writeSerial (0.01s)
> === RUN   TestDepot_incrementSerial
> --- PASS: TestDepot_incrementSerial (0.01s)
> === RUN   TestDepot_CreateOrLoadKey
> --- PASS: TestDepot_CreateOrLoadKey (0.06s)
> === RUN   TestDepot_CreateOrLoadCA
> --- PASS: TestDepot_CreateOrLoadCA (0.04s)
> PASS
> ok    github.com/micromdm/scep/depot/bolt     0.145s
> ?     github.com/micromdm/scep/depot/file     [no test files]
> === RUN   TestFingerprintCertsSelector
> === RUN   TestFingerprintCertsSelector/null_SHA-256_hash
> === PAUSE TestFingerprintCertsSelector/null_SHA-256_hash
> === RUN   TestFingerprintCertsSelector/3_byte_SHA-256_hash
> === PAUSE TestFingerprintCertsSelector/3_byte_SHA-256_hash
> === RUN   TestFingerprintCertsSelector/mismatched_hash
> === PAUSE TestFingerprintCertsSelector/mismatched_hash
> === CONT  TestFingerprintCertsSelector/null_SHA-256_hash
> === CONT  TestFingerprintCertsSelector/mismatched_hash
> === CONT  TestFingerprintCertsSelector/3_byte_SHA-256_hash
> --- PASS: TestFingerprintCertsSelector (0.00s)
>     --- PASS: TestFingerprintCertsSelector/null_SHA-256_hash (0.00s)
>     --- PASS: TestFingerprintCertsSelector/mismatched_hash (0.00s)
>     --- PASS: TestFingerprintCertsSelector/3_byte_SHA-256_hash (0.00s)
> === 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
> --- PASS: TestParsePKIEnvelopeCert_MissingCertificatesForSigners (0.00s)
> === RUN   TestDecryptPKIEnvelopeCSR
> --- PASS: TestDecryptPKIEnvelopeCSR (0.02s)
> === RUN   TestDecryptPKIEnvelopeCert
> --- PASS: TestDecryptPKIEnvelopeCert (0.00s)
> === RUN   TestSignCSR
> --- PASS: TestSignCSR (0.04s)
> === 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_is_set_with_Encipherment_certificates_selector
> === CONT  
> TestNewCSRRequest/KeyEncipherment_is_set_with_NOP_certificates_selector
> === CONT  
> TestNewCSRRequest/KeyEncipherment_not_set_with_Encipherment_certificates_selector
> --- PASS: TestNewCSRRequest (0.00s)
>     --- PASS: 
> TestNewCSRRequest/KeyEncipherment_is_set_with_Encipherment_certificates_selector
>  (0.45s)
>     --- PASS: 
> TestNewCSRRequest/KeyEncipherment_not_set_with_Encipherment_certificates_selector
>  (0.60s)
>     --- PASS: 
> TestNewCSRRequest/KeyEncipherment_is_set_with_NOP_certificates_selector 
> (0.62s)
>     --- PASS: 
> TestNewCSRRequest/KeyEncipherment_not_set_with_NOP_certificates_selector 
> (0.65s)
> PASS
> ok    github.com/micromdm/scep/scep   0.713s
> === RUN   TestChallengeMiddleware
> --- PASS: TestChallengeMiddleware (0.00s)
> === RUN   TestCaCert
> --- PASS: TestCaCert (0.49s)
> === 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
> --- PASS: TestPKIOperation (0.02s)
> === RUN   TestPKIOperationGET
> --- PASS: TestPKIOperationGET (0.02s)
> PASS
> ok    github.com/micromdm/scep/server 0.536s
> 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/08/13/golang-github-micromdm-scep_2.1.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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