Commit 472464e3 authored by Levin Zimmermann's avatar Levin Zimmermann

component/golang: Fix compilation (expired certificates in tests)

golang tests fail because of https://github.com/golang/go/issues/71077.
This patch backports https://github.com/golang/go/commit/d1d93129506c78cc8ee25644384286822d93c81a.
go1.22 and go1.23 include this fix already [1].

/reported-by @romain

[1] https://go-review.googlesource.com/c/go/+/640315
parent 26d591ae
Pipeline #38896 failed with stage
in 0 seconds
......@@ -119,6 +119,9 @@ environment-extra =
url = https://golang.org/dl/go1.17.13.src.tar.gz
md5sum = 4476707f05cf6915ec1173038dc357a9
patches +=
${:_profile_base_location_}/crypto-tls-fix-Config.Time-in-tests-using-expired-ce-go-1-17.patch#26435b76ad4d6c07e8ed162b8f19b55a
# go1.17 needs go1.4 to bootstrap
environment-extra =
GOROOT_BOOTSTRAP=${golang14:location}
......@@ -128,6 +131,9 @@ environment-extra =
url = https://golang.org/dl/go1.18.10.src.tar.gz
md5sum = 002b4daec72ab396dc023a5ec445a68a
patches +=
${:_profile_base_location_}/crypto-tls-fix-Config.Time-in-tests-using-expired-ce-go-1-18.patch#309795d3c04295ee92e8f2a68613a0d3
# go1.18 needs go1.4 or go1.17 to bootstrap.
# We use go1.4 to reduce the amount of components which
# need to be installed. See following note for rationale:
......@@ -143,6 +149,9 @@ md5sum = 71103194b2ca39cc9cb943df9aa6154c
environment-extra =
GOROOT_BOOTSTRAP=${golang1.17:location}
patches +=
${:_profile_base_location_}/crypto-tls-fix-Config.Time-in-tests-using-expired-ce-go-1-18.patch#309795d3c04295ee92e8f2a68613a0d3
[golang1.21]
<= golang-common
url = https://go.dev/dl/go1.21.13.src.tar.gz
......@@ -157,6 +166,7 @@ patches +=
# https://github.com/golang/go/commit/9f03e8367d85d75675b2f2e90873e3293799d8aa
${:_profile_base_location_}/os-skip-Chown-tests-for-auxiliary-groups-that-fail-d.patch#81b7f75786d9024049c26d1663b79ba4
${:_profile_base_location_}/skip-unshare-mount-test.patch#325446d5135452e8685e95ab99c13a51
${:_profile_base_location_}/crypto-tls-fix-Config.Time-in-tests-using-expired-ce-go-1-21.patch#8e30a06c854a9654e5b789c887453d64
# ---- infrastructure to build Go workspaces / projects ----
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment