#1150626 golang-honnef-go-tools: FTBFS: --- FAIL: TestTestdata/go1.22 (0.08s)

#1150626#5
Date:
2026-10-11 13:52:01 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

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 cannot 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-honnef-go-tools, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
=== RUN   TestTestdata/go1.22
    util.go:118: failed checking math:
        internal error in importing "internal/cpu" (cannot decode "internal/cpu", export data version 5 is greater than maximum supported version 4); please report an issue
--- FAIL: TestTestdata (0.20s)
    --- FAIL: TestTestdata/go1.0 (0.09s)
    --- FAIL: TestTestdata/go1.22 (0.08s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa4030	0.199s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.06s)
    --- PASS: TestTestdata/go1.0 (0.03s)
PASS
ok  	honnef.co/go/tools/staticcheck/sa4031	0.066s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package runtime, but got no errors
--- FAIL: TestTestdata (0.11s)
    --- FAIL: TestTestdata/go1.0 (0.08s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa4032	0.109s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package internal/runtime/cgroup, but got no errors
--- FAIL: TestTestdata (0.21s)
    --- FAIL: TestTestdata/go1.0 (0.18s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa5000	0.209s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package internal/poll, but got no errors
--- FAIL: TestTestdata (0.14s)
    --- FAIL: TestTestdata/go1.0 (0.12s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa5001	0.147s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.06s)
    --- PASS: TestTestdata/go1.0 (0.03s)
PASS
ok  	honnef.co/go/tools/staticcheck/sa5002	0.061s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.05s)
    --- PASS: TestTestdata/go1.0 (0.03s)
PASS
ok  	honnef.co/go/tools/staticcheck/sa5003	0.056s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.05s)
    --- PASS: TestTestdata/go1.0 (0.03s)
PASS
ok  	honnef.co/go/tools/staticcheck/sa5004	0.058s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:118: failed checking internal/runtime/syscall/linux:
        internal error in importing "internal/goarch" (cannot decode "internal/goarch", export data version 5 is greater than maximum supported version 4); please report an issue
--- FAIL: TestTestdata (0.19s)
    --- FAIL: TestTestdata/go1.0 (0.17s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa5005	0.194s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.05s)
    --- PASS: TestTestdata/go1.0 (0.03s)
PASS
ok  	honnef.co/go/tools/staticcheck/sa5007	0.057s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package example.com/CheckStructTags, but got no errors
=== RUN   TestTestdata/go1.18
--- FAIL: TestTestdata (0.21s)
    --- FAIL: TestTestdata/go1.0 (0.16s)
    --- PASS: TestTestdata/go1.18 (0.02s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa5008	0.212s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package fmt, but got no errors
--- FAIL: TestTestdata (0.23s)
    --- FAIL: TestTestdata/go1.0 (0.21s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa5009	0.233s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package internal/runtime/exithook, but got no errors
=== RUN   TestTestdata/go1.18
--- FAIL: TestTestdata (0.22s)
    --- FAIL: TestTestdata/go1.0 (0.17s)
    --- PASS: TestTestdata/go1.18 (0.03s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa5010	0.228s
=== RUN   TestTestdata
    sa5011_test.go:10: check has been disabled
--- SKIP: TestTestdata (0.00s)
PASS
ok  	honnef.co/go/tools/staticcheck/sa5011	0.002s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:118: failed checking internal/runtime/sys:
        internal error in importing "internal/goarch" (cannot decode "internal/goarch", export data version 5 is greater than maximum supported version 4); please report an issue
--- FAIL: TestTestdata (0.23s)
    --- FAIL: TestTestdata/go1.0 (0.21s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa5012	0.237s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package slices, but got no errors
--- FAIL: TestTestdata (0.17s)
    --- FAIL: TestTestdata/go1.0 (0.14s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa6000	0.171s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
=== RUN   TestTestdata/go1.18
--- PASS: TestTestdata (0.08s)
    --- PASS: TestTestdata/go1.0 (0.03s)
    --- PASS: TestTestdata/go1.18 (0.03s)
PASS
ok  	honnef.co/go/tools/staticcheck/sa6001	0.083s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package sync, but got no errors
--- FAIL: TestTestdata (0.12s)
    --- FAIL: TestTestdata/go1.0 (0.10s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa6002	0.126s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
=== RUN   TestTestdata/go1.18
--- PASS: TestTestdata (0.08s)
    --- PASS: TestTestdata/go1.0 (0.03s)
    --- PASS: TestTestdata/go1.18 (0.03s)
PASS
ok  	honnef.co/go/tools/staticcheck/sa6003	0.083s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package sync, but got no errors
--- FAIL: TestTestdata (0.16s)
    --- FAIL: TestTestdata/go1.0 (0.14s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa6005	0.163s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package internal/runtime/exithook, but got no errors
--- FAIL: TestTestdata (0.11s)
    --- FAIL: TestTestdata/go1.0 (0.09s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa6006	0.113s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
=== RUN   TestTestdata/go1.18
--- PASS: TestTestdata (0.07s)
    --- PASS: TestTestdata/go1.0 (0.03s)
    --- PASS: TestTestdata/go1.18 (0.02s)
PASS
ok  	honnef.co/go/tools/staticcheck/sa9001	0.075s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:118: failed checking internal/runtime/gc:
        internal error in importing "internal/goarch" (cannot decode "internal/goarch", export data version 5 is greater than maximum supported version 4); please report an issue
--- FAIL: TestTestdata (0.15s)
    --- FAIL: TestTestdata/go1.0 (0.12s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa9002	0.149s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package internal/godebug, but got no errors
--- FAIL: TestTestdata (0.25s)
    --- FAIL: TestTestdata/go1.0 (0.23s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa9003	0.252s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.06s)
    --- PASS: TestTestdata/go1.0 (0.03s)
PASS
ok  	honnef.co/go/tools/staticcheck/sa9004	0.063s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package iter, but got no errors
--- FAIL: TestTestdata (0.23s)
    --- FAIL: TestTestdata/go1.0 (0.21s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa9005	0.233s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.06s)
    --- PASS: TestTestdata/go1.0 (0.03s)
PASS
ok  	honnef.co/go/tools/staticcheck/sa9006	0.058s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package os, but got no errors
--- FAIL: TestTestdata (0.19s)
    --- FAIL: TestTestdata/go1.0 (0.17s)
FAIL
FAIL	honnef.co/go/tools/staticcheck/sa9007	0.193s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.06s)
    --- PASS: TestTestdata/go1.0 (0.03s)
PASS
ok  	honnef.co/go/tools/staticcheck/sa9008	0.062s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.06s)
    --- PASS: TestTestdata/go1.0 (0.03s)
PASS
ok  	honnef.co/go/tools/staticcheck/sa9009	0.062s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
=== RUN   TestTestdata/go1.18
--- PASS: TestTestdata (0.10s)
    --- PASS: TestTestdata/go1.0 (0.04s)
    --- PASS: TestTestdata/go1.18 (0.03s)
PASS
ok  	honnef.co/go/tools/staticcheck/sa9010	0.103s
?   	honnef.co/go/tools/structlayout	[no test files]
?   	honnef.co/go/tools/stylecheck	[no test files]
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.08s)
    --- PASS: TestTestdata/go1.0 (0.06s)
PASS
ok  	honnef.co/go/tools/stylecheck/st1000	0.087s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package encoding/json/internal/jsonwire, but got no errors
--- FAIL: TestTestdata (0.25s)
    --- FAIL: TestTestdata/go1.0 (0.22s)
FAIL
FAIL	honnef.co/go/tools/stylecheck/st1001	0.250s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.06s)
    --- PASS: TestTestdata/go1.0 (0.04s)
PASS
ok  	honnef.co/go/tools/stylecheck/st1003	0.067s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:118: failed checking internal/runtime/sys:
        internal error in importing "internal/goarch" (cannot decode "internal/goarch", export data version 5 is greater than maximum supported version 4); please report an issue
--- FAIL: TestTestdata (0.11s)
    --- FAIL: TestTestdata/go1.0 (0.08s)
FAIL
FAIL	honnef.co/go/tools/stylecheck/st1005	0.112s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.05s)
    --- PASS: TestTestdata/go1.0 (0.03s)
PASS
ok  	honnef.co/go/tools/stylecheck/st1006	0.054s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
=== RUN   TestTestdata/go1.9
--- PASS: TestTestdata (0.07s)
    --- PASS: TestTestdata/go1.0 (0.02s)
    --- PASS: TestTestdata/go1.9 (0.02s)
PASS
ok  	honnef.co/go/tools/stylecheck/st1008	0.074s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package internal/reflectlite, but got no errors
--- FAIL: TestTestdata (0.12s)
    --- FAIL: TestTestdata/go1.0 (0.10s)
FAIL
FAIL	honnef.co/go/tools/stylecheck/st1011	0.124s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package strconv, but got no errors
--- FAIL: TestTestdata (0.19s)
    --- FAIL: TestTestdata/go1.0 (0.16s)
FAIL
FAIL	honnef.co/go/tools/stylecheck/st1012	0.191s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package crypto/internal/impl, but got no errors
--- FAIL: TestTestdata (0.25s)
    --- FAIL: TestTestdata/go1.0 (0.22s)
FAIL
FAIL	honnef.co/go/tools/stylecheck/st1013	0.248s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.06s)
    --- PASS: TestTestdata/go1.0 (0.03s)
PASS
ok  	honnef.co/go/tools/stylecheck/st1015	0.061s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.06s)
    --- PASS: TestTestdata/go1.0 (0.03s)
PASS
ok  	honnef.co/go/tools/stylecheck/st1016	0.069s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.05s)
    --- PASS: TestTestdata/go1.0 (0.02s)
PASS
ok  	honnef.co/go/tools/stylecheck/st1017	0.051s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.06s)
    --- PASS: TestTestdata/go1.0 (0.03s)
PASS
ok  	honnef.co/go/tools/stylecheck/st1018	0.063s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:118: failed checking internal/bytealg:
        internal error in importing "internal/cpu" (cannot decode "internal/cpu", export data version 5 is greater than maximum supported version 4); please report an issue
--- FAIL: TestTestdata (0.33s)
    --- FAIL: TestTestdata/go1.0 (0.31s)
FAIL
FAIL	honnef.co/go/tools/stylecheck/st1019	0.337s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package internal/oserror, but got no errors
=== RUN   TestTestdata/go1.18
--- FAIL: TestTestdata (0.27s)
    --- FAIL: TestTestdata/go1.0 (0.21s)
    --- PASS: TestTestdata/go1.18 (0.04s)
FAIL
FAIL	honnef.co/go/tools/stylecheck/st1020	0.276s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.06s)
    --- PASS: TestTestdata/go1.0 (0.03s)
PASS
ok  	honnef.co/go/tools/stylecheck/st1021	0.059s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
--- PASS: TestTestdata (0.06s)
    --- PASS: TestTestdata/go1.0 (0.04s)
PASS
ok  	honnef.co/go/tools/stylecheck/st1022	0.063s
=== RUN   TestTestdata
=== RUN   TestTestdata/go1.0
    util.go:120: failed processing package syscall, but got no errors
--- FAIL: TestTestdata (0.14s)
    --- FAIL: TestTestdata/go1.0 (0.11s)
FAIL
FAIL	honnef.co/go/tools/stylecheck/st1023	0.148s
=== RUN   TestAll
--- PASS: TestAll (1.16s)
PASS
ok  	honnef.co/go/tools/unused	1.170s
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2 - [too-long-redacted] ols/unused returned exit code 1
make[1]: *** [debian/rules:19: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1150626#10
Date:
2026-10-13 12:51:25 UTC
From:
To:
This FTBFS is not a bug in honnef.

The Go compiler stores type information in what it calls export data, and that
format is versioned. golang-1.27 2:1.27.2-1 started writing version 5. honnef's
tests read that data through golang-golang-x-tools, and 0.49.0 only understands
version 4, so they fail.

golang-golang-x-tools 1:0.52.0+ds-1 understands version 5 and is now in
unstable. With it, golang-honnef-go-tools 2026.2.1-2 builds unchanged in a clean
chroot: Status successful.

Juan

#1150626#15
Date:
2026-10-13 15:45:23 UTC
From:
To:
reassign 1150626 src:golang-golang-x-tools
affects 1150626 src:golang-honnef-go-tools
found 1150626 1:0.49.0+ds-1
close 1150626 1:0.52.0+ds-1
thanks

I have checked and yes, golang-honnef-go-tools builds ok again.

Thanks.