Package: src:golang-1.19
Version: 1.19.8-2
Severity: serious
Tags: ftbfs bookworm
Dear maintainer:
During a rebuild of all packages in bookworm, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# remove autogenerated files
rm -f -v src/cmd/cgo/zdefaultcc.go src/cmd/go/internal/cfg/zdefaultcc.go
src/cmd/go/internal/cfg/zosarch.go src/cmd/internal/objabi/zbootstrap.go
src/go/build/zcgo.go src/internal/buildcfg/zbootstrap.go
src/runtime/internal/sys/zversion.go
# remove built objects
rm -rf bin pkg
# remove generated files
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_build-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
[ -f VERSION ] || echo "debian snapshot 1.19.8-2" > VERSION
# on i386, need to rebuild with go1.16 for GO386=softfloat
export GOROOT_BOOTSTRAP=$(env -i GOPATH=/<<PKGBUILDDIR>>/gopath/ go env GOROOT)
\
&& if [ "amd64" = "i386" ] && dpkg --compare-versions $(GOROOT_BOOTSTRAP=/usr
./debian/helpers/goenv.sh echo '$GOVERSION_BOOTSTRAP') lt "1.16"; then \
mkdir -p /<<PKGBUILDDIR>>/bootstrap \
&& cp -Rp /<<PKGBUILDDIR>>/src bootstrap/ \
&& cp -Rp /<<PKGBUILDDIR>>/VERSION bootstrap/ \
&& cd /<<PKGBUILDDIR>>/bootstrap/src \
&& /<<PKGBUILDDIR>>/debian/helpers/goenv.sh bash ./make.bash
--no-banner \
&& export GOROOT_BOOTSTRAP=/<<PKGBUILDDIR>>/bootstrap; \
fi \
&& cd /<<PKGBUILDDIR>>/src \
&& /<<PKGBUILDDIR>>/debian/helpers/goenv.sh bash ./make.bash --no-banner
Building Go cmd/dist using /usr/lib/go-1.19. (go1.19.8 linux/amd64)
Building Go toolchain1 using /usr/lib/go-1.19.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for linux/amd64.
# rm bootstrap dir
rm -rf /<<PKGBUILDDIR>>/bootstrap
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
set -ex; \
cd src; \
export PATH="/<<PKGBUILDDIR>>/bin:$PATH"; \
export GO_TEST_TIMEOUT_SCALE=10; \
eval "$(go tool dist env)"; \
bash run.bash -k -no-rebuild;
+ cd src
+ export
PATH=/<<PKGBUILDDIR>>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
+ export GO_TEST_TIMEOUT_SCALE=10
+ go tool dist env
+ eval GO111MODULE=""
GOARCH="amd64"
GOBIN="/<<PKGBUILDDIR>>/bin"
GOCACHE="/<<PKGBUILDDIR>>/pkg/obj/go-build"
GODEBUG=""
GOENV="off"
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/<<PKGBUILDDIR>>"
GOTMPDIR=""
GOTOOLDIR="/<<PKGBUILDDIR>>/pkg/tool/linux_amd64"
GOAMD64="v1"
GOWORK="off"
+ GO111MODULE=
+ GOARCH=amd64
+ GOBIN=/<<PKGBUILDDIR>>/bin
+ GOCACHE=/<<PKGBUILDDIR>>/pkg/obj/go-build
+ GODEBUG=
+ GOENV=off
+ GOFLAGS=
+ GOHOSTARCH=amd64
+ GOHOSTOS=linux
+ GOOS=linux
+ GOPROXY=https://proxy.golang.org,direct
+ GOROOT=/<<PKGBUILDDIR>>
+ GOTMPDIR=
+ GOTOOLDIR=/<<PKGBUILDDIR>>/pkg/tool/linux_amd64
+ GOAMD64=v1
+ GOWORK=off
+ bash run.bash -k -no-rebuild
ok archive/tar 0.108s
ok archive/zip 0.048s
ok bufio 0.042s
ok bytes 0.066s
ok compress/bzip2 0.025s
ok compress/flate 0.414s
ok compress/gzip 0.726s
ok compress/lzw 0.003s
ok compress/zlib 0.009s
ok container/heap 0.002s
ok container/list 0.001s
ok container/ring 0.002s
ok context 0.011s
ok crypto 0.001s
ok crypto/aes 0.009s
ok crypto/cipher 0.005s
ok crypto/des 0.003s
ok crypto/dsa 0.002s
ok crypto/ecdsa 0.004s
ok crypto/ed25519 0.028s
ok crypto/elliptic 0.005s
ok crypto/hmac 0.002s
ok crypto/internal/boring 0.001s
ok crypto/internal/boring/bcache 0.108s
ok crypto/internal/edwards25519 2.212s
ok crypto/internal/edwards25519/field 1.895s
ok crypto/internal/nistec 0.710s
ok crypto/internal/nistec/fiat 0.001s [no tests to run]
ok crypto/internal/subtle 0.001s
ok crypto/md5 0.004s
ok crypto/rand 0.013s
ok crypto/rc4 0.013s
ok crypto/rsa 0.051s
ok crypto/sha1 0.010s
ok crypto/sha256 0.002s
ok crypto/sha512 0.003s
ok crypto/subtle 0.002s
--- FAIL: TestVerifyConnection (0.00s)
--- FAIL: TestVerifyConnection/TLSv12 (0.00s)
handshake_client_test.go:1721:
RequireAndVerifyClientCert-FullHandshake: handshake failed: remote error: tls:
bad certificate
--- FAIL: TestVerifyConnection/TLSv13 (0.00s)
handshake_client_test.go:1721:
RequireAndVerifyClientCert-FullHandshake: handshake failed: remote error: tls:
bad certificate
--- FAIL: TestResumptionKeepsOCSPAndSCT (0.00s)
--- FAIL: TestResumptionKeepsOCSPAndSCT/TLSv12 (0.00s)
handshake_client_test.go:2512: handshake failed: remote error: tls: bad
certificate
--- FAIL: TestResumptionKeepsOCSPAndSCT/TLSv13 (0.00s)
handshake_client_test.go:2512: handshake failed: remote error: tls: bad
certificate
FAIL
FAIL crypto/tls 0.210s
ok crypto/x509 0.231s
ok database/sql 0.243s
ok database/sql/driver 0.001s
ok debug/buildinfo 0.001s
ok debug/dwarf 0.009s
ok debug/elf 0.016s
ok debug/gosym 0.098s
ok debug/macho 0.002s
ok debug/pe 0.006s
ok debug/plan9obj 0.005s
ok embed 0.002s [no tests to run]
ok embed/internal/embedtest 0.002s
ok encoding/ascii85 0.002s
ok encoding/asn1 0.002s
ok encoding/base32 0.007s
ok encoding/base64 0.002s
ok encoding/binary 0.002s
ok encoding/csv 0.004s
ok encoding/gob 0.017s
ok encoding/hex 0.004s
ok encoding/json 0.066s
ok encoding/pem 0.132s
ok encoding/xml 0.017s
ok errors 0.004s
ok expvar 0.002s
ok flag 0.023s
ok fmt 0.030s
ok go/ast 0.004s
ok go/build 0.737s
ok go/build/constraint 0.002s
ok go/constant 0.002s
ok go/doc 0.022s
ok go/doc/comment 0.432s
ok go/format 0.003s
ok go/importer 0.024s
ok go/internal/gccgoimporter 0.004s
ok go/internal/gcimporter 3.365s
ok go/internal/srcimporter 3.398s
ok go/parser 0.117s
ok go/printer 0.114s
ok go/scanner 0.002s
ok go/token 0.006s
ok go/types 1.487s
ok hash 0.002s
ok hash/adler32 0.006s
ok hash/crc32 0.007s
ok hash/crc64 0.007s
ok hash/fnv 0.001s
ok hash/maphash 0.057s
ok html 0.003s
ok html/template 0.033s
ok image 0.023s
ok image/color 0.010s
ok image/draw 0.039s
ok image/gif 7.925s
ok image/jpeg 1.448s
ok image/png 0.114s
ok index/suffixarray 0.068s
ok internal/abi 0.017s
ok internal/buildcfg 0.001s
ok internal/cpu 0.004s
ok internal/diff 0.002s
ok internal/fmtsort 0.001s
ok internal/fuzz 0.003s
ok internal/godebug 0.001s
ok internal/intern 0.149s
ok internal/itoa 0.001s
ok internal/poll 0.085s
ok internal/profile 0.002s
ok internal/reflectlite 0.031s
ok internal/safefilepath 0.001s
ok internal/singleflight 0.012s
ok internal/trace 0.027s
ok internal/unsafeheader 0.002s
ok internal/xcoff 0.004s
ok io 0.020s
ok io/fs 0.178s
ok io/ioutil 0.008s
ok log 0.003s
ok log/syslog 1.214s
ok math 0.003s
ok math/big 0.550s
ok math/bits 0.003s
ok math/cmplx 0.002s
ok math/rand 0.048s
ok mime 0.003s
ok mime/multipart 0.267s
ok mime/quotedprintable 0.003s
ok net 3.256s
ok net/http 8.941s
ok net/http/cgi 0.138s
ok net/http/cookiejar 0.003s
ok net/http/fcgi 0.103s
ok net/http/httptest 0.016s
ok net/http/httptrace 0.002s
ok net/http/httputil 0.553s
ok net/http/internal 0.001s
ok net/http/internal/ascii 0.001s
ok net/http/pprof 4.050s
ok net/internal/socktest 0.001s
ok net/mail 0.002s
ok net/netip 0.231s
ok net/rpc 0.027s
ok net/rpc/jsonrpc 0.003s
ok net/smtp 0.006s
ok net/textproto 0.006s
ok net/url 0.003s
ok os 0.714s
ok os/exec 0.516s
ok os/exec/internal/fdtest 0.001s
ok os/signal 22.443s
ok os/user 0.002s
ok path 0.002s
ok path/filepath 0.017s
ok plugin 0.002s
ok reflect 0.076s
ok regexp 0.023s
ok regexp/syntax 0.271s
ok runtime 28.616s
ok runtime/cgo 0.002s
ok runtime/debug 0.020s
ok runtime/internal/atomic 0.006s
ok runtime/internal/math 0.001s
ok runtime/internal/sys 0.001s
ok runtime/metrics 0.001s
ok runtime/pprof 6.638s
ok runtime/trace 1.447s
ok sort 0.063s
ok strconv 0.164s
ok strings 0.045s
ok sync 0.265s
ok sync/atomic 0.129s
ok syscall 0.039s
ok testing 0.491s
ok testing/fstest 0.002s
ok testing/iotest 0.001s
ok testing/quick 0.014s
ok text/scanner 0.002s
ok text/tabwriter 0.002s
ok text/template 0.012s
ok text/template/parse 0.004s
ok time 1.947s
ok unicode 0.010s
ok unicode/utf16 0.001s
ok unicode/utf8 0.002s
ok cmd/addr2line 0.391s
ok cmd/api 6.136s
ok cmd/asm/internal/asm 0.382s
ok cmd/asm/internal/lex 0.003s
ok cmd/compile/internal/abt 0.010s
ok cmd/compile/internal/amd64 1.852s
ok cmd/compile/internal/dwarfgen 0.182s
ok cmd/compile/internal/importer 0.158s
ok cmd/compile/internal/ir 0.002s
ok cmd/compile/internal/logopt 0.133s
ok cmd/compile/internal/noder 0.002s
ok cmd/compile/internal/reflectdata 0.002s [no tests to run]
ok cmd/compile/internal/ssa 13.613s
ok cmd/compile/internal/syntax 0.013s
ok cmd/compile/internal/test 4.026s
ok cmd/compile/internal/typecheck 0.292s
ok cmd/compile/internal/types 0.015s
ok cmd/compile/internal/types2 0.471s
ok cmd/cover 1.384s
ok cmd/dist 0.007s
ok cmd/doc 0.116s
ok cmd/fix 2.176s
ok cmd/go 58.526s
ok cmd/go/internal/auth 0.004s
ok cmd/go/internal/cache 0.141s
ok cmd/go/internal/fsys 0.030s
ok cmd/go/internal/generate 0.008s
ok cmd/go/internal/get 0.012s
ok cmd/go/internal/imports 0.014s
ok cmd/go/internal/load 0.012s
ok cmd/go/internal/lockedfile 0.073s
ok cmd/go/internal/lockedfile/internal/filelock 0.036s
ok cmd/go/internal/modconv 0.013s
ok cmd/go/internal/modfetch 0.006s
ok cmd/go/internal/modfetch/codehost 0.008s
ok cmd/go/internal/modfetch/zip_sum_test 0.003s
ok cmd/go/internal/modindex 0.093s
ok cmd/go/internal/modload 0.011s
ok cmd/go/internal/mvs 0.006s
ok cmd/go/internal/par 0.010s
ok cmd/go/internal/search 0.002s
ok cmd/go/internal/str 0.010s
ok cmd/go/internal/test 0.007s
ok cmd/go/internal/vcs 0.010s
ok cmd/go/internal/web 0.007s
ok cmd/go/internal/work 0.008s
ok cmd/gofmt 0.066s
ok cmd/internal/archive 0.434s
ok cmd/internal/buildid 0.125s
ok cmd/internal/dwarf 0.002s
ok cmd/internal/edit 0.004s
ok cmd/internal/goobj 0.004s
ok cmd/internal/moddeps 1.759s
ok cmd/internal/notsha256 0.012s
ok cmd/internal/obj 1.158s
ok cmd/internal/obj/ppc64 0.175s
ok cmd/internal/obj/riscv 0.064s
ok cmd/internal/obj/s390x 0.018s
ok cmd/internal/obj/x86 0.166s
ok cmd/internal/objabi 0.002s
ok cmd/internal/pkgpath 0.011s
ok cmd/internal/quoted 0.002s
ok cmd/internal/src 0.004s
ok cmd/internal/sys 0.003s
ok cmd/internal/test2json 0.070s
ok cmd/link 8.777s
ok cmd/link/internal/benchmark 0.002s
ok cmd/link/internal/ld 4.426s
ok cmd/link/internal/loader 0.013s
ok cmd/nm 1.755s
ok cmd/objdump 2.200s
ok cmd/pack 0.920s
ok cmd/pprof 1.930s
ok cmd/trace 0.238s
ok cmd/vet 3.684s
FAIL
2025/05/19 05:28:33 Failed: exit status 1
ok runtime 14.938s
ok net 0.012s
ok os/user 0.010s
ok sync 0.308s
PASS
ok misc/cgo/test 5.246s
ok misc/cgo/test 5.167s
ok misc/cgo/test 5.438s
ok misc/cgo/testtls 0.004s
ok misc/cgo/testtls 0.002s
ok misc/cgo/testtls 0.007s
ok misc/cgo/nocgo 0.002s
ok misc/cgo/nocgo 0.008s
ok misc/cgo/nocgo 0.011s
ok misc/cgo/test 6.158s
ok misc/cgo/test 7.240s
ok misc/cgo/test 6.713s
ok misc/cgo/test 6.851s
ok misc/cgo/testtls 0.007s
ok misc/cgo/nocgo 0.004s
ok misc/cgo/testso 0.501s
SKIP - short mode and $GO_BUILDER_NAME not set
ok misc/cgo/testshared 24.658s
ok testasan 1.075s
PASS
FAILED
make[1]: *** [debian/rules:70: override_dh_auto_test-arch] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:35: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/bookworm/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:golang-1.19, so that this is still
visible in the BTS web page for this package.
Thanks.