From: navinreddy23@gmail.com
To: openembedded-core@lists.openembedded.org
Subject: How to backport latest go version?
Date: Thu, 19 Feb 2026 07:38:23 -0800 [thread overview]
Message-ID: <nOYT.1771515503207887946.99kd@lists.openembedded.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 776 bytes --]
Hello all,
I am currently using scarthgap branch and was not able to successfully backport latest go version 1.26.0.
I have created a custom layer (meta-dummy) and added all the files from recipes-devtools/go of Whinlatter branch. Yet, when I invoke bitbake recipe-name, I get the old version which is present as
❯ tmp/sysroots-components/x86_64/go-cross-armv8a/usr/lib/aarch64-tdx-linux/go/bin/go version
go version go1.22.12 linux/amd64
I am able to set the preferred version in local.conf and it builds fine and I am able toverify the binary version for the host.
PREFERRED_VERSION_go="1.26.0"
PREFERRED_VERSION_go-native="1.26.0"
PREFERRED_VERSION_go-cross="1.26.0"
Am I missing something here? Is it the right way to backport?
Best regards,
Navin
[-- Attachment #1.2: Type: text/html, Size: 972 bytes --]
[-- Attachment #2: log.txt --]
[-- Type: text/plain, Size: 1776 bytes --]
Sstate summary: Wanted 12 Local 5 Mirrors 0 Missed 7 Current 498 (41% match, 98% complete)############################################################################################################################################### | ETA: 0:00:00
Initialising tasks: 100% |#######################################################################################################################################################################################################################################| Time: 0:00:00
NOTE: Executing Tasks
ERROR: displaysettingstui-0.0.5+git-r0 do_compile: ExecutionError('/home/navin/Playground/build/tmp/work/armv8a-tdx-linux/displaysettingstui/0.0.5+git/temp/run.do_compile.349729', 1, None, None)
ERROR: Logfile of failure stored in: /home/navin/Playground/build/tmp/work/armv8a-tdx-linux/displaysettingstui/0.0.5+git/temp/log.do_compile.349729
Log data follows:
| DEBUG: Executing shell function do_compile
| go: go.mod requires go >= 1.25.1 (running go 1.22.12)
| go: go.mod requires go >= 1.25.1 (running go 1.22.12)
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/navin/Playground/layers/meta-dummy/recipes-example/displaysettingstui/displaysettingstui_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1226 tasks of which 1225 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 3 seconds
Summary: 1 task failed:
/home/navin/Playground/layers/meta-dummy/recipes-example/displaysettingstui/displaysettingstui_git.bb:do_compile
log: /home/navin/Playground/build/tmp/work/armv8a-tdx-linux/displaysettingstui/0.0.5+git/temp/log.do_compile.349729
Summary: There was 1 ERROR message, returning a non-zero exit code.
next reply other threads:[~2026-02-19 15:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-19 15:38 navinreddy23 [this message]
2026-02-19 15:49 ` [OE-core] How to backport latest go version? Yoann Congal
[not found] ` <48326.1771577023423291484@lists.openembedded.org>
2026-02-20 9:00 ` Private: " Yoann Congal
[not found] ` <CACNOY6JqR97WvxzCxPcp_BMrcB3xr-MKUHGyDuH0OWcF3L=gzg@mail.gmail.com>
[not found] ` <DGJOKQ7XZ0AN.1UKSUPQOVW00S@smile.fr>
2026-02-20 14:15 ` Navin R
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nOYT.1771515503207887946.99kd@lists.openembedded.org \
--to=navinreddy23@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox