mbox series

[meta-lts-mixins,scarthgap/go,RFC,00/34] initial scarthgap/go version

Message ID 20251113125712.18914-1-peter.marko@siemens.com
Headers show
Series initial scarthgap/go version | expand

Message

Marko, Peter Nov. 13, 2025, 12:56 p.m. UTC
Hello everyone,

here is initial draft of meta-lts-mixins scarthgap/go branch.
Compared to kirkstone/go this now also contains proper testing.
Functionality is I think equivalent to current kirsktone/go branch.

Note that the testing depends on not-yet-merged series
  https://lists.openembedded.org/g/openembedded-core/message/226238

Creation notes:
* base commit copied from kirkstone/go branch
  * adapted release name and removed obsolete lines from layer.conf
* all recipe changes from master were picked into this series except those not suitable for scarthgap
  * 7321cc17ae5483f17fe9cdffea7b62acd9d9c3a2 meta: set S to be in UNPACKDIR in recipes that explicitly set
  * 4ccc3bc8266c327bcc18c9a3faf7536210dfb9f0 classes/recipes: Switch virtual/XXX-gcc to virtual/cross-cc (and c++/binutils)
* all test changes from master were submitted as backports to openembedded-core (link above)
* 3 patches were sent to openembedded master branch upstream based on testing and file comparison
  * https://lists.openembedded.org/g/openembedded-core/message/226226 oeqa: fix package detection in go sdk tests
  * https://lists.openembedded.org/g/openembedded-core/message/226231 go-helloworld: fix license
  * https://lists.openembedded.org/g/openembedded-core/message/226237 oeqa: drop unnecessary dependency from go runtime tests
* class/lib changes between scarthgap and master are following:
  * $ git log --oneline 8f46f60a703defc3e74adad382320c129cef0b06..origin/master -- \
        meta/classes/go-vendor.bbclass meta/classes-recipe/go.bbclass \
        meta/classes-recipe/goarch.bbclass meta/classes-recipe/go-mod.bbclass \
        meta/classes-recipe/go-ptest.bbclass meta/classes-recipe/go-mod-update-modules.bbclass
    26368cfb91 go-mod-update-modules.bbclass: Update license finding
    cfff8e9682 goarch.bbclass: do not leak TUNE_FEATURES into crosssdk task signatures
    0aa406d058 recipetool/create_go: proxy module fetching to go-mod-update-modules
    34bb889ffa classes/go-mod-update-modules: add class to generate module list
    5f8218c626 go-mod.bbclass: Calculate GO_MOD_CACHE_DIR relative to ${UNPACKDIR}
    374a91204b go: Check if GO_IMPORT is set in recipe and error if not
    791ab77ac0 go: remove support for GOROOT_FINAL
    30ea609d33 meta/meta-selftest: Fix variable assignment whitespace
    6c4e3206b6 classes: go-vendor: Change symlink creation.
    fc4f589cc7 go-vendor: Fix absolute paths issue
    114fe16f96 classes/go-vendor: Use UNPACKDIR instead of WORKDIR
    35496654db go-mod.bbclass: Unpack module dependency license files
    287daff0bb go-mod.bbclass: Set GO_MOD_CACHE_DIR
    cc4ec43a2b go: Drop fork of unpack code, mandate GO_SRCURI_DESTSUFFIX
  * there are mostly changes to directory layout, fetching and style or new go-mod-update-modules class
  * GOROOT_FINAL can be kept as unused variable like in scarthgap
  * TUNE_FEATURES fix is being backported to scarthgap and kirkstone opembedded-core

Peter

---

Alexander Kanavin (4):
  go-helloworld: update to latest revision
  go-helloworld: update to latest revision
  go-helloworld: update to latest revision
  meta: remove consecutive blank lines

Gyorgy Sarvari (1):
  go-helloworld: update to latest revision

Hongxu Jia (4):
  go: upgrade 1.22.12 -> 1.24.0
  go: fix buildpath issue for go-runtime
  go: remove support for GOROOT_FINAL
  tcmode-default: bump GOVERSION to 1.24.0

Jose Quaresma (1):
  Revert "go: Drop fork of unpack code, mandate GO_SRCURI_DESTSUFFIX"

Khem Raj (1):
  go-cross: Disable build with ccache

Osama Abdelkader (1):
  go-cross-canadian: fix binaries install and GOARCH

Peter Marko (18):
  Initial commit: add license, readme and layer config
  go-helloworld: add from openembedded-core scarthgap
  go: add from openembedded-core scarthgap
  go-helloworld: fix license
  go: upgrade 1.24.0 -> 1.24.1
  go: upgrade 1.24.1 -> 1.24.2
  go: upgrade 1.24.2 -> 1.24.3
  go: upgrade 1.24.3 -> 1.24.4
  go: set status of CVE-2024-3566
  go: upgrade 1.24.4 -> 1.24.5
  go: upgrade 1.24.5 -> 1.24.6
  go: upgrade 1.24.6 -> 1.25.0
  conf/layer: switch to golang 1.25
  go: upgrade 1.25.0 -> 1.25.1
  go: upgrade 1.25.1 -> 1.25.2
  go: upgrade 1.25.2 -> 1.25.3
  readme: update to markdown format
  readme: add QA chapter

Randolph Sapp (1):
  go: fix sigaction usage on i386 platforms

Richard Purdie (3):
  go: Drop fork of unpack code, mandate GO_SRCURI_DESTSUFFIX
  meta/meta-selftest: Fix variable assignment whitespace
  go: Fix to work without gold on aarch64

Comments

Jose Quaresma Nov. 14, 2025, 11:46 a.m. UTC | #1
Hi Peter,

Very nice work putting all of that in place and much better than the
kirkstone/go.
I will try to help in any way I can with the maintenance of the layer.

Thank you very much for the hard work.

Jose

Peter Marko via lists.yoctoproject.org <peter.marko=
siemens.com@lists.yoctoproject.org> escreveu (quinta, 13/11/2025 à(s)
12:57):

> Hello everyone,
>
> here is initial draft of meta-lts-mixins scarthgap/go branch.
> Compared to kirkstone/go this now also contains proper testing.
> Functionality is I think equivalent to current kirsktone/go branch.
>
> Note that the testing depends on not-yet-merged series
>   https://lists.openembedded.org/g/openembedded-core/message/226238
>
> Creation notes:
> * base commit copied from kirkstone/go branch
>   * adapted release name and removed obsolete lines from layer.conf
> * all recipe changes from master were picked into this series except those
> not suitable for scarthgap
>   * 7321cc17ae5483f17fe9cdffea7b62acd9d9c3a2 meta: set S to be in
> UNPACKDIR in recipes that explicitly set
>   * 4ccc3bc8266c327bcc18c9a3faf7536210dfb9f0 classes/recipes: Switch
> virtual/XXX-gcc to virtual/cross-cc (and c++/binutils)
> * all test changes from master were submitted as backports to
> openembedded-core (link above)
> * 3 patches were sent to openembedded master branch upstream based on
> testing and file comparison
>   * https://lists.openembedded.org/g/openembedded-core/message/226226
> oeqa: fix package detection in go sdk tests
>   * https://lists.openembedded.org/g/openembedded-core/message/226231
> go-helloworld: fix license
>   * https://lists.openembedded.org/g/openembedded-core/message/226237
> oeqa: drop unnecessary dependency from go runtime tests
> * class/lib changes between scarthgap and master are following:
>   * $ git log --oneline
> 8f46f60a703defc3e74adad382320c129cef0b06..origin/master -- \
>         meta/classes/go-vendor.bbclass meta/classes-recipe/go.bbclass \
>         meta/classes-recipe/goarch.bbclass
> meta/classes-recipe/go-mod.bbclass \
>         meta/classes-recipe/go-ptest.bbclass
> meta/classes-recipe/go-mod-update-modules.bbclass
>     26368cfb91 go-mod-update-modules.bbclass: Update license finding
>     cfff8e9682 goarch.bbclass: do not leak TUNE_FEATURES into crosssdk
> task signatures
>     0aa406d058 recipetool/create_go: proxy module fetching to
> go-mod-update-modules
>     34bb889ffa classes/go-mod-update-modules: add class to generate module
> list
>     5f8218c626 go-mod.bbclass: Calculate GO_MOD_CACHE_DIR relative to
> ${UNPACKDIR}
>     374a91204b go: Check if GO_IMPORT is set in recipe and error if not
>     791ab77ac0 go: remove support for GOROOT_FINAL
>     30ea609d33 meta/meta-selftest: Fix variable assignment whitespace
>     6c4e3206b6 classes: go-vendor: Change symlink creation.
>     fc4f589cc7 go-vendor: Fix absolute paths issue
>     114fe16f96 classes/go-vendor: Use UNPACKDIR instead of WORKDIR
>     35496654db go-mod.bbclass: Unpack module dependency license files
>     287daff0bb go-mod.bbclass: Set GO_MOD_CACHE_DIR
>     cc4ec43a2b go: Drop fork of unpack code, mandate GO_SRCURI_DESTSUFFIX
>   * there are mostly changes to directory layout, fetching and style or
> new go-mod-update-modules class
>   * GOROOT_FINAL can be kept as unused variable like in scarthgap
>   * TUNE_FEATURES fix is being backported to scarthgap and kirkstone
> opembedded-core
>
> Peter
>
> ---
>
> Alexander Kanavin (4):
>   go-helloworld: update to latest revision
>   go-helloworld: update to latest revision
>   go-helloworld: update to latest revision
>   meta: remove consecutive blank lines
>
> Gyorgy Sarvari (1):
>   go-helloworld: update to latest revision
>
> Hongxu Jia (4):
>   go: upgrade 1.22.12 -> 1.24.0
>   go: fix buildpath issue for go-runtime
>   go: remove support for GOROOT_FINAL
>   tcmode-default: bump GOVERSION to 1.24.0
>
> Jose Quaresma (1):
>   Revert "go: Drop fork of unpack code, mandate GO_SRCURI_DESTSUFFIX"
>
> Khem Raj (1):
>   go-cross: Disable build with ccache
>
> Osama Abdelkader (1):
>   go-cross-canadian: fix binaries install and GOARCH
>
> Peter Marko (18):
>   Initial commit: add license, readme and layer config
>   go-helloworld: add from openembedded-core scarthgap
>   go: add from openembedded-core scarthgap
>   go-helloworld: fix license
>   go: upgrade 1.24.0 -> 1.24.1
>   go: upgrade 1.24.1 -> 1.24.2
>   go: upgrade 1.24.2 -> 1.24.3
>   go: upgrade 1.24.3 -> 1.24.4
>   go: set status of CVE-2024-3566
>   go: upgrade 1.24.4 -> 1.24.5
>   go: upgrade 1.24.5 -> 1.24.6
>   go: upgrade 1.24.6 -> 1.25.0
>   conf/layer: switch to golang 1.25
>   go: upgrade 1.25.0 -> 1.25.1
>   go: upgrade 1.25.1 -> 1.25.2
>   go: upgrade 1.25.2 -> 1.25.3
>   readme: update to markdown format
>   readme: add QA chapter
>
> Randolph Sapp (1):
>   go: fix sigaction usage on i386 platforms
>
> Richard Purdie (3):
>   go: Drop fork of unpack code, mandate GO_SRCURI_DESTSUFFIX
>   meta/meta-selftest: Fix variable assignment whitespace
>   go: Fix to work without gold on aarch64
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#2515):
> https://lists.yoctoproject.org/g/yocto-patches/message/2515
> Mute This Topic: https://lists.yoctoproject.org/mt/116273402/5052612
> Group Owner: yocto-patches+owner@lists.yoctoproject.org
> Unsubscribe:
> https://lists.yoctoproject.org/g/yocto-patches/leave/13170708/5052612/1504338242/xyzzy
> [quaresma.jose@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
>