From ab4c225d82f4d9baa65c1231b4b9dd7cef11c39725b74a163fcc1c2e3d28084c Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 30 Jan 2026 15:50:17 +0300 Subject: [PATCH] Downgrade Go 1.17 Just do add distcache.FreeBSD's mirror. Anyway that Go is used only to bootstrap the next Go's version. --- build/distfiles/.gitignore | 2 +- build/distfiles/go1.17.12.tar.gz.meta4 | 17 +++++++++++++++++ build/distfiles/go1.17.13.tar.gz.meta4 | 18 ------------------ build/skel/lang/{go1.17.13.do => go1.17.12.do} | 0 build/skel/lang/go1.20.14.do | 2 +- contrib/prepare-deps/README | 4 ++-- contrib/prepare-deps/clean | 2 +- contrib/prepare-deps/link-from-distfiles | 2 +- .../steps/{020-go1.17.13 => 020-go1.17.12} | 0 contrib/prepare-deps/steps/020-go1.17.12.dl | 1 + contrib/prepare-deps/steps/020-go1.17.13.dl | 1 - contrib/prepare-deps/steps/030-go1.20.14 | 2 +- 12 files changed, 25 insertions(+), 26 deletions(-) create mode 100644 build/distfiles/go1.17.12.tar.gz.meta4 delete mode 100644 build/distfiles/go1.17.13.tar.gz.meta4 rename build/skel/lang/{go1.17.13.do => go1.17.12.do} (100%) rename contrib/prepare-deps/steps/{020-go1.17.13 => 020-go1.17.12} (100%) create mode 100644 contrib/prepare-deps/steps/020-go1.17.12.dl delete mode 100644 contrib/prepare-deps/steps/020-go1.17.13.dl diff --git a/build/distfiles/.gitignore b/build/distfiles/.gitignore index 5849c26..651b215 100644 --- a/build/distfiles/.gitignore +++ b/build/distfiles/.gitignore @@ -70,7 +70,7 @@ /gmp-6.3.0.tar.zst /gnupg-2.5.17.tar.bz2 /gnutls-3.8.6.tar.xz -/go1.17.13.tar.gz +/go1.17.12.tar.gz /go1.20.14.tar.gz /go1.23.5.tar.gz /go1.25.6.tar.gz diff --git a/build/distfiles/go1.17.12.tar.gz.meta4 b/build/distfiles/go1.17.12.tar.gz.meta4 new file mode 100644 index 0000000..d68523f --- /dev/null +++ b/build/distfiles/go1.17.12.tar.gz.meta4 @@ -0,0 +1,17 @@ + + + + d87928c1a2cd6c72bc99f189607a0e5c50ef3d79a5ed3c1142f25f1c75c17187 + 0770f1979ba9c14779e078638b2d5f9b6af1a62939f863abadc3c84418ce639715e61ed4763674e2e2d0d95219636e59e53a0db658ae02f17e713205789fcc5a + 77e80e8f7d790a836efcff1e8879138610388757d8a8bf688e557a7bbf182707 + a7e52146398375db630758652df425bc00ef89caa0639525b6e4f336c86dc70f6f2cb8248267250fc91d4d8f084249fd102c8742241a837823c1a8094538f24a + d2bcea2a33723af5c2ae871f5c44694c69d37c74c62e81eddeaf4bfedf124feea2752997d3a359990071bf01f88942fc66b21cb092385946ad4ae9410854c8b9 + 0d51b5b3f280c0f01f534598c0219db5878f337da6137a9ee698777413607209 + cb1877916e22462cdea3a1c4b5ada5a19ee87070fee1469da83228623be937c67534bfa2af2e5f3f7ed3cde571a283cd65e678905153e30b257fa093d6a34da0 + c58f3c5b3e1016a83777901f34d4086bd917d135c02775eb02d2ccdebcae23bc + 9389fef9ab4444eae53d1c171520a888 + 22205674 + https://go.dev/dl/go1.17.12.src.tar.gz + http://distcache.FreeBSD.org/ports-distfiles/go1.17.12.src.tar.gz + + diff --git a/build/distfiles/go1.17.13.tar.gz.meta4 b/build/distfiles/go1.17.13.tar.gz.meta4 deleted file mode 100644 index 909d174..0000000 --- a/build/distfiles/go1.17.13.tar.gz.meta4 +++ /dev/null @@ -1,18 +0,0 @@ - - - - fab34f540e4ad83908f3c897053cb0d5529452f81fce530cec916aa7b9c6948b - b227e5197c6466e7dc4594646a6b5f7e2f5e8bc0d44b8ab45b488f5249eb64ff736fccf0e0070d6685a08361e1b3dd1a2ee7050df6395bec519a7ae7dca78630 - a029e746dff91a568efdf7fe083559dee52b929f25e7682105225a6331fe3f84 - 644f0bad5090a73ad0bab7328cbe5b96293f4a5b9f5816d2e861d25f54305e9901889833db3f89d0135d288ab94837753b77dac43236003f340674fc797c7c2e - 29e31d7af93c245cafb9648fd458bd58ee7bcba94c25286ba67e00889b6eeb27 - 1f89bffbc5066e58d7594cd36f8e0e29e6bc62dc748c40d9aa407699a7e85257755af60f6f310f5e6adf344fd1e575614d0395c3b2f92dd7942063c131c46a9d - 2820bdd679fdb5e37d4c601b26c246bab23d4e8e1b226ac37c38e90a68b693e877bff944275eb25e3296ee772e7b40ef7d71dd49cca524df4cb8e721bfb50c33 - a1a48b23afb206f95e7bbaa9b898d965f90826f6f1d1fc0c1d784ada0cd300fd - 45d09f68d941efeb8ecd8e013c1737df5e0c53d47ca2a8c2c37b2b901f9cbf3e2450a533017f20e19ecba77310651390ca222222e080c01e131a59616e17015e - 1d78559f346e160e535bbee6b54d9b32d83f0d26d4f7ee8014f29f269dc73458 - e7d297292f628e77958082caa06f40d3 - 22206518 - https://go.dev/dl/go1.17.13.src.tar.gz - - diff --git a/build/skel/lang/go1.17.13.do b/build/skel/lang/go1.17.12.do similarity index 100% rename from build/skel/lang/go1.17.13.do rename to build/skel/lang/go1.17.12.do diff --git a/build/skel/lang/go1.20.14.do b/build/skel/lang/go1.20.14.do index 5ab9528..c47925f 100644 --- a/build/skel/lang/go1.20.14.do +++ b/build/skel/lang/go1.20.14.do @@ -4,7 +4,7 @@ sname=$1.do . "$BASS_ROOT"/lib/rc bdeps="rc-paths stow archivers/zstd" command -v bash >/dev/null 2>/dev/null || bdeps="$bdeps lang/perl-5.32.1" -goprev=go1.17.13 +goprev=go1.17.12 redo-ifchange $bdeps "$DISTFILES"/$NAME.tar.gz lang/$goprev hsh=$("$BASS_ROOT"/build/bin/cksum $BASS_REV $SPATH) diff --git a/contrib/prepare-deps/README b/contrib/prepare-deps/README index 20e5a29..7e7bb6f 100644 --- a/contrib/prepare-deps/README +++ b/contrib/prepare-deps/README @@ -10,10 +10,10 @@ Make, C compiler are prerequired. Go, goredo, meta4ra, zstd will be built. easy to build on modern systems), then you can touch the following steps, telling that they should not be done: 010-go1.4.3.done - 020-go1.17.13.done + 020-go1.17.12.done 030-go1.20.14.done 040-go1.23.5.done - and symlink your Go to ./go1.4.3, ./go1.17.13, ./go1.20.14, ./go1.23.5 + and symlink your Go to ./go1.4.3, ./go1.17.12, ./go1.20.14, ./go1.23.5 * Start build process itself: $ /path/to/prepare-deps/do * Result local/bin should contain only statically built programs, that diff --git a/contrib/prepare-deps/clean b/contrib/prepare-deps/clean index 7b58f64..623eb60 100755 --- a/contrib/prepare-deps/clean +++ b/contrib/prepare-deps/clean @@ -1,3 +1,3 @@ #!/bin/sh -rm -fr go1.4.3 go1.17.13 go1.20.14 go1.23.5 *.done +rm -fr go1.4.3 go1.17.12 go1.20.14 go1.23.5 *.done diff --git a/contrib/prepare-deps/link-from-distfiles b/contrib/prepare-deps/link-from-distfiles index fe6a248..53f97ec 100755 --- a/contrib/prepare-deps/link-from-distfiles +++ b/contrib/prepare-deps/link-from-distfiles @@ -2,7 +2,7 @@ mkdir -p distfiles cd distfiles -ln -f ../../../build/distfiles/go1.17.13.tar.gz go1.17.13.src.tar.gz +ln -f ../../../build/distfiles/go1.17.12.tar.gz go1.17.12.src.tar.gz ln -f ../../../build/distfiles/go1.20.14.tar.gz go1.20.14.src.tar.gz ln -f ../../../build/distfiles/go1.23.5.tar.gz go1.23.5.src.tar.gz ln -f ../../../build/distfiles/go1.25.6.tar.gz go1.25.6.src.tar.gz diff --git a/contrib/prepare-deps/steps/020-go1.17.13 b/contrib/prepare-deps/steps/020-go1.17.12 similarity index 100% rename from contrib/prepare-deps/steps/020-go1.17.13 rename to contrib/prepare-deps/steps/020-go1.17.12 diff --git a/contrib/prepare-deps/steps/020-go1.17.12.dl b/contrib/prepare-deps/steps/020-go1.17.12.dl new file mode 100644 index 0000000..ae95717 --- /dev/null +++ b/contrib/prepare-deps/steps/020-go1.17.12.dl @@ -0,0 +1 @@ +dodl https://go.dev/dl/$name.src.tar.gz $name.src.tar.gz d2bcea2a33723af5c2ae871f5c44694c69d37c74c62e81eddeaf4bfedf124feea2752997d3a359990071bf01f88942fc66b21cb092385946ad4ae9410854c8b9 diff --git a/contrib/prepare-deps/steps/020-go1.17.13.dl b/contrib/prepare-deps/steps/020-go1.17.13.dl deleted file mode 100644 index fdf88cc..0000000 --- a/contrib/prepare-deps/steps/020-go1.17.13.dl +++ /dev/null @@ -1 +0,0 @@ -dodl https://go.dev/dl/$name.src.tar.gz $name.src.tar.gz 2820bdd679fdb5e37d4c601b26c246bab23d4e8e1b226ac37c38e90a68b693e877bff944275eb25e3296ee772e7b40ef7d71dd49cca524df4cb8e721bfb50c33 diff --git a/contrib/prepare-deps/steps/030-go1.20.14 b/contrib/prepare-deps/steps/030-go1.20.14 index 922b368..db7b244 100644 --- a/contrib/prepare-deps/steps/030-go1.20.14 +++ b/contrib/prepare-deps/steps/030-go1.20.14 @@ -4,4 +4,4 @@ mv go $name cd $name command -v bash >/dev/null 2>/dev/null || $ROOT/../go-debash/v0 cd src -GOROOT_BOOTSTRAP=$(realpath $DIR/go1.17.13) CGO_ENABLED=0 ./make.bash +GOROOT_BOOTSTRAP=$(realpath $DIR/go1.17.12) CGO_ENABLED=0 ./make.bash -- 2.52.0