Skip to content

Commit 138eb70

Browse files
fjlMariusVanDerWijden
authored andcommitted
build: update PPA Go bootstrap version to 1.23 (ethereum#31282)
This is for fixing the PPA build, which has been failing since the update to Go 1.24. In Go 1.24, the required Go version for bootstrapping was updated to 1.22. In general, they are following through with always depending on the Go version two releases ago for bootstrapping. Since we still support Ubuntu Xenial (16.04) until its EOL date of 04/2026, and Xenial only has golang 1.10 as a package, we now need to build Go a total of four times to get the most recent version. I'm adding a step for Go 1.23 here. This should last us until Go 1.25, which should be out around 04/2026, and we can hopefully drop the first bootstrapping step at that time.
1 parent dfcba2d commit 138eb70

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

build/checksums.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,18 @@ fc43f8c95d6bec8ba9a3557a0bb63cf9f504137ce6d24cfdc4c330d46f7779d2 golangci-lint-
114114
# This version is fine to be old and full of security holes, we just use it
115115
# to build the latest Go. Don't change it.
116116
#
117-
# version:ppa-builder-1 1.19.6
117+
# version:ppa-builder-1.19 1.19.6
118118
# https://go.dev/dl/
119119
d7f0013f82e6d7f862cc6cb5c8cdb48eef5f2e239b35baa97e2f1a7466043767 go1.19.6.src.tar.gz
120120

121-
# version:ppa-builder-2 1.21.9
121+
# version:ppa-builder-1.21 1.21.9
122122
# https://go.dev/dl/
123123
58f0c5ced45a0012bce2ff7a9df03e128abcc8818ebabe5027bb92bafe20e421 go1.21.9.src.tar.gz
124124

125+
# version:ppa-builder-1.23 1.23.6
126+
# https://go.dev/dl/
127+
039c5b04e65279daceee8a6f71e70bd05cf5b801782b6f77c6e19e2ed0511222 go1.23.6.src.tar.gz
128+
125129
# version:protoc 27.1
126130
# https://github.com/protocolbuffers/protobuf/releases/
127131
# https://github.com/protocolbuffers/protobuf/releases/download/v27.1/

build/ci.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ func downloadGoBootstrapSources(cachedir string) []string {
843843
csdb := build.MustLoadChecksums("build/checksums.txt")
844844

845845
var bundles []string
846-
for _, booter := range []string{"ppa-builder-1", "ppa-builder-2"} {
846+
for _, booter := range []string{"ppa-builder-1.19", "ppa-builder-1.21", "ppa-builder-1.23"} {
847847
gobootVersion, err := build.Version(csdb, booter)
848848
if err != nil {
849849
log.Fatal(err)

0 commit comments

Comments
 (0)