Created attachment 257445 [details] go124.patch https://go.dev/doc/go1.24
^Triage: assign to the correct team.
/root/go124.patch:109: space before tab in indent. asmArgs = append(asmArgs, "-D", "GOPPC64_power8") /root/go124.patch:110: space before tab in indent. } /root/go124.patch:111: space before tab in indent. } /root/go124.patch:126: space before tab in indent. goasmh := pathf("%s/go_asm.h", workdir) /root/go124.patch:127: trailing whitespace.
(In reply to Jordan Ostreff from comment #2) Please disregard these warnings. They are not indicative of a problem.
(In reply to Robert Clausecker from comment #3) yep, i know this, because i already have go124 on my system. Only problem to made it default in make.conf is that caddy doesn't build with it. I've tested that Netdata builds. Doesn't tried with other go applications like owncloud infinitescale ocis.
(In reply to Jordan Ostreff from comment #4) It is possible that caddy just doesn't build with Go 1.24 in general. Do you have an error message or ideally a full build log?
(In reply to Robert Clausecker from comment #5) Actually the port build stops on "Vendoring dependencies" phase.
Can you also update lang/Makefile please
Created attachment 257844 [details] go124.patch Added go124 into lang/Makefile
The zns DNS utility depends on Go 1.24 (https://github.com/znscli/zns/pull/41)
caddy breaks on every go minor release. I can't fix it until go124 hits the tree, however, so please don't block this PR on caddy. The important thing is getting 1.24 into the ports tree. It's not a default version, so ports needing work to support 1.24 shouldn't really be blockers.
+GO_VALID_VERSIONS= 1.20 1.21 1.22 1.23 1.24 1.24-devel Shouldn't that be 1.25-devel?
(In reply to Adam Weinberger from comment #11) I was wondering the same. Who is in the FreeBSD go team?
(In reply to Mikael Urankar from comment #12) Our go ports are largely neglected. As far as I'm concerned, anybody who cares about go on FreeBSD and wants to help is on the team.
(In reply to Adam Weinberger from comment #11) Looking at https://cgit.freebsd.org/ports/commit/?id=a4183d5b557f7b332410266433887f0eae90cb2f we should put 1.25-devel
go 1.24.1 released
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c70b0d4db4d2f8ad4f6cdf5d5775ede4c3166220 commit c70b0d4db4d2f8ad4f6cdf5d5775ede4c3166220 Author: Denis Shaposhnikov <dsh@bamus.cz> AuthorDate: 2025-03-06 16:57:55 +0000 Commit: Adam Weinberger <adamw@FreeBSD.org> CommitDate: 2025-03-06 16:59:19 +0000 lang/go124: Add port PR: 284764 Mk/Uses/go.mk | 2 +- Mk/bsd.default-versions.mk | 2 +- lang/Makefile | 1 + lang/go124/Makefile (new) | 29 ++++++++++++++++++++++ lang/go124/distinfo (new) | 13 ++++++++++ lang/go124/files/patch-src_cmd_dist_build.go (new) | 23 +++++++++++++++++ ...tch-src_cmd_go_internal_modload_vendor.go (new) | 11 ++++++++ 7 files changed, 79 insertions(+), 2 deletions(-)
Committed (at 1.24.1). Thanks for all your work on this!
(In reply to Adam Weinberger from comment #17) Congrats! And thanks for your contribution! I have following go1.24 related changes for other ports: sysutils/podman sysutils/skopeo www/mattermost-server sysutils/buildah net-mgmt/netdata All these are compiled with go-1.24.1 and are working fine. I have all those as git diff output - to be possible easy to -R them.
(In reply to Jordan Ostreff from comment #18) Jordan, please Cc: me on that PR once you're ready. Go support on FreeBSD has fallen on tough times lately, as the main people involved are now spread thin. I'd love to see FreeBSD get our Go ports back up to date, and then fix and improve the framework. If the people on this PR are up for it, I'm in.