Bug 281842 - lang/go122: update 1.22.6 → 1.22.9
Summary: lang/go122: update 1.22.6 → 1.22.9
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Ashish SHUKLA
URL: https://github.com/golang/go/releases...
Keywords:
Depends on:
Blocks: 282408
  Show dependency treegraph
 
Reported: 2024-10-03 23:25 UTC by Älven
Modified: 2024-11-16 15:04 UTC (History)
3 users (show)

See Also:
vvd: maintainer-feedback-


Attachments
[PATCH] lang/go122: update 1.22.6 → 1.22.8 (1.59 KB, patch)
2024-10-03 23:25 UTC, Älven
no flags Details | Diff
[PATCH] lang/go122: update 1.22.6 → 1.22.8 (1.61 KB, patch)
2024-10-31 11:14 UTC, Älven
alster: maintainer-approval? (go)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Älven 2024-10-03 23:25:57 UTC
Created attachment 253987 [details]
[PATCH] lang/go122: update 1.22.6 → 1.22.8
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-29 18:54:32 UTC
I see here maintainer timeout 25 days.
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-29 20:31:03 UTC
This update require bump for all ports depends from go 1.22: "USES=go:1.22".

editors/orbiton/Makefile:USES=          go:1.22,modules
ftp/wush/Makefile:USES=         go:1.22,modules
irc/ergo/Makefile:USES=         go:1.22,modules
lang/gptscript/Makefile:USES=           go:modules,1.22
misc/gollama/Makefile:USES=             go:1.22,modules
misc/ls-lint/Makefile:USES=             go:1.22,modules
misc/ollama/Makefile:USES=              go:1.22,modules pkgconfig
net/syncthing/Makefile:USES=            cpe go:1.22,modules
net/frp/Makefile:USES=          go:1.22,modules
net/gitlab-agent/Makefile:USES=         go:modules,1.22
net/gotify-server/Makefile:USES=                go:modules,1.22 nodejs:build
net/gotify-cli/Makefile:USES=           go:modules,1.22
net-im/dissent/Makefile:USES=           gnome go:1.22,modules pkgconfig
security/aws-iam-authenticator/Makefile:USES=           go:1.22,modules
security/tfsec/Makefile:USES=           go:1.22,modules
security/apg/Makefile:USES=             go:1.22,modules
security/local-php-security-checker/Makefile:USES=              go:1.22,modules
security/boringssl/Makefile:USES=               cmake:insource cpe go:no_targets,1.22 localbase perl5
security/git-credential-gopass/Makefile:USES=           go:1.22,modules
security/trivy/Makefile:USES=           go:modules,1.22
security/crowdsec/Makefile:USES=                go:1.22,modules pkgconfig
security/vault/Makefile:USES=           cpe go:1.22,modules
security/openbao/Makefile:USES=         go:1.22,modules
security/gopass/Makefile:USES=          go:1.22,modules
security/xray-core/Makefile:USES=               go:modules,1.22
sysutils/alloy/Makefile:USES=           go:1.22,modules
sysutils/superfile/Makefile:USES=               go:modules,1.22
sysutils/helmfile/Makefile:USES=                go:1.22,modules
sysutils/doctl/Makefile:USES=           go:1.22,modules
sysutils/popeye/Makefile:USES=          go:1.22,modules
sysutils/chaoskube/Makefile:USES=               go:1.22,modules
sysutils/helm/Makefile:USES=            cpe go:1.22,modules tar:xz
sysutils/kopia/Makefile:USES=           go:1.22,modules
sysutils/minikube/Makefile:USES=                cpe go:1.22,modules
sysutils/terraform-switcher/Makefile:USES=      go:1.22,modules
sysutils/consul/Makefile:USES=          cpe go:1.22,modules
sysutils/kops/Makefile:USES=            go:1.22,modules
sysutils/nomad/Makefile:USES=           cpe go:1.22,modules
sysutils/choria/Makefile:USES=          go:1.22,modules
sysutils/infracost/Makefile:USES=               go:1.22,modules
sysutils/kapp/Makefile:USES=            go:1.22,modules
sysutils/cloud-nuke/Makefile:USES=              cpe go:1.22,modules
sysutils/terraform-docs/Makefile:USES=          go:1.22,modules
sysutils/terraform/Makefile:USES=               cpe go:1.22,modules
sysutils/tflint/Makefile:USES=          go:1.22,modules
sysutils/gomplate/Makefile:USES=                go:1.22,modules
sysutils/kubectl/Makefile:USES=         cpe go:1.22,modules
sysutils/kubo-go/Makefile:USES=         cpe go:1.22,modules
textproc/gitlab-elasticsearch-indexer/Makefile:USES=            gmake go:modules,no_targets,1.22 pkgconfig
textproc/jqp/Makefile:USES=             go:1.22,modules
textproc/consul-template/Makefile:USES=         go:1.22,modules
textproc/ytt/Makefile:USES=             go:1.22,modules
www/gitlab-workhorse/Makefile:USES=             gmake go:modules,no_targets,1.22
www/gitea/Makefile:USES=                cpe gmake go:1.22,no_targets
www/gitlab-pages/Makefile:USES=         go:modules,1.22
www/nginx-prometheus-exporter/Makefile:USES=            go:modules,1.22
www/shiori/Makefile:USES=               go:1.22,modules
www/forgejo7/Makefile:USES=             cpe gmake go:1.22,no_targets
www/mattermost-server/Makefile:USES=            go:1.22,modules tar:xz
www/tgpt/Makefile:USES=         go:1.22,modules
www/oauth2-proxy/Makefile:USES=         go:modules,1.22
www/miniflux/Makefile:USES=             go:modules,1.22
x11/wallutils/Makefile:USES=            go:1.22,modules
x11/kitty/Makefile:             go:1.22,modules magick pkgconfig python shebangfix ssl tar:xz \
databases/usql/Makefile:USES=           go:1.22,modules
devel/athens/Makefile:USES=             go:1.22,modules
devel/cirrus-cli/Makefile:USES=         go:1.22,modules
devel/go-tools/Makefile:USES=           go:modules,1.22
devel/gomigrate/Makefile:USES=          go:1.22,modules
devel/lazygit/Makefile:USES=            go:1.22,modules
devel/gitaly/Makefile:USES=             cpe gmake go:modules,no_targets,1.22 iconv pkgconfig
devel/gitlab-shell/Makefile:USES=               gmake go:modules,no_targets,1.22 pkgconfig
devel/lefthook/Makefile:USES=           go:1.22,modules
devel/treefmt/Makefile:USES=            go:1.22,modules
devel/task/Makefile:USES=               go:1.22,modules
devel/gitlab-runner/Makefile:USES=              go:modules,1.22
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-29 20:36:15 UTC
Keep PORTREVISION in Makefile:
# Always set PORTREVISION explicitly as otherwise they are inherited from lang/go-devel
-PORTREVISION=	1
+PORTREVISION=	0
Comment 4 Älven 2024-10-30 11:34:02 UTC
(In reply to Vladimir Druzenko from comment #3)
Sorry, wasn't attentive enough. Will keep it next time.
Comment 5 Älven 2024-10-31 11:14:13 UTC
Created attachment 254792 [details]
[PATCH] lang/go122: update 1.22.6 → 1.22.8

Restored PORTREVISION
Comment 6 Älven 2024-10-31 11:26:04 UTC
About bumping portrevisions on dependent ports: I usually don't do this as they will always move forward anyway at the time while my patches are reviewed, so my patch will never be actual enough (Achilles and the Tortoise paradox).
Comment 7 Ashish SHUKLA freebsd_committer freebsd_triage 2024-11-07 09:54:30 UTC
Go 1.22.9 is out. Perhaps we should switch to that.
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2024-11-07 10:51:29 UTC
(In reply to Ashish SHUKLA from comment #7)
Probably yes.
Can you get this PR? I see you've updated Go ports many times.
Comment 9 Ashish SHUKLA freebsd_committer freebsd_triage 2024-11-07 20:49:20 UTC
(In reply to Vladimir Druzenko from comment #8)

Sure, I'll take care of this over the weekend.
Comment 10 commit-hook freebsd_committer freebsd_triage 2024-11-08 21:01:33 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0d7487afe43ea9a6a722bfd03448915045fadf26

commit 0d7487afe43ea9a6a722bfd03448915045fadf26
Author:     Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2024-11-08 12:42:46 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2024-11-08 20:58:45 +0000

    lang/go122: Update to 1.22.9

    PR:             281842

 lang/go122/Makefile | 4 ++--
 lang/go122/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Comment 11 commit-hook freebsd_committer freebsd_triage 2024-11-08 21:01:35 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=79271d538107eaed3822f2b39d0080da0101245a

commit 79271d538107eaed3822f2b39d0080da0101245a
Author:     Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2024-11-08 20:55:15 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2024-11-08 20:58:46 +0000

    all: Bump after lang/go122 update

    PR:             281842

 databases/usql/Makefile                        | 1 +
 devel/athens/Makefile                          | 1 +
 devel/cirrus-cli/Makefile                      | 1 +
 devel/gitlab-runner/Makefile                   | 1 +
 devel/gitlab-shell/Makefile                    | 1 +
 devel/go-tools/Makefile                        | 1 +
 devel/gomigrate/Makefile                       | 1 +
 devel/lazygit/Makefile                         | 2 +-
 devel/lefthook/Makefile                        | 1 +
 devel/task/Makefile                            | 1 +
 devel/treefmt/Makefile                         | 1 +
 editors/orbiton/Makefile                       | 2 +-
 ftp/sftpgo/Makefile                            | 2 +-
 ftp/wush/Makefile                              | 1 +
 irc/ergo/Makefile                              | 2 +-
 lang/gptscript/Makefile                        | 1 +
 misc/gollama/Makefile                          | 1 +
 misc/ls-lint/Makefile                          | 2 +-
 misc/ollama/Makefile                           | 2 +-
 misc/py-wandb/Makefile                         | 1 +
 net-im/dissent/Makefile                        | 1 +
 net/frp/Makefile                               | 1 +
 net/gotify-cli/Makefile                        | 1 +
 net/gotify-server/Makefile                     | 2 +-
 net/syncthing/Makefile                         | 1 +
 security/apg/Makefile                          | 2 +-
 security/aws-iam-authenticator/Makefile        | 1 +
 security/boringssl/Makefile                    | 1 +
 security/crowdsec/Makefile                     | 2 +-
 security/git-credential-gopass/Makefile        | 2 +-
 security/gopass/Makefile                       | 2 +-
 security/local-php-security-checker/Makefile   | 2 +-
 security/openbao/Makefile                      | 1 +
 security/step-certificates/Makefile            | 1 +
 security/step-cli/Makefile                     | 1 +
 security/tfsec/Makefile                        | 1 +
 security/trivy/Makefile                        | 1 +
 security/vault/Makefile                        | 1 +
 security/xray-core/Makefile                    | 2 +-
 sysutils/alloy/Makefile                        | 2 +-
 sysutils/chaoskube/Makefile                    | 1 +
 sysutils/choria/Makefile                       | 1 +
 sysutils/cloud-nuke/Makefile                   | 1 +
 sysutils/consul/Makefile                       | 1 +
 sysutils/doctl/Makefile                        | 1 +
 sysutils/gomplate/Makefile                     | 2 +-
 sysutils/helm/Makefile                         | 1 +
 sysutils/helmfile/Makefile                     | 2 +-
 sysutils/infracost/Makefile                    | 1 +
 sysutils/kapp/Makefile                         | 1 +
 sysutils/kopia/Makefile                        | 2 +-
 sysutils/kops/Makefile                         | 1 +
 sysutils/kubectl/Makefile                      | 1 +
 sysutils/kubo-go/Makefile                      | 2 +-
 sysutils/minikube/Makefile                     | 1 +
 sysutils/nomad/Makefile                        | 2 +-
 sysutils/popeye/Makefile                       | 2 +-
 sysutils/superfile/Makefile                    | 1 +
 sysutils/terraform-docs/Makefile               | 1 +
 sysutils/terraform-switcher/Makefile           | 1 +
 sysutils/terraform/Makefile                    | 2 +-
 sysutils/tflint/Makefile                       | 1 +
 textproc/consul-template/Makefile              | 2 +-
 textproc/gitlab-elasticsearch-indexer/Makefile | 1 +
 textproc/jqp/Makefile                          | 2 +-
 textproc/ytt/Makefile                          | 2 +-
 www/forgejo7/Makefile                          | 1 +
 www/gitea/Makefile                             | 2 +-
 www/gitlab/Makefile.common                     | 2 +-
 www/mattermost-server/Makefile                 | 2 +-
 www/miniflux/Makefile                          | 1 +
 www/nginx-prometheus-exporter/Makefile         | 1 +
 www/oauth2-proxy/Makefile                      | 1 +
 www/shiori/Makefile                            | 1 +
 www/tgpt/Makefile                              | 1 +
 x11/kitty/Makefile                             | 1 +
 x11/wallutils/Makefile                         | 1 +
 77 files changed, 77 insertions(+), 27 deletions(-)
Comment 12 Ashish SHUKLA freebsd_committer freebsd_triage 2024-11-08 21:10:34 UTC
Committed.
Comment 13 Vladimir Druzenko freebsd_committer freebsd_triage 2024-11-16 15:04:25 UTC
(In reply to Ashish SHUKLA from comment #12)
Can you please MFH?
www/forgejo7 7.0.10 (fixes security vulnerabilities) require go at least 1.22.7.
It's broken in 2024Q4 now: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282408#c4