Overview
Request History
jfkw created request
- Update to current stable go1.23
Refs boo#1229122 go1.23 release tracking (forwarded request 1197215 from jfkw)
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
dimstar_suse set openSUSE:Factory:Staging:J as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:J"
dimstar_suse accepted review
Picked "openSUSE:Factory:Staging:J"
dimstar accepted review
anag+factory added factory-staging as a reviewer
Being evaluated by group "factory-staging"
anag+factory accepted review
Unstaged from project "openSUSE:Factory:Staging:J"
anag+factory set openSUSE:Factory:Staging:M as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:M"
anag+factory accepted review
Picked "openSUSE:Factory:Staging:M"
anag+factory accepted review
Staging Project openSUSE:Factory:Staging:M got accepted.
anag+factory approved review
Staging Project openSUSE:Factory:Staging:M got accepted.
anag+factory accepted request
Staging Project openSUSE:Factory:Staging:M got accepted.
Breaks:
Thanks for the info. The go clean subcommand behavior seen here has been in place since go1.20:
go clean -cache -testcache internal go: clean -cache cannot be used with package arguments
cmd/go: go clean should not accept flags like -modcache with packages https://github.com/golang/go/commit/c22865fcfa1ec434e5655c652c6376fa2d0eb821 (contained in go1.20+)
Not sure how it has been building since then unless if using only up to go1.19.
It is safe to patch out the argument "internal". I can submit an SR for that and PR to upstream to retire the patch.
Deleting go build cache is not needed in our build environment. With Go applications it is usually best to extract only the relevant
go build
command from scripts such as used by this upstream and call directly in the RPM spec. Unconditional use of-buildmode=pie
is another reason, PIE is not currently supported by Go on our ppc64 arch:The spec has:
BuildRequires: golang(API) >= 1.20
so using go < 1.20 should be excluded.The last build in openSUSE:Factory was using go 1.22:
build does:
go help -clean
on go 1.22 returns:on go 1.23, it returns:
There we have the 'why' it built with go < 1.23 :)