diff mbox series

[2/2] go: upgrade 1.22.7 -> 1.22.8

Message ID 20241027133906.367260-2-peter.marko@siemens.com
State Accepted, archived
Commit 552b9913b25107d7a34611b499b7811896b5f098
Headers show
Series [1/2] go: upgrade 1.22.6 -> 1.22.7 | expand

Commit Message

Marko, Peter Oct. 27, 2024, 1:39 p.m. UTC
From: Peter Marko <peter.marko@siemens.com>

Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.7..go1.22.8
aeccd613c8 (tag: go1.22.8) [release-branch.go1.22] go1.22.8
b4086b7c16 [release-branch.go1.22] syscall: skip TestAmbientCapsUserns when restricted, document
6fab4b9a9e [release-branch.go1.22] runtime: size maps.Clone destination bucket array safely
71655f14ce [release-branch.go1.22] cmd/cgo: correct padding required by alignment

[1] https://github.com/golang/go/compare/go1.22.7...go1.22.8

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta/recipes-devtools/go/{go-1.22.7.inc => go-1.22.8.inc}   | 2 +-
 ...o-binary-native_1.22.7.bb => go-binary-native_1.22.8.bb} | 6 +++---
 ...cross-canadian_1.22.7.bb => go-cross-canadian_1.22.8.bb} | 0
 .../go/{go-cross_1.22.7.bb => go-cross_1.22.8.bb}           | 0
 .../go/{go-crosssdk_1.22.7.bb => go-crosssdk_1.22.8.bb}     | 0
 .../go/{go-runtime_1.22.7.bb => go-runtime_1.22.8.bb}       | 0
 meta/recipes-devtools/go/{go_1.22.7.bb => go_1.22.8.bb}     | 0
 7 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/go/{go-1.22.7.inc => go-1.22.8.inc} (89%)
 rename meta/recipes-devtools/go/{go-binary-native_1.22.7.bb => go-binary-native_1.22.8.bb} (78%)
 rename meta/recipes-devtools/go/{go-cross-canadian_1.22.7.bb => go-cross-canadian_1.22.8.bb} (100%)
 rename meta/recipes-devtools/go/{go-cross_1.22.7.bb => go-cross_1.22.8.bb} (100%)
 rename meta/recipes-devtools/go/{go-crosssdk_1.22.7.bb => go-crosssdk_1.22.8.bb} (100%)
 rename meta/recipes-devtools/go/{go-runtime_1.22.7.bb => go-runtime_1.22.8.bb} (100%)
 rename meta/recipes-devtools/go/{go_1.22.7.bb => go_1.22.8.bb} (100%)

Comments

Alexander Kanavin Oct. 28, 2024, 7:47 p.m. UTC | #1
Thanks, but should we rather update to actual latest, which is 1.23.2?

Alex

On Sun, 27 Oct 2024 at 14:40, Peter Marko via lists.openembedded.org
<peter.marko=siemens.com@lists.openembedded.org> wrote:
>
> From: Peter Marko <peter.marko@siemens.com>
>
> Upgrade to latest 1.22.x release [1]:
>
> $ git --no-pager log --oneline go1.22.7..go1.22.8
> aeccd613c8 (tag: go1.22.8) [release-branch.go1.22] go1.22.8
> b4086b7c16 [release-branch.go1.22] syscall: skip TestAmbientCapsUserns when restricted, document
> 6fab4b9a9e [release-branch.go1.22] runtime: size maps.Clone destination bucket array safely
> 71655f14ce [release-branch.go1.22] cmd/cgo: correct padding required by alignment
>
> [1] https://github.com/golang/go/compare/go1.22.7...go1.22.8
>
> Signed-off-by: Peter Marko <peter.marko@siemens.com>
> ---
>  meta/recipes-devtools/go/{go-1.22.7.inc => go-1.22.8.inc}   | 2 +-
>  ...o-binary-native_1.22.7.bb => go-binary-native_1.22.8.bb} | 6 +++---
>  ...cross-canadian_1.22.7.bb => go-cross-canadian_1.22.8.bb} | 0
>  .../go/{go-cross_1.22.7.bb => go-cross_1.22.8.bb}           | 0
>  .../go/{go-crosssdk_1.22.7.bb => go-crosssdk_1.22.8.bb}     | 0
>  .../go/{go-runtime_1.22.7.bb => go-runtime_1.22.8.bb}       | 0
>  meta/recipes-devtools/go/{go_1.22.7.bb => go_1.22.8.bb}     | 0
>  7 files changed, 4 insertions(+), 4 deletions(-)
>  rename meta/recipes-devtools/go/{go-1.22.7.inc => go-1.22.8.inc} (89%)
>  rename meta/recipes-devtools/go/{go-binary-native_1.22.7.bb => go-binary-native_1.22.8.bb} (78%)
>  rename meta/recipes-devtools/go/{go-cross-canadian_1.22.7.bb => go-cross-canadian_1.22.8.bb} (100%)
>  rename meta/recipes-devtools/go/{go-cross_1.22.7.bb => go-cross_1.22.8.bb} (100%)
>  rename meta/recipes-devtools/go/{go-crosssdk_1.22.7.bb => go-crosssdk_1.22.8.bb} (100%)
>  rename meta/recipes-devtools/go/{go-runtime_1.22.7.bb => go-runtime_1.22.8.bb} (100%)
>  rename meta/recipes-devtools/go/{go_1.22.7.bb => go_1.22.8.bb} (100%)
>
> diff --git a/meta/recipes-devtools/go/go-1.22.7.inc b/meta/recipes-devtools/go/go-1.22.8.inc
> similarity index 89%
> rename from meta/recipes-devtools/go/go-1.22.7.inc
> rename to meta/recipes-devtools/go/go-1.22.8.inc
> index e54a902741..542519b930 100644
> --- a/meta/recipes-devtools/go/go-1.22.7.inc
> +++ b/meta/recipes-devtools/go/go-1.22.8.inc
> @@ -15,4 +15,4 @@ SRC_URI += "\
>      file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \
>      file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \
>  "
> -SRC_URI[main.sha256sum] = "66432d87d85e0cfac3edffe637d5930fc4ddf5793313fe11e4a0f333023c879f"
> +SRC_URI[main.sha256sum] = "df12c23ebf19dea0f4bf46a22cbeda4a3eca6f474f318390ce774974278440b8"
> diff --git a/meta/recipes-devtools/go/go-binary-native_1.22.7.bb b/meta/recipes-devtools/go/go-binary-native_1.22.8.bb
> similarity index 78%
> rename from meta/recipes-devtools/go/go-binary-native_1.22.7.bb
> rename to meta/recipes-devtools/go/go-binary-native_1.22.8.bb
> index aba317fd38..98799eb503 100644
> --- a/meta/recipes-devtools/go/go-binary-native_1.22.7.bb
> +++ b/meta/recipes-devtools/go/go-binary-native_1.22.8.bb
> @@ -9,9 +9,9 @@ PROVIDES = "go-native"
>
>  # Checksums available at https://go.dev/dl/
>  SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}"
> -SRC_URI[go_linux_amd64.sha256sum] = "fc5d49b7a5035f1f1b265c17aa86e9819e6dc9af8260ad61430ee7fbe27881bb"
> -SRC_URI[go_linux_arm64.sha256sum] = "ed695684438facbd7e0f286c30b7bc2411cfc605516d8127dc25c62fe5b03885"
> -SRC_URI[go_linux_ppc64le.sha256sum] = "a6441d5da40a961039ec22b0aadbc8b513f52b31bb8919c359a7e2c3c5bcf26a"
> +SRC_URI[go_linux_amd64.sha256sum] = "5f467d29fc67c7ae6468cb6ad5b047a274bae8180cac5e0b7ddbfeba3e47e18f"
> +SRC_URI[go_linux_arm64.sha256sum] = "5c616b32dab04bb8c4c8700478381daea0174dc70083e4026321163879278a4a"
> +SRC_URI[go_linux_ppc64le.sha256sum] = "c546f27866510bf8e54e86fe6f58c705af0e894341e5572c91f197a734152c27"
>
>  UPSTREAM_CHECK_URI = "https://golang.org/dl/"
>  UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
> diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.22.7.bb b/meta/recipes-devtools/go/go-cross-canadian_1.22.8.bb
> similarity index 100%
> rename from meta/recipes-devtools/go/go-cross-canadian_1.22.7.bb
> rename to meta/recipes-devtools/go/go-cross-canadian_1.22.8.bb
> diff --git a/meta/recipes-devtools/go/go-cross_1.22.7.bb b/meta/recipes-devtools/go/go-cross_1.22.8.bb
> similarity index 100%
> rename from meta/recipes-devtools/go/go-cross_1.22.7.bb
> rename to meta/recipes-devtools/go/go-cross_1.22.8.bb
> diff --git a/meta/recipes-devtools/go/go-crosssdk_1.22.7.bb b/meta/recipes-devtools/go/go-crosssdk_1.22.8.bb
> similarity index 100%
> rename from meta/recipes-devtools/go/go-crosssdk_1.22.7.bb
> rename to meta/recipes-devtools/go/go-crosssdk_1.22.8.bb
> diff --git a/meta/recipes-devtools/go/go-runtime_1.22.7.bb b/meta/recipes-devtools/go/go-runtime_1.22.8.bb
> similarity index 100%
> rename from meta/recipes-devtools/go/go-runtime_1.22.7.bb
> rename to meta/recipes-devtools/go/go-runtime_1.22.8.bb
> diff --git a/meta/recipes-devtools/go/go_1.22.7.bb b/meta/recipes-devtools/go/go_1.22.8.bb
> similarity index 100%
> rename from meta/recipes-devtools/go/go_1.22.7.bb
> rename to meta/recipes-devtools/go/go_1.22.8.bb
> --
> 2.30.2
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#206401): https://lists.openembedded.org/g/openembedded-core/message/206401
> Mute This Topic: https://lists.openembedded.org/mt/109239515/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Marko, Peter Oct. 28, 2024, 8:08 p.m. UTC | #2
-----Original Message-----
> From: Alexander Kanavin <alex.kanavin@gmail.com>
> Sent: Monday, October 28, 2024 20:48
> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>
> Cc: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core][PATCH 2/2] go: upgrade 1.22.7 -> 1.22.8
> 
> Thanks, but should we rather update to actual latest, which is 1.23.2?
> 
> Alex

My intention is to fix CVEs in scarthgap and kirkstone mixin and update in
master is currently precondition for that as they share the version.
"major" golang version update is something I currently don't trust myself
to deliver in a quality to sign-off.

Peter

> 
> On Sun, 27 Oct 2024 at 14:40, Peter Marko via lists.openembedded.org
> <peter.marko=siemens.com@lists.openembedded.org> wrote:
> >
> > From: Peter Marko <peter.marko@siemens.com>
> >
> > Upgrade to latest 1.22.x release [1]:
> >
> > $ git --no-pager log --oneline go1.22.7..go1.22.8
> > aeccd613c8 (tag: go1.22.8) [release-branch.go1.22] go1.22.8
> > b4086b7c16 [release-branch.go1.22] syscall: skip TestAmbientCapsUserns
> when restricted, document
> > 6fab4b9a9e [release-branch.go1.22] runtime: size maps.Clone destination
> bucket array safely
> > 71655f14ce [release-branch.go1.22] cmd/cgo: correct padding required by
> alignment
> >
> > [1] https://github.com/golang/go/compare/go1.22.7...go1.22.8
> >
> > Signed-off-by: Peter Marko <peter.marko@siemens.com>
> > ---
> >  meta/recipes-devtools/go/{go-1.22.7.inc => go-1.22.8.inc}   | 2 +-
> >  ...o-binary-native_1.22.7.bb => go-binary-native_1.22.8.bb} | 6 +++---
> >  ...cross-canadian_1.22.7.bb => go-cross-canadian_1.22.8.bb} | 0
> >  .../go/{go-cross_1.22.7.bb => go-cross_1.22.8.bb}           | 0
> >  .../go/{go-crosssdk_1.22.7.bb => go-crosssdk_1.22.8.bb}     | 0
> >  .../go/{go-runtime_1.22.7.bb => go-runtime_1.22.8.bb}       | 0
> >  meta/recipes-devtools/go/{go_1.22.7.bb => go_1.22.8.bb}     | 0
> >  7 files changed, 4 insertions(+), 4 deletions(-)
> >  rename meta/recipes-devtools/go/{go-1.22.7.inc => go-1.22.8.inc} (89%)
> >  rename meta/recipes-devtools/go/{go-binary-native_1.22.7.bb => go-binary-
> native_1.22.8.bb} (78%)
> >  rename meta/recipes-devtools/go/{go-cross-canadian_1.22.7.bb => go-cross-
> canadian_1.22.8.bb} (100%)
> >  rename meta/recipes-devtools/go/{go-cross_1.22.7.bb => go-cross_1.22.8.bb}
> (100%)
> >  rename meta/recipes-devtools/go/{go-crosssdk_1.22.7.bb => go-
> crosssdk_1.22.8.bb} (100%)
> >  rename meta/recipes-devtools/go/{go-runtime_1.22.7.bb => go-
> runtime_1.22.8.bb} (100%)
> >  rename meta/recipes-devtools/go/{go_1.22.7.bb => go_1.22.8.bb} (100%)
> >
> > diff --git a/meta/recipes-devtools/go/go-1.22.7.inc b/meta/recipes-
> devtools/go/go-1.22.8.inc
> > similarity index 89%
> > rename from meta/recipes-devtools/go/go-1.22.7.inc
> > rename to meta/recipes-devtools/go/go-1.22.8.inc
> > index e54a902741..542519b930 100644
> > --- a/meta/recipes-devtools/go/go-1.22.7.inc
> > +++ b/meta/recipes-devtools/go/go-1.22.8.inc
> > @@ -15,4 +15,4 @@ SRC_URI += "\
> >      file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \
> >      file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \
> >  "
> > -SRC_URI[main.sha256sum] =
> "66432d87d85e0cfac3edffe637d5930fc4ddf5793313fe11e4a0f333023c879f"
> > +SRC_URI[main.sha256sum] =
> "df12c23ebf19dea0f4bf46a22cbeda4a3eca6f474f318390ce774974278440b8"
> > diff --git a/meta/recipes-devtools/go/go-binary-native_1.22.7.bb
> b/meta/recipes-devtools/go/go-binary-native_1.22.8.bb
> > similarity index 78%
> > rename from meta/recipes-devtools/go/go-binary-native_1.22.7.bb
> > rename to meta/recipes-devtools/go/go-binary-native_1.22.8.bb
> > index aba317fd38..98799eb503 100644
> > --- a/meta/recipes-devtools/go/go-binary-native_1.22.7.bb
> > +++ b/meta/recipes-devtools/go/go-binary-native_1.22.8.bb
> > @@ -9,9 +9,9 @@ PROVIDES = "go-native"
> >
> >  # Checksums available at https://go.dev/dl/
> >  SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-
> ${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}"
> > -SRC_URI[go_linux_amd64.sha256sum] =
> "fc5d49b7a5035f1f1b265c17aa86e9819e6dc9af8260ad61430ee7fbe27881bb"
> > -SRC_URI[go_linux_arm64.sha256sum] =
> "ed695684438facbd7e0f286c30b7bc2411cfc605516d8127dc25c62fe5b03885"
> > -SRC_URI[go_linux_ppc64le.sha256sum] =
> "a6441d5da40a961039ec22b0aadbc8b513f52b31bb8919c359a7e2c3c5bcf26a"
> > +SRC_URI[go_linux_amd64.sha256sum] =
> "5f467d29fc67c7ae6468cb6ad5b047a274bae8180cac5e0b7ddbfeba3e47e18f"
> > +SRC_URI[go_linux_arm64.sha256sum] =
> "5c616b32dab04bb8c4c8700478381daea0174dc70083e4026321163879278a4a"
> > +SRC_URI[go_linux_ppc64le.sha256sum] =
> "c546f27866510bf8e54e86fe6f58c705af0e894341e5572c91f197a734152c27"
> >
> >  UPSTREAM_CHECK_URI = "https://golang.org/dl/"
> >  UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
> > diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.22.7.bb
> b/meta/recipes-devtools/go/go-cross-canadian_1.22.8.bb
> > similarity index 100%
> > rename from meta/recipes-devtools/go/go-cross-canadian_1.22.7.bb
> > rename to meta/recipes-devtools/go/go-cross-canadian_1.22.8.bb
> > diff --git a/meta/recipes-devtools/go/go-cross_1.22.7.bb b/meta/recipes-
> devtools/go/go-cross_1.22.8.bb
> > similarity index 100%
> > rename from meta/recipes-devtools/go/go-cross_1.22.7.bb
> > rename to meta/recipes-devtools/go/go-cross_1.22.8.bb
> > diff --git a/meta/recipes-devtools/go/go-crosssdk_1.22.7.bb b/meta/recipes-
> devtools/go/go-crosssdk_1.22.8.bb
> > similarity index 100%
> > rename from meta/recipes-devtools/go/go-crosssdk_1.22.7.bb
> > rename to meta/recipes-devtools/go/go-crosssdk_1.22.8.bb
> > diff --git a/meta/recipes-devtools/go/go-runtime_1.22.7.bb b/meta/recipes-
> devtools/go/go-runtime_1.22.8.bb
> > similarity index 100%
> > rename from meta/recipes-devtools/go/go-runtime_1.22.7.bb
> > rename to meta/recipes-devtools/go/go-runtime_1.22.8.bb
> > diff --git a/meta/recipes-devtools/go/go_1.22.7.bb b/meta/recipes-
> devtools/go/go_1.22.8.bb
> > similarity index 100%
> > rename from meta/recipes-devtools/go/go_1.22.7.bb
> > rename to meta/recipes-devtools/go/go_1.22.8.bb
> > --
> > 2.30.2
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#206401):
> https://lists.openembedded.org/g/openembedded-core/message/206401
> > Mute This Topic: https://lists.openembedded.org/mt/109239515/1686489
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
> [alex.kanavin@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
Jose Quaresma Oct. 30, 2024, 4:09 p.m. UTC | #3
Peter Marko via lists.openembedded.org <peter.marko=
siemens.com@lists.openembedded.org> escreveu (segunda, 28/10/2024 à(s)
20:09):

> -----Original Message-----
> > From: Alexander Kanavin <alex.kanavin@gmail.com>
> > Sent: Monday, October 28, 2024 20:48
> > To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>
> > Cc: openembedded-core@lists.openembedded.org
> > Subject: Re: [OE-core][PATCH 2/2] go: upgrade 1.22.7 -> 1.22.8
> >
> > Thanks, but should we rather update to actual latest, which is 1.23.2?
> >
> > Alex
>
> My intention is to fix CVEs in scarthgap and kirkstone mixin and update in
> master is currently precondition for that as they share the version.
> "major" golang version update is something I currently don't trust myself
> to deliver in a quality to sign-off.
>
> Peter
>

I have a wip [1] branch with this update, it is mostly done but with
some buildpaths issues.
[1] https://git.yoctoproject.org/poky-contrib/log/?h=jquaresma/go

There are still some adaptations missing from 'CGO_LDFLAGS' to the new
'-ldflags'
according to [2] but that can be left for later.
[2] https://go.dev/doc/go1.23

If anyone wants to continue with this feel free, I would like to finish
this update
but I have been very busy at the moment and I don't know when I will be
able to get back to it.

Jose


>
> >
> > On Sun, 27 Oct 2024 at 14:40, Peter Marko via lists.openembedded.org
> > <peter.marko=siemens.com@lists.openembedded.org> wrote:
> > >
> > > From: Peter Marko <peter.marko@siemens.com>
> > >
> > > Upgrade to latest 1.22.x release [1]:
> > >
> > > $ git --no-pager log --oneline go1.22.7..go1.22.8
> > > aeccd613c8 (tag: go1.22.8) [release-branch.go1.22] go1.22.8
> > > b4086b7c16 [release-branch.go1.22] syscall: skip TestAmbientCapsUserns
> > when restricted, document
> > > 6fab4b9a9e [release-branch.go1.22] runtime: size maps.Clone destination
> > bucket array safely
> > > 71655f14ce [release-branch.go1.22] cmd/cgo: correct padding required by
> > alignment
> > >
> > > [1] https://github.com/golang/go/compare/go1.22.7...go1.22.8
> > >
> > > Signed-off-by: Peter Marko <peter.marko@siemens.com>
> > > ---
> > >  meta/recipes-devtools/go/{go-1.22.7.inc => go-1.22.8.inc}   | 2 +-
> > >  ...o-binary-native_1.22.7.bb => go-binary-native_1.22.8.bb} | 6
> +++---
> > >  ...cross-canadian_1.22.7.bb => go-cross-canadian_1.22.8.bb} | 0
> > >  .../go/{go-cross_1.22.7.bb => go-cross_1.22.8.bb}           | 0
> > >  .../go/{go-crosssdk_1.22.7.bb => go-crosssdk_1.22.8.bb}     | 0
> > >  .../go/{go-runtime_1.22.7.bb => go-runtime_1.22.8.bb}       | 0
> > >  meta/recipes-devtools/go/{go_1.22.7.bb => go_1.22.8.bb}     | 0
> > >  7 files changed, 4 insertions(+), 4 deletions(-)
> > >  rename meta/recipes-devtools/go/{go-1.22.7.inc => go-1.22.8.inc} (89%)
> > >  rename meta/recipes-devtools/go/{go-binary-native_1.22.7.bb =>
> go-binary-
> > native_1.22.8.bb} (78%)
> > >  rename meta/recipes-devtools/go/{go-cross-canadian_1.22.7.bb =>
> go-cross-
> > canadian_1.22.8.bb} (100%)
> > >  rename meta/recipes-devtools/go/{go-cross_1.22.7.bb =>
> go-cross_1.22.8.bb}
> > (100%)
> > >  rename meta/recipes-devtools/go/{go-crosssdk_1.22.7.bb => go-
> > crosssdk_1.22.8.bb} (100%)
> > >  rename meta/recipes-devtools/go/{go-runtime_1.22.7.bb => go-
> > runtime_1.22.8.bb} (100%)
> > >  rename meta/recipes-devtools/go/{go_1.22.7.bb => go_1.22.8.bb} (100%)
> > >
> > > diff --git a/meta/recipes-devtools/go/go-1.22.7.inc b/meta/recipes-
> > devtools/go/go-1.22.8.inc
> > > similarity index 89%
> > > rename from meta/recipes-devtools/go/go-1.22.7.inc
> > > rename to meta/recipes-devtools/go/go-1.22.8.inc
> > > index e54a902741..542519b930 100644
> > > --- a/meta/recipes-devtools/go/go-1.22.7.inc
> > > +++ b/meta/recipes-devtools/go/go-1.22.8.inc
> > > @@ -15,4 +15,4 @@ SRC_URI += "\
> > >
> file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \
> > >      file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch
> \
> > >  "
> > > -SRC_URI[main.sha256sum] =
> > "66432d87d85e0cfac3edffe637d5930fc4ddf5793313fe11e4a0f333023c879f"
> > > +SRC_URI[main.sha256sum] =
> > "df12c23ebf19dea0f4bf46a22cbeda4a3eca6f474f318390ce774974278440b8"
> > > diff --git a/meta/recipes-devtools/go/go-binary-native_1.22.7.bb
> > b/meta/recipes-devtools/go/go-binary-native_1.22.8.bb
> > > similarity index 78%
> > > rename from meta/recipes-devtools/go/go-binary-native_1.22.7.bb
> > > rename to meta/recipes-devtools/go/go-binary-native_1.22.8.bb
> > > index aba317fd38..98799eb503 100644
> > > --- a/meta/recipes-devtools/go/go-binary-native_1.22.7.bb
> > > +++ b/meta/recipes-devtools/go/go-binary-native_1.22.8.bb
> > > @@ -9,9 +9,9 @@ PROVIDES = "go-native"
> > >
> > >  # Checksums available at https://go.dev/dl/
> > >  SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-
> > ${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}"
> > > -SRC_URI[go_linux_amd64.sha256sum] =
> > "fc5d49b7a5035f1f1b265c17aa86e9819e6dc9af8260ad61430ee7fbe27881bb"
> > > -SRC_URI[go_linux_arm64.sha256sum] =
> > "ed695684438facbd7e0f286c30b7bc2411cfc605516d8127dc25c62fe5b03885"
> > > -SRC_URI[go_linux_ppc64le.sha256sum] =
> > "a6441d5da40a961039ec22b0aadbc8b513f52b31bb8919c359a7e2c3c5bcf26a"
> > > +SRC_URI[go_linux_amd64.sha256sum] =
> > "5f467d29fc67c7ae6468cb6ad5b047a274bae8180cac5e0b7ddbfeba3e47e18f"
> > > +SRC_URI[go_linux_arm64.sha256sum] =
> > "5c616b32dab04bb8c4c8700478381daea0174dc70083e4026321163879278a4a"
> > > +SRC_URI[go_linux_ppc64le.sha256sum] =
> > "c546f27866510bf8e54e86fe6f58c705af0e894341e5572c91f197a734152c27"
> > >
> > >  UPSTREAM_CHECK_URI = "https://golang.org/dl/"
> > >  UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
> > > diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.22.7.bb
> > b/meta/recipes-devtools/go/go-cross-canadian_1.22.8.bb
> > > similarity index 100%
> > > rename from meta/recipes-devtools/go/go-cross-canadian_1.22.7.bb
> > > rename to meta/recipes-devtools/go/go-cross-canadian_1.22.8.bb
> > > diff --git a/meta/recipes-devtools/go/go-cross_1.22.7.bb
> b/meta/recipes-
> > devtools/go/go-cross_1.22.8.bb
> > > similarity index 100%
> > > rename from meta/recipes-devtools/go/go-cross_1.22.7.bb
> > > rename to meta/recipes-devtools/go/go-cross_1.22.8.bb
> > > diff --git a/meta/recipes-devtools/go/go-crosssdk_1.22.7.bb
> b/meta/recipes-
> > devtools/go/go-crosssdk_1.22.8.bb
> > > similarity index 100%
> > > rename from meta/recipes-devtools/go/go-crosssdk_1.22.7.bb
> > > rename to meta/recipes-devtools/go/go-crosssdk_1.22.8.bb
> > > diff --git a/meta/recipes-devtools/go/go-runtime_1.22.7.bb
> b/meta/recipes-
> > devtools/go/go-runtime_1.22.8.bb
> > > similarity index 100%
> > > rename from meta/recipes-devtools/go/go-runtime_1.22.7.bb
> > > rename to meta/recipes-devtools/go/go-runtime_1.22.8.bb
> > > diff --git a/meta/recipes-devtools/go/go_1.22.7.bb b/meta/recipes-
> > devtools/go/go_1.22.8.bb
> > > similarity index 100%
> > > rename from meta/recipes-devtools/go/go_1.22.7.bb
> > > rename to meta/recipes-devtools/go/go_1.22.8.bb
> > > --
> > > 2.30.2
> > >
> > >
> > >
> > >
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#206463):
> https://lists.openembedded.org/g/openembedded-core/message/206463
> Mute This Topic: https://lists.openembedded.org/mt/109239515/5052612
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> quaresma.jose@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Jose Quaresma Oct. 30, 2024, 4:13 p.m. UTC | #4
Jose Quaresma via lists.openembedded.org <quaresma.jose=
gmail.com@lists.openembedded.org> escreveu (quarta, 30/10/2024 à(s) 16:09):

>
>
> Peter Marko via lists.openembedded.org <peter.marko=
> siemens.com@lists.openembedded.org> escreveu (segunda, 28/10/2024 à(s)
> 20:09):
>
>> -----Original Message-----
>> > From: Alexander Kanavin <alex.kanavin@gmail.com>
>> > Sent: Monday, October 28, 2024 20:48
>> > To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>
>> > Cc: openembedded-core@lists.openembedded.org
>> > Subject: Re: [OE-core][PATCH 2/2] go: upgrade 1.22.7 -> 1.22.8
>> >
>> > Thanks, but should we rather update to actual latest, which is 1.23.2?
>> >
>> > Alex
>>
>> My intention is to fix CVEs in scarthgap and kirkstone mixin and update in
>> master is currently precondition for that as they share the version.
>> "major" golang version update is something I currently don't trust myself
>> to deliver in a quality to sign-off.
>>
>> Peter
>>
>
> I have a wip [1] branch with this update, it is mostly done but with
> some buildpaths issues.
> [1] https://git.yoctoproject.org/poky-contrib/log/?h=jquaresma/go
>
> There are still some adaptations missing from 'CGO_LDFLAGS' to the new
> '-ldflags'
> according to [2] but that can be left for later.
> [2] https://go.dev/doc/go1.23
>
> If anyone wants to continue with this feel free, I would like to finish
> this update
> but I have been very busy at the moment and I don't know when I will be
> able to get back to it.
>
> Jose
>

Would it be acceptable to send what I have containing
the buildpaths INSANE_SKIP on the recipe go-runtime?

Jose


>
>>
>> >
>> > On Sun, 27 Oct 2024 at 14:40, Peter Marko via lists.openembedded.org
>> > <peter.marko=siemens.com@lists.openembedded.org> wrote:
>> > >
>> > > From: Peter Marko <peter.marko@siemens.com>
>> > >
>> > > Upgrade to latest 1.22.x release [1]:
>> > >
>> > > $ git --no-pager log --oneline go1.22.7..go1.22.8
>> > > aeccd613c8 (tag: go1.22.8) [release-branch.go1.22] go1.22.8
>> > > b4086b7c16 [release-branch.go1.22] syscall: skip TestAmbientCapsUserns
>> > when restricted, document
>> > > 6fab4b9a9e [release-branch.go1.22] runtime: size maps.Clone
>> destination
>> > bucket array safely
>> > > 71655f14ce [release-branch.go1.22] cmd/cgo: correct padding required
>> by
>> > alignment
>> > >
>> > > [1] https://github.com/golang/go/compare/go1.22.7...go1.22.8
>> > >
>> > > Signed-off-by: Peter Marko <peter.marko@siemens.com>
>> > > ---
>> > >  meta/recipes-devtools/go/{go-1.22.7.inc => go-1.22.8.inc}   | 2 +-
>> > >  ...o-binary-native_1.22.7.bb => go-binary-native_1.22.8.bb} | 6
>> +++---
>> > >  ...cross-canadian_1.22.7.bb => go-cross-canadian_1.22.8.bb} | 0
>> > >  .../go/{go-cross_1.22.7.bb => go-cross_1.22.8.bb}           | 0
>> > >  .../go/{go-crosssdk_1.22.7.bb => go-crosssdk_1.22.8.bb}     | 0
>> > >  .../go/{go-runtime_1.22.7.bb => go-runtime_1.22.8.bb}       | 0
>> > >  meta/recipes-devtools/go/{go_1.22.7.bb => go_1.22.8.bb}     | 0
>> > >  7 files changed, 4 insertions(+), 4 deletions(-)
>> > >  rename meta/recipes-devtools/go/{go-1.22.7.inc => go-1.22.8.inc}
>> (89%)
>> > >  rename meta/recipes-devtools/go/{go-binary-native_1.22.7.bb =>
>> go-binary-
>> > native_1.22.8.bb} (78%)
>> > >  rename meta/recipes-devtools/go/{go-cross-canadian_1.22.7.bb =>
>> go-cross-
>> > canadian_1.22.8.bb} (100%)
>> > >  rename meta/recipes-devtools/go/{go-cross_1.22.7.bb =>
>> go-cross_1.22.8.bb}
>> > (100%)
>> > >  rename meta/recipes-devtools/go/{go-crosssdk_1.22.7.bb => go-
>> > crosssdk_1.22.8.bb} (100%)
>> > >  rename meta/recipes-devtools/go/{go-runtime_1.22.7.bb => go-
>> > runtime_1.22.8.bb} (100%)
>> > >  rename meta/recipes-devtools/go/{go_1.22.7.bb => go_1.22.8.bb}
>> (100%)
>> > >
>> > > diff --git a/meta/recipes-devtools/go/go-1.22.7.inc b/meta/recipes-
>> > devtools/go/go-1.22.8.inc
>> > > similarity index 89%
>> > > rename from meta/recipes-devtools/go/go-1.22.7.inc
>> > > rename to meta/recipes-devtools/go/go-1.22.8.inc
>> > > index e54a902741..542519b930 100644
>> > > --- a/meta/recipes-devtools/go/go-1.22.7.inc
>> > > +++ b/meta/recipes-devtools/go/go-1.22.8.inc
>> > > @@ -15,4 +15,4 @@ SRC_URI += "\
>> > >
>> file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \
>> > >
>> file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \
>> > >  "
>> > > -SRC_URI[main.sha256sum] =
>> > "66432d87d85e0cfac3edffe637d5930fc4ddf5793313fe11e4a0f333023c879f"
>> > > +SRC_URI[main.sha256sum] =
>> > "df12c23ebf19dea0f4bf46a22cbeda4a3eca6f474f318390ce774974278440b8"
>> > > diff --git a/meta/recipes-devtools/go/go-binary-native_1.22.7.bb
>> > b/meta/recipes-devtools/go/go-binary-native_1.22.8.bb
>> > > similarity index 78%
>> > > rename from meta/recipes-devtools/go/go-binary-native_1.22.7.bb
>> > > rename to meta/recipes-devtools/go/go-binary-native_1.22.8.bb
>> > > index aba317fd38..98799eb503 100644
>> > > --- a/meta/recipes-devtools/go/go-binary-native_1.22.7.bb
>> > > +++ b/meta/recipes-devtools/go/go-binary-native_1.22.8.bb
>> > > @@ -9,9 +9,9 @@ PROVIDES = "go-native"
>> > >
>> > >  # Checksums available at https://go.dev/dl/
>> > >  SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-
>> > ${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}"
>> > > -SRC_URI[go_linux_amd64.sha256sum] =
>> > "fc5d49b7a5035f1f1b265c17aa86e9819e6dc9af8260ad61430ee7fbe27881bb"
>> > > -SRC_URI[go_linux_arm64.sha256sum] =
>> > "ed695684438facbd7e0f286c30b7bc2411cfc605516d8127dc25c62fe5b03885"
>> > > -SRC_URI[go_linux_ppc64le.sha256sum] =
>> > "a6441d5da40a961039ec22b0aadbc8b513f52b31bb8919c359a7e2c3c5bcf26a"
>> > > +SRC_URI[go_linux_amd64.sha256sum] =
>> > "5f467d29fc67c7ae6468cb6ad5b047a274bae8180cac5e0b7ddbfeba3e47e18f"
>> > > +SRC_URI[go_linux_arm64.sha256sum] =
>> > "5c616b32dab04bb8c4c8700478381daea0174dc70083e4026321163879278a4a"
>> > > +SRC_URI[go_linux_ppc64le.sha256sum] =
>> > "c546f27866510bf8e54e86fe6f58c705af0e894341e5572c91f197a734152c27"
>> > >
>> > >  UPSTREAM_CHECK_URI = "https://golang.org/dl/"
>> > >  UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
>> > > diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.22.7.bb
>> > b/meta/recipes-devtools/go/go-cross-canadian_1.22.8.bb
>> > > similarity index 100%
>> > > rename from meta/recipes-devtools/go/go-cross-canadian_1.22.7.bb
>> > > rename to meta/recipes-devtools/go/go-cross-canadian_1.22.8.bb
>> > > diff --git a/meta/recipes-devtools/go/go-cross_1.22.7.bb
>> b/meta/recipes-
>> > devtools/go/go-cross_1.22.8.bb
>> > > similarity index 100%
>> > > rename from meta/recipes-devtools/go/go-cross_1.22.7.bb
>> > > rename to meta/recipes-devtools/go/go-cross_1.22.8.bb
>> > > diff --git a/meta/recipes-devtools/go/go-crosssdk_1.22.7.bb
>> b/meta/recipes-
>> > devtools/go/go-crosssdk_1.22.8.bb
>> > > similarity index 100%
>> > > rename from meta/recipes-devtools/go/go-crosssdk_1.22.7.bb
>> > > rename to meta/recipes-devtools/go/go-crosssdk_1.22.8.bb
>> > > diff --git a/meta/recipes-devtools/go/go-runtime_1.22.7.bb
>> b/meta/recipes-
>> > devtools/go/go-runtime_1.22.8.bb
>> > > similarity index 100%
>> > > rename from meta/recipes-devtools/go/go-runtime_1.22.7.bb
>> > > rename to meta/recipes-devtools/go/go-runtime_1.22.8.bb
>> > > diff --git a/meta/recipes-devtools/go/go_1.22.7.bb b/meta/recipes-
>> > devtools/go/go_1.22.8.bb
>> > > similarity index 100%
>> > > rename from meta/recipes-devtools/go/go_1.22.7.bb
>> > > rename to meta/recipes-devtools/go/go_1.22.8.bb
>> > > --
>> > > 2.30.2
>> > >
>> > >
>> > >
>> > >
>>
>>
>>
>>
>
> --
> Best regards,
>
> José Quaresma
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#206552):
> https://lists.openembedded.org/g/openembedded-core/message/206552
> Mute This Topic: https://lists.openembedded.org/mt/109239515/5052612
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> quaresma.jose@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/meta/recipes-devtools/go/go-1.22.7.inc b/meta/recipes-devtools/go/go-1.22.8.inc
similarity index 89%
rename from meta/recipes-devtools/go/go-1.22.7.inc
rename to meta/recipes-devtools/go/go-1.22.8.inc
index e54a902741..542519b930 100644
--- a/meta/recipes-devtools/go/go-1.22.7.inc
+++ b/meta/recipes-devtools/go/go-1.22.8.inc
@@ -15,4 +15,4 @@  SRC_URI += "\
     file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \
     file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \
 "
-SRC_URI[main.sha256sum] = "66432d87d85e0cfac3edffe637d5930fc4ddf5793313fe11e4a0f333023c879f"
+SRC_URI[main.sha256sum] = "df12c23ebf19dea0f4bf46a22cbeda4a3eca6f474f318390ce774974278440b8"
diff --git a/meta/recipes-devtools/go/go-binary-native_1.22.7.bb b/meta/recipes-devtools/go/go-binary-native_1.22.8.bb
similarity index 78%
rename from meta/recipes-devtools/go/go-binary-native_1.22.7.bb
rename to meta/recipes-devtools/go/go-binary-native_1.22.8.bb
index aba317fd38..98799eb503 100644
--- a/meta/recipes-devtools/go/go-binary-native_1.22.7.bb
+++ b/meta/recipes-devtools/go/go-binary-native_1.22.8.bb
@@ -9,9 +9,9 @@  PROVIDES = "go-native"
 
 # Checksums available at https://go.dev/dl/
 SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}"
-SRC_URI[go_linux_amd64.sha256sum] = "fc5d49b7a5035f1f1b265c17aa86e9819e6dc9af8260ad61430ee7fbe27881bb"
-SRC_URI[go_linux_arm64.sha256sum] = "ed695684438facbd7e0f286c30b7bc2411cfc605516d8127dc25c62fe5b03885"
-SRC_URI[go_linux_ppc64le.sha256sum] = "a6441d5da40a961039ec22b0aadbc8b513f52b31bb8919c359a7e2c3c5bcf26a"
+SRC_URI[go_linux_amd64.sha256sum] = "5f467d29fc67c7ae6468cb6ad5b047a274bae8180cac5e0b7ddbfeba3e47e18f"
+SRC_URI[go_linux_arm64.sha256sum] = "5c616b32dab04bb8c4c8700478381daea0174dc70083e4026321163879278a4a"
+SRC_URI[go_linux_ppc64le.sha256sum] = "c546f27866510bf8e54e86fe6f58c705af0e894341e5572c91f197a734152c27"
 
 UPSTREAM_CHECK_URI = "https://golang.org/dl/"
 UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.22.7.bb b/meta/recipes-devtools/go/go-cross-canadian_1.22.8.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-cross-canadian_1.22.7.bb
rename to meta/recipes-devtools/go/go-cross-canadian_1.22.8.bb
diff --git a/meta/recipes-devtools/go/go-cross_1.22.7.bb b/meta/recipes-devtools/go/go-cross_1.22.8.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-cross_1.22.7.bb
rename to meta/recipes-devtools/go/go-cross_1.22.8.bb
diff --git a/meta/recipes-devtools/go/go-crosssdk_1.22.7.bb b/meta/recipes-devtools/go/go-crosssdk_1.22.8.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-crosssdk_1.22.7.bb
rename to meta/recipes-devtools/go/go-crosssdk_1.22.8.bb
diff --git a/meta/recipes-devtools/go/go-runtime_1.22.7.bb b/meta/recipes-devtools/go/go-runtime_1.22.8.bb
similarity index 100%
rename from meta/recipes-devtools/go/go-runtime_1.22.7.bb
rename to meta/recipes-devtools/go/go-runtime_1.22.8.bb
diff --git a/meta/recipes-devtools/go/go_1.22.7.bb b/meta/recipes-devtools/go/go_1.22.8.bb
similarity index 100%
rename from meta/recipes-devtools/go/go_1.22.7.bb
rename to meta/recipes-devtools/go/go_1.22.8.bb