package/go: bump to version 1.25.1
PATCH 1/2 package/go: bump to version 1.25.1
Building Go 1.24 and later requires Go 1.22.6 or later for bootstrap.
To support this we use our previous Go version 1.23.12 as the version for go-bootstrap-stage4 and have the build for Go 1.25.1 depend on go-bootstrap-stage4.
Go version 1.23.12 is the latest go version we can build using go-bootstrap-stage3.
The package build for go-bootstrap-stage4 if effectively identical to go-bootstrap-stage3 with only the Go version and stage number changed.
--- package/go/Config.in.host | 9 +-- ...ldvcs-false-when-building-go-bootstr.patch | 71 +++++++++++++++++++ package/go/go-bootstrap-stage4/Config.in.host | 4 ++ .../go-bootstrap-stage4.hash | 3 + .../go-bootstrap-stage4.mk | 54 ++++++++++++++ package/go/go-src/go-src.mk | 4 +- package/go/go.hash | 14 ++-- package/go/go.mk | 2 +- 8 files changed, 147 insertions(+), 14 deletions(-) create mode 100644 package/go/go-bootstrap-stage4/0001-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch create mode 100644 package/go/go-bootstrap-stage4/Config.in.host create mode 100644 package/go/go-bootstrap-stage4/go-bootstrap-stage4.hash create mode 100644 package/go/go-bootstrap-stage4/go-bootstrap-stage4.mk
package/go/Config.in.host +5 -4
@@ -2,7 +2,7 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS bool default y - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE3_ARCH_SUPPORTS || BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE4_ARCH_SUPPORTS || BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS # See https://go.dev/doc/install/source#environment # See src/go/build/syslist.go for the list of supported architectures depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \
@@ -34,7 +34,7 @@ config BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS config BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS bool default y - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE3_ARCH_SUPPORTS || BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE4_ARCH_SUPPORTS || BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS # CGO linking for the host. Since we use the same compiler for target # and host, if the target can't do CGO linking, then the host can't.
@@ -57,7 +57,7 @@ if BR2_PACKAGE_HOST_GO choice prompt "Go compiler variant" - default BR2_PACKAGE_HOST_GO_SRC if BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE3_ARCH_SUPPORTS + default BR2_PACKAGE_HOST_GO_SRC if BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE4_ARCH_SUPPORTS default BR2_PACKAGE_HOST_GO_BIN if BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS help Select a Go compiler variant.
@@ -66,7 +66,7 @@ choice config BR2_PACKAGE_HOST_GO_SRC bool "host go (source)" - depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE3_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE4_ARCH_SUPPORTS help This package will build the go compiler for the host.
@@ -90,3 +90,4 @@ source "package/go/go-bin/Config.in.host" source "package/go/go-bootstrap-stage1/Config.in.host" source "package/go/go-bootstrap-stage2/Config.in.host" source "package/go/go-bootstrap-stage3/Config.in.host" +source "package/go/go-bootstrap-stage4/Config.in.host"
package/go/go-bootstrap-stage4/0001-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch new file +71 -0
71 lines not on this page · raw message
package/go/go-bootstrap-stage4/Config.in.host new file +4 -0
@@ -0,0 +1,4 @@ +config BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE4_ARCH_SUPPORTS + bool + default y + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE3_ARCH_SUPPORTS
package/go/go-bootstrap-stage4/go-bootstrap-stage4.hash new file +3 -0
@@ -0,0 +1,3 @@ +# From https://go.dev/dl +sha256 e1cce9379a24e895714a412c7ddd157d2614d9edbe83a84449b6e1840b4f1226 go1.23.12.src.tar.gz +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE
package/go/go-bootstrap-stage4/go-bootstrap-stage4.mk new file +54 -0
54 lines not on this page · raw message
package/go/go-src/go-src.mk +2 -2
@@ -16,7 +16,7 @@ GO_SRC_CPE_ID_PRODUCT = go HOST_GO_SRC_PROVIDES = host-go HOST_GO_SRC_DEPENDENCIES = \ - host-go-bootstrap-stage3 \ + host-go-bootstrap-stage4 \ $(HOST_GO_DEPENDENCIES_CGO) ifeq ($(BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS),y)
@@ -37,7 +37,7 @@ endif HOST_GO_SRC_MAKE_ENV = \ GO111MODULE=off \ GOCACHE=$(HOST_GO_HOST_CACHE) \ - GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE3_ROOT) \ + GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_STAGE4_ROOT) \ GOROOT_FINAL=$(HOST_GO_ROOT) \ GOROOT="$(@D)" \ GOBIN="$(@D)/bin" \
package/go/go.hash +7 -7
@@ -1,9 +1,9 @@ # sha256 checksum from https://go.dev/dl/ -sha256 e1cce9379a24e895714a412c7ddd157d2614d9edbe83a84449b6e1840b4f1226 go1.23.12.src.tar.gz -sha256 3b2fd446e26642555d1446a38ccbefb2a30bba3179d3ef132ed64d3c63b0c42a go1.23.12.linux-386.tar.gz -sha256 d3847fef834e9db11bf64e3fb34db9c04db14e068eeb064f49af747010454f90 go1.23.12.linux-amd64.tar.gz -sha256 52ce172f96e21da53b1ae9079808560d49b02ac86cecfa457217597f9bc28ab3 go1.23.12.linux-arm64.tar.gz -sha256 9704eba01401a3793f54fac162164b9c5d8cc6f3cab5cee72684bb72294d9f41 go1.23.12.linux-armv6l.tar.gz -sha256 1a7cc5f7baeaf39125dce5d660a39438e7f0e04d13d3498590d240aae976b565 go1.23.12.linux-ppc64le.tar.gz -sha256 2f43708aa0922d692da0a1fc775475c343907610bec77002de1bbe37601ea338 go1.23.12.linux-s390x.tar.gz +sha256 d010c109cee94d80efe681eab46bdea491ac906bf46583c32e9f0dbb0bd1a594 go1.25.1.src.tar.gz +sha256 d03cdcbc9bd8baf5cf028de390478e9e2b3e4d0afe5a6582dedc19bfe6a263b2 go1.25.1.linux-386.tar.gz +sha256 7716a0d940a0f6ae8e1f3b3f4f36299dc53e31b16840dbd171254312c41ca12e go1.25.1.linux-amd64.tar.gz +sha256 65a3e34fb2126f55b34e1edfc709121660e1be2dee6bdf405fc399a63a95a87d go1.25.1.linux-arm64.tar.gz +sha256 eb949be683e82a99e9861dafd7057e31ea40b161eae6c4cd18fdc0e8c4ae6225 go1.25.1.linux-armv6l.tar.gz +sha256 8b0c8d3ee5b1b5c28b6bd63dc4438792012e01d03b4bf7a61d985c87edab7d1f go1.25.1.linux-ppc64le.tar.gz +sha256 9cfe517ba423f59f3738ca5c3d907c103253cffbbcc2987142f79c5de8c1bf93 go1.25.1.linux-s390x.tar.gz sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE
package/go/go.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -GO_VERSION = 1.23.12 +GO_VERSION = 1.25.1 HOST_GO_GOPATH = $(HOST_DIR)/share/go-path HOST_GO_HOST_CACHE = $(HOST_DIR)/share/host-go-cache
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/cloudflared: bump to version 2025.8.1
Also set BuiltForPackageManager=buildroot so that cloudflared's update command informs the user to update cloudflared via buildroot.
Without BuiltForPackageManager set:
cloudflared update
INF cloudflared is up to date version=
With BuiltForPackageManager set:
cloudflared update
ERR cloudflared was installed by buildroot. Please update using the same method.
--- package/cloudflared/cloudflared.hash | 2 +- package/cloudflared/cloudflared.mk | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-)
package/cloudflared/cloudflared.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 f9223cdefaa4b75aa1c49638936af9d5007b6c7bd943ab70203bb75bf32467da cloudflared-2025.1.0-go2.tar.gz +sha256 803d3e162dc91da6b3b4f7961f57c113fa818d45517758511f72d254d68a46ba cloudflared-2025.8.1-go2.tar.gz sha256 58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd LICENSE
package/cloudflared/cloudflared.mk +4 -2
@@ -4,12 +4,14 @@ # ################################################################################ -CLOUDFLARED_VERSION = 2025.1.0 +CLOUDFLARED_VERSION = 2025.8.1 CLOUDFLARED_SITE = $(call github,cloudflare,cloudflared,$(CLOUDFLARED_VERSION)) CLOUDFLARED_LICENSE = Apache-2.0 CLOUDFLARED_LICENSE_FILES = LICENSE CLOUDFLARED_CPE_ID_VENDOR = cloudflare CLOUDFLARED_BUILD_TARGETS = cmd/cloudflared -CLOUDFLARED_LDFLAGS = -X main.Version=$(CLOUDFLARED_VERSION) +CLOUDFLARED_LDFLAGS = \ + -X main.Version=$(CLOUDFLARED_VERSION) \ + -X github.com/cloudflare/cloudflared/cmd/cloudflared/updater.BuiltForPackageManager=buildroot $(eval $(golang-package))
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi James,
Quoted 14 lines · James Hilliard
Building Go 1.24 and later requires Go 1.22.6 or later for bootstrap.
To support this we use our previous Go version 1.23.12 as the version for go-bootstrap-stage4 and have the build for Go 1.25.1 depend on go-bootstrap-stage4.
Go version 1.23.12 is the latest go version we can build using go-bootstrap-stage3.
The package build for go-bootstrap-stage4 if effectively identical to go-bootstrap-stage3 with only the Go version and stage number changed.
Signed-off-by James Hilliard <[email protected]>
Quoted 14 lines
--- package/go/Config.in.host | 9 +-- ...ldvcs-false-when-building-go-bootstr.patch | 71 +++++++++++++++++++ package/go/go-bootstrap-stage4/Config.in.host | 4 ++ .../go-bootstrap-stage4.hash | 3 + .../go-bootstrap-stage4.mk | 54 ++++++++++++++ package/go/go-src/go-src.mk | 4 +- package/go/go.hash | 14 ++-- package/go/go.mk | 2 +- 8 files changed, 147 insertions(+), 14 deletions(-) create mode 100644 package/go/go-bootstrap-stage4/0001-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch create mode 100644 package/go/go-bootstrap-stage4/Config.in.host create mode 100644 package/go/go-bootstrap-stage4/go-bootstrap-stage4.hash create mode 100644 package/go/go-bootstrap-stage4/go-bootstrap-stage4.mk
I just submitted a different series to do the same thing, sorry, I didn't see yours until I had already submitted.
It's a bit different though, separate commits for adding stage4 and go1.24 and go 1.25 for better bisect.
What do you think?
1. https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
2. https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
3. https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
It's actually another revision of a very old series I submitted for go1.24.
Thanks,
Christian Stewart
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 34 lines · Christian Stewart
Hi James,
Quoted 14 lines · James Hilliard
Building Go 1.24 and later requires Go 1.22.6 or later for bootstrap.
To support this we use our previous Go version 1.23.12 as the version for go-bootstrap-stage4 and have the build for Go 1.25.1 depend on go-bootstrap-stage4.
Go version 1.23.12 is the latest go version we can build using go-bootstrap-stage3.
The package build for go-bootstrap-stage4 if effectively identical to go-bootstrap-stage3 with only the Go version and stage number changed.
Signed-off-by James Hilliard <[email protected]>Quoted 14 lines
--- package/go/Config.in.host | 9 +-- ...ldvcs-false-when-building-go-bootstr.patch | 71 +++++++++++++++++++ package/go/go-bootstrap-stage4/Config.in.host | 4 ++ .../go-bootstrap-stage4.hash | 3 + .../go-bootstrap-stage4.mk | 54 ++++++++++++++ package/go/go-src/go-src.mk | 4 +- package/go/go.hash | 14 ++-- package/go/go.mk | 2 +- 8 files changed, 147 insertions(+), 14 deletions(-) create mode 100644 package/go/go-bootstrap-stage4/0001-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch create mode 100644 package/go/go-bootstrap-stage4/Config.in.host create mode 100644 package/go/go-bootstrap-stage4/go-bootstrap-stage4.hash create mode 100644 package/go/go-bootstrap-stage4/go-bootstrap-stage4.mk
Quoted 5 lines
I just submitted a different series to do the same thing, sorry, I didn't see yours until I had already submitted.
It's a bit different though, separate commits for adding stage4 and go1.24 and go 1.25 for better bisect.
Not sure if there's much reason to have an intermediary go1.24 as go1.25 has the same bootstrap requirements.
Your stage4 probably should use version 1.23.12.
Quoted 1 line
What do you think?
I think yours might be missing some config changes, anything you did in yours that I missed in mine?
Quoted 8 lines
1. https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
2. https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
3. https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/It's actually another revision of a very old series I submitted for go1.24.
Thanks,
Christian Stewart
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi James,
Quoted 5 lines · James Hilliard
On Wed, Sep 10, 2025 at 2:33 PM Christian Stewart <[email protected]> wrote:
I think yours might be missing some config changes, anything you did in yours that I missed in mine?
What config changes?
I still prefer to have this kind of commit structure (as we had in the past too)
- add bootstrap-stage4
- add go1.24
- add go1.25
just because this way if we need go1.24 for some reason, a user can revert the go1.25 commit.
If possible let me know what config changes there were... I could restructure your commit this way for you if you like as well.
Christian
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 6 lines · Christian Stewart
Hi James,
Quoted 1 line · James Hilliard
Quoted 6 lines
Quoted 4 lines · Christian Stewart
I think yours might be missing some config changes, anything you did in yours that I missed in mine?
What config changes?
Like the ones to package/go/Config.in.host.
Quoted 9 lines
I still prefer to have this kind of commit structure (as we had in the past too)
- add bootstrap-stage4
- add go1.24
- add go1.25just because this way if we need go1.24 for some reason, a user can revert the go1.25 commit.
Seems kinda pointless since there shouldn't be any reason to use go1.24, but doesn't really matter to me.
Quoted 2 lines
If possible let me know what config changes there were... I could restructure your commit this way for you if you like as well.
If you squash your 3 commits and compare that against my patch, it should be more obvious what all those changes are.
Quoted 2 lines
Christian
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi James,
Quoted 5 lines · James Hilliard
Quoted 2 lines · Christian Stewart
just because this way if we need go1.24 for some reason, a user can revert the go1.25 commit.
Quoted 8 lines
Seems kinda pointless since there shouldn't be any reason to use go1.24, but doesn't really matter to me.
Quoted 2 lines
If possible let me know what config changes there were... I could restructure your commit this way for you if you like as well.
If you squash your 3 commits and compare that against my patch, it should be more obvious what all those changes are.
I shouldn't have to do this to know what happened in the commit, it should be in the commit message.
I did do the diff as you said and there are no config changes / differences to note other than the version # on stage4.
Thanks,
Christian
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
James,
Quoted 13 lines · Christian Stewart
Hi James,
Quoted 8 lines · James Hilliard
Quoted 2 lines · Christian Stewart
just because this way if we need go1.24 for some reason, a user can revert the go1.25 commit.
Seems kinda pointless since there shouldn't be any reason to use go1.24, but doesn't really matter to me.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
If possible let me know what config changes there were... I could restructure your commit this way for you if you like as well.
If you squash your 3 commits and compare that against my patch, it should be more obvious what all those changes are.
I did do the diff as you said and there are no config changes / differences to note other than the version # on stage4.
... My bad, I did the diff wrong... i see what you're saying now..
Ok, I will mark my commits as superceded and we can go with yours.
Thanks,
Christian
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 23 lines · Christian Stewart
James,
Quoted 19 lines · Christian Stewart
Hi James,
Quoted 13 lines · James Hilliard
Quoted 2 lines · Christian Stewart
just because this way if we need go1.24 for some reason, a user can revert the go1.25 commit.
Seems kinda pointless since there shouldn't be any reason to use go1.24, but doesn't really matter to me.
Quoted 2 lines
If possible let me know what config changes there were... I could restructure your commit this way for you if you like as well.
If you squash your 3 commits and compare that against my patch, it should be more obvious what all those changes are.
Quoted 6 lines
Quoted 2 lines
I did do the diff as you said and there are no config changes / differences to note other than the version # on stage4.
... My bad, I did the diff wrong... i see what you're saying now..
Ok, I will mark my commits as superceded and we can go with yours.
Sounds good, did you get a chance to test my patch?
Would be good to have a tested-by for it.
Quoted 3 lines
Thanks,
Christian
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi all,
Quoted 14 lines · James Hilliard
Building Go 1.24 and later requires Go 1.22.6 or later for bootstrap.
To support this we use our previous Go version 1.23.12 as the version for go-bootstrap-stage4 and have the build for Go 1.25.1 depend on go-bootstrap-stage4.
Go version 1.23.12 is the latest go version we can build using go-bootstrap-stage3.
The package build for go-bootstrap-stage4 if effectively identical to go-bootstrap-stage3 with only the Go version and stage number changed.
Signed-off-by James Hilliard <[email protected]>
Quoted 15 lines
--- package/go/Config.in.host | 9 +-- ...ldvcs-false-when-building-go-bootstr.patch | 71 +++++++++++++++++++ package/go/go-bootstrap-stage4/Config.in.host | 4 ++ .../go-bootstrap-stage4.hash | 3 + .../go-bootstrap-stage4.mk | 54 ++++++++++++++ package/go/go-src/go-src.mk | 4 +- package/go/go.hash | 14 ++-- package/go/go.mk | 2 +- 8 files changed, 147 insertions(+), 14 deletions(-) create mode 100644 package/go/go-bootstrap-stage4/0001-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch create mode 100644 package/go/go-bootstrap-stage4/Config.in.host create mode 100644 package/go/go-bootstrap-stage4/go-bootstrap-stage4.hash create mode 100644 package/go/go-bootstrap-stage4/go-bootstrap-stage4.mk
Lgtm,
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
James,
Quoted 14 lines · James Hilliard
Building Go 1.24 and later requires Go 1.22.6 or later for bootstrap.
To support this we use our previous Go version 1.23.12 as the version for go-bootstrap-stage4 and have the build for Go 1.25.1 depend on go-bootstrap-stage4.
Go version 1.23.12 is the latest go version we can build using go-bootstrap-stage3.
The package build for go-bootstrap-stage4 if effectively identical to go-bootstrap-stage3 with only the Go version and stage number changed.
Signed-off-by James Hilliard <[email protected]>
Quoted 14 lines
--- package/go/Config.in.host | 9 +-- ...ldvcs-false-when-building-go-bootstr.patch | 71 +++++++++++++++++++ package/go/go-bootstrap-stage4/Config.in.host | 4 ++ .../go-bootstrap-stage4.hash | 3 + .../go-bootstrap-stage4.mk | 54 ++++++++++++++ package/go/go-src/go-src.mk | 4 +- package/go/go.hash | 14 ++-- package/go/go.mk | 2 +- 8 files changed, 147 insertions(+), 14 deletions(-) create mode 100644 package/go/go-bootstrap-stage4/0001-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch create mode 100644 package/go/go-bootstrap-stage4/Config.in.host create mode 100644 package/go/go-bootstrap-stage4/go-bootstrap-stage4.hash create mode 100644 package/go/go-bootstrap-stage4/go-bootstrap-stage4.mk
After some further testing...
go-bin is working fine, go-src has a hash mismatch:
https://github.com/skiffos/SkiffOS/actions/runs/17761136300/job/50473971015#step:8:63721
see make host-go-src-legal-info
You should apply this change to your patch:
-sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067
LICENSE
+sha256 911f8f5782931320f5b8d1160a76365b83aea6447ee6c04fa6d5591467db9dad
LICENSE
Thanks,
Christian Stewart
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot