Commit 7a438b30 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].

[1] https://go-review.googlesource.com/c/go/+/640315

/reported-by @romain
/reviewed-by @jerome @kirr @tomo
/reviewed-on !1713
parent 4d82c5d8
Pipeline #38919 failed with stage
in 0 seconds
...@@ -86,7 +86,11 @@ setarch = setarch arm ...@@ -86,7 +86,11 @@ setarch = setarch arm
url = https://go.dev/dl/go1.15.15.src.tar.gz url = https://go.dev/dl/go1.15.15.src.tar.gz
md5sum = 05fedd8289291eb2d91cd0c092b41aaa md5sum = 05fedd8289291eb2d91cd0c092b41aaa
# go1.1 needs go1.4 to bootstrap patches +=
# Backport of https://github.com/golang/go/commit/d1d93129506c78cc8ee25644384286822d93c81a
${:_profile_base_location_}/crypto-tls-fix-Config.Time-in-tests-using-expired-ce-go-1-15.patch#26435b76ad4d6c07e8ed162b8f19b55a
# go1.15 needs go1.4 to bootstrap
environment-extra = environment-extra =
GOROOT_BOOTSTRAP=${golang14:location} GOROOT_BOOTSTRAP=${golang14:location}
...@@ -95,6 +99,10 @@ environment-extra = ...@@ -95,6 +99,10 @@ environment-extra =
url = https://golang.org/dl/go1.17.13.src.tar.gz url = https://golang.org/dl/go1.17.13.src.tar.gz
md5sum = 4476707f05cf6915ec1173038dc357a9 md5sum = 4476707f05cf6915ec1173038dc357a9
patches +=
# Backport of https://github.com/golang/go/commit/d1d93129506c78cc8ee25644384286822d93c81a
${:_profile_base_location_}/crypto-tls-fix-Config.Time-in-tests-using-expired-ce-go-1-15.patch#26435b76ad4d6c07e8ed162b8f19b55a
# go1.17 needs go1.4 to bootstrap # go1.17 needs go1.4 to bootstrap
environment-extra = environment-extra =
GOROOT_BOOTSTRAP=${golang14:location} GOROOT_BOOTSTRAP=${golang14:location}
...@@ -113,6 +121,8 @@ patches += ...@@ -113,6 +121,8 @@ patches +=
# https://github.com/golang/go/commit/9f03e8367d85d75675b2f2e90873e3293799d8aa # 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_}/os-skip-Chown-tests-for-auxiliary-groups-that-fail-d.patch#81b7f75786d9024049c26d1663b79ba4
${:_profile_base_location_}/skip-unshare-mount-test.patch#325446d5135452e8685e95ab99c13a51 ${:_profile_base_location_}/skip-unshare-mount-test.patch#325446d5135452e8685e95ab99c13a51
# Backport of https://github.com/golang/go/commit/d1d93129506c78cc8ee25644384286822d93c81a
${:_profile_base_location_}/crypto-tls-fix-Config.Time-in-tests-using-expired-ce-go-1-21.patch#8e30a06c854a9654e5b789c887453d64
# ---- infrastructure to build Go workspaces / projects ---- # ---- 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