Public bug reported:
The autopkgtest of golang-github-avast-apkverifier sets
GODEBUG=x509sha1=1 in debian/tests/control. Go 1.27 removed the x509sha1
GODEBUG knob entirely (SHA-1 certificate support was dropped), and setting a
removed GODEBUG is a fatal runtime error:
fatal error: removed GODEBUG "x509sha1" set to old value "1" in environment
(https://go.dev/doc/godebug#go-124)
so the test binary dies at startup and the autopkgtest fails on all
architectures. This currently blocks the golang-defaults 2:1.27~0ubuntu1
(Go 1.27 default) migration from stonking-proposed.
The GODEBUG setting was a temporary workaround added in March 2022
(0.0~git20191015.7330a51-8) for SHA-1 test certificates. The upstream test
suite now passes without it under both Go 1.26 and Go 1.27, so the fix is
simply to drop it.
Fix uploaded to ppa:levihackerman-102/1.27-transition as
0.0~git20191015.7330a51-11ubuntu0.1~ppa1 and built green; merge proposal
attached. This is part of the Go 1.27 transition (LP: #2164597).
** Affects: golang-github-avast-apkverifier (Ubuntu)
Importance: Undecided
Status: New
** Tags: ftbfs go1.27
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2164976
Title:
autopkgtest fails with Go 1.27: GODEBUG=x509sha1=1 was removed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-github-avast-apkverifier/+bug/2164976/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs