[pkg-go] Bug#997130: acmetool: FTBFS: util_test.go:24: error: x509: signature over certificate returned by signer is invalid: crypto/rsa: verification error
Lucas Nussbaum
lucas at debian.org
Sat Oct 23 19:57:07 BST 2021
Source: acmetool
Version: 0.2.1-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
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/hlandau/acmetool/hooks.DefaultPath=/etc/acme/hooks -X github.com/hlandau/buildinfo.RawBuildInfo=YWNtZXRvb2wgRGViaWFuIHZlcnNpb24gMC4yLjEtNA=="
> cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 -ldflags "-X github.com/hlandau/acmetool/hooks.DefaultPath=/etc/acme/hooks -X github.com/hlandau/buildinfo.RawBuildInfo=YWNtZXRvb2wgRGViaWFuIHZlcnNpb24gMC4yLjEtNA==" github.com/hlandau/acmetool github.com/hlandau/acmetool/cli github.com/hlandau/acmetool/cmd/acmetool github.com/hlandau/acmetool/fdb github.com/hlandau/acmetool/hooks github.com/hlandau/acmetool/interaction github.com/hlandau/acmetool/redirector github.com/hlandau/acmetool/responder github.com/hlandau/acmetool/responder/reshttp github.com/hlandau/acmetool/solver github.com/hlandau/acmetool/storage github.com/hlandau/acmetool/storageops github.com/hlandau/acmetool/util
> internal/unsafeheader
> internal/goexperiment
> internal/abi
> internal/cpu
> runtime/internal/atomic
> runtime/internal/sys
> runtime/internal/math
> internal/race
> sync/atomic
> unicode
> internal/bytealg
> unicode/utf8
> crypto/internal/subtle
> crypto/subtle
> math/bits
> internal/itoa
> runtime
> math
> internal/nettrace
> golang.org/x/sys/internal/unsafeheader
> github.com/rivo/uniseg
> container/list
> unicode/utf16
> vendor/golang.org/x/crypto/cryptobyte/asn1
> vendor/golang.org/x/crypto/internal/subtle
> encoding
> gopkg.in/hlandau/service.v2/gsptcall
> internal/reflectlite
> sync
> internal/testlog
> internal/singleflight
> math/rand
> gopkg.in/hlandau/configurable.v1
> runtime/cgo
> errors
> sort
> io
> strconv
> internal/oserror
> bytes
> strings
> reflect
> syscall
> bufio
> path
> hash
> crypto
> vendor/golang.org/x/net/dns/dnsmessage
> internal/syscall/unix
> time
> internal/syscall/execenv
> regexp/syntax
> github.com/shiena/ansicolor
> encoding/binary
> internal/fmtsort
> github.com/mitchellh/go-wordwrap
> io/fs
> internal/poll
> crypto/cipher
> context
> crypto/sha1
> regexp
> golang.org/x/sys/unix
> crypto/aes
> os
> crypto/des
> github.com/hlandau/goutils/text
> crypto/elliptic/internal/fiat
> crypto/internal/randutil
> crypto/sha512
> crypto/ed25519/internal/edwards25519/field
> fmt
> io/ioutil
> net
> path/filepath
> math/big
> encoding/hex
> os/exec
> os/user
> log
> github.com/coreos/go-systemd/unit
> github.com/hlandau/goutils/os
> github.com/mattn/go-isatty
> github.com/hlandau/xlog
> crypto/rand
> github.com/hlandau/acmetool/hooks
> github.com/mattn/go-runewidth
> os/signal
> gopkg.in/hlandau/svcutils.v1/chroot
> gopkg.in/hlandau/svcutils.v1/passwd
> gopkg.in/cheggaaa/pb.v1
> github.com/hlandau/acmetool/interaction
> crypto/elliptic
> encoding/asn1
> crypto/ed25519/internal/edwards25519
> vendor/golang.org/x/crypto/cryptobyte
> crypto/ed25519
> crypto/hmac
> crypto/md5
> crypto/rc4
> crypto/rsa
> crypto/ecdsa
> crypto/sha256
> crypto/dsa
> crypto/x509/pkix
> encoding/base64
> net/url
> vendor/golang.org/x/crypto/chacha20
> encoding/pem
> vendor/golang.org/x/crypto/poly1305
> vendor/golang.org/x/sys/cpu
> vendor/golang.org/x/crypto/curve25519
> vendor/golang.org/x/crypto/hkdf
> vendor/golang.org/x/crypto/chacha20poly1305
> crypto/x509
> github.com/godbus/dbus
> 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
> crypto/tls
> vendor/golang.org/x/text/secure/bidirule
> net/textproto
> vendor/golang.org/x/net/http2/hpack
> vendor/golang.org/x/net/idna
> mime
> github.com/coreos/go-systemd/dbus
> vendor/golang.org/x/net/http/httpguts
> vendor/golang.org/x/net/http/httpproxy
> mime/quotedprintable
> mime/multipart
> net/http/internal
> net/http/internal/ascii
> html
> encoding/json
> golang.org/x/text/transform
> golang.org/x/text/unicode/bidi
> golang.org/x/text/unicode/norm
> net/http/httptrace
> golang.org/x/text/secure/bidirule
> net/http
> github.com/hlandau/goutils/net
> gopkg.in/square/go-jose.v1/cipher
> gopkg.in/square/go-jose.v1/json
> encoding/base32
> database/sql/driver
> golang.org/x/net/idna
> github.com/gofrs/uuid
> github.com/hlandau/acmetool/fdb
> github.com/hlandau/acmetool/util
> github.com/hlandau/goutils/clock
> gopkg.in/square/go-jose.v1
> golang.org/x/crypto/ocsp
> golang.org/x/crypto/ed25519
> golang.org/x/crypto/pbkdf2
> gopkg.in/square/go-jose.v2/cipher
> gopkg.in/square/go-jose.v2/json
> gopkg.in/yaml.v2
> gopkg.in/hlandau/acmeapi.v2/acmeutils
> gopkg.in/square/go-jose.v2
> golang.org/x/net/context
> net/mail
> github.com/jmhodges/clock
> gopkg.in/hlandau/acmeapi.v2/acmeendpoints
> github.com/coreos/go-systemd/journal
> gopkg.in/hlandau/easyconfig.v1/cflag
> github.com/hlandau/buildinfo
> gopkg.in/hlandau/svcutils.v1/exepath
> gopkg.in/hlandau/svcutils.v1/systemd
> log/syslog
> github.com/alecthomas/units
> go/token
> internal/lazyregexp
> github.com/hlandau/dexlogconfig
> text/template/parse
> flag
> go/scanner
> go/ast
> github.com/ogier/pflag
> text/template
> gopkg.in/hlandau/svcutils.v1/caps
> gopkg.in/tylerb/graceful.v1
> github.com/peterhellberg/link
> github.com/hlandau/acmetool/redirector
> github.com/hlandau/acmetool/responder/reshttp
> golang.org/x/net/context/ctxhttp
> github.com/hlandau/acmetool/responder
> gopkg.in/hlandau/acmeapi.v2
> go/doc
> expvar
> gopkg.in/hlandau/svcutils.v1/dupfd
> gopkg.in/hlandau/svcutils.v1/setuid
> gopkg.in/hlandau/service.v2/daemon/bansuid
> gopkg.in/hlandau/svcutils.v1/pidfile
> gopkg.in/alecthomas/kingpin.v2
> github.com/hlandau/acmetool/storage
> github.com/hlandau/acmetool/solver
> internal/profile
> github.com/hlandau/acmetool/storageops
> gopkg.in/hlandau/service.v2/daemon
> text/tabwriter
> runtime/trace
> runtime/pprof
> net/http/pprof
> gopkg.in/hlandau/easyconfig.v1/adaptflag
> gopkg.in/hlandau/service.v2
> github.com/hlandau/acmetool/cli
> github.com/hlandau/acmetool
> github.com/hlandau/acmetool/cmd/acmetool
> 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/hlandau/acmetool github.com/hlandau/acmetool/cli github.com/hlandau/acmetool/cmd/acmetool github.com/hlandau/acmetool/fdb github.com/hlandau/acmetool/hooks github.com/hlandau/acmetool/interaction github.com/hlandau/acmetool/redirector github.com/hlandau/acmetool/responder github.com/hlandau/acmetool/responder/reshttp github.com/hlandau/acmetool/solver github.com/hlandau/acmetool/storage github.com/hlandau/acmetool/storageops github.com/hlandau/acmetool/util
> ? github.com/hlandau/acmetool [no test files]
> ? github.com/hlandau/acmetool/cli [no test files]
> ? github.com/hlandau/acmetool/cmd/acmetool [no test files]
> === RUN TestFDB
> 20211023073605 [DEBUG] fdb: enforce permissions: alpha/foo/x/xyz 1001/1001 1001/1001
> 20211023073605 [DEBUG] fdb: enforce permissions: alpha/nak 1001/1001 1001/1001
> 20211023073605 [DEBUG] fdb: enforce permissions: alpha/foo/x/xyz1 1001/1001 1001/1001
> 20211023073605 [DEBUG] fdb: enforce permissions: tmp/symlink.465778131 1001/1001 1001/1001
> 20211023073605 [WARN] fdb: broken symlink, removing: /tmp/acmefdbtest1856123617/alpha/foo/x/lnk -> xyz
> --- PASS: TestFDB (0.00s)
> === RUN TestParsePerm
> --- PASS: TestParsePerm (0.00s)
> PASS
> ok github.com/hlandau/acmetool/fdb 0.010s
> === RUN TestNotify
> 20211023073605 [DEBUG] acme.hooks: calling hook script: /tmp/acme-notify-test2157341610/notify1/alpha
> 20211023073605 [DEBUG] acme.hooks: calling hook script: /tmp/acme-notify-test2157341610/notify1/beta
> 20211023073605 [DEBUG] acme.hooks: calling hook script: /tmp/acme-notify-test2157341610/notify1/alpha
> 20211023073605 [DEBUG] acme.hooks: calling hook script: /tmp/acme-notify-test2157341610/notify1/beta
> --- PASS: TestNotify (0.05s)
> PASS
> ok github.com/hlandau/acmetool/hooks 0.065s
> ? github.com/hlandau/acmetool/interaction [no test files]
> === RUN TestRedirector
> 20211023073609 [DEBUG] acme.redirector: redirector running
> --- PASS: TestRedirector (0.00s)
> PASS
> ok github.com/hlandau/acmetool/redirector 0.008s
> ? github.com/hlandau/acmetool/responder [no test files]
> ? github.com/hlandau/acmetool/responder/reshttp [no test files]
> ? github.com/hlandau/acmetool/solver [no test files]
> === RUN TestKeyID
> util_test.go:24: error: x509: signature over certificate returned by signer is invalid: crypto/rsa: verification error
> --- FAIL: TestKeyID (0.09s)
> FAIL
> FAIL github.com/hlandau/acmetool/storage 0.092s
> ? github.com/hlandau/acmetool/storageops [no test files]
> ? github.com/hlandau/acmetool/util [no test files]
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/hlandau/acmetool github.com/hlandau/acmetool/cli github.com/hlandau/acmetool/cmd/acmetool github.com/hlandau/acmetool/fdb github.com/hlandau/acmetool/hooks github.com/hlandau/acmetool/interaction github.com/hlandau/acmetool/redirector github.com/hlandau/acmetool/responder github.com/hlandau/acmetool/responder/reshttp github.com/hlandau/acmetool/solver github.com/hlandau/acmetool/storage github.com/hlandau/acmetool/storageops github.com/hlandau/acmetool/util returned exit code 1
> make: *** [debian/rules:11: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/acmetool_0.2.1-4_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.
More information about the Pkg-go-maintainers
mailing list