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
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.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#231432): 
https://lists.openembedded.org/g/openembedded-core/message/231432
Mute This Topic: https://lists.openembedded.org/mt/117893866/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to