diff mbox series

fragments/autobuilder: add go to SDK_TOOLCHAIN_LANGS

Message ID 20250814105604.3586651-1-alex.kanavin@gmail.com
State New
Headers show
Series fragments/autobuilder: add go to SDK_TOOLCHAIN_LANGS | expand

Commit Message

Alexander Kanavin Aug. 14, 2025, 10:56 a.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

For reasons unknown, only rust was listed, which means
nativesdk-go was not built or tested, which lead to
breakage like one fixed in
https://git.yoctoproject.org/poky/commit/?id=a669cd2e0c760da9d7e872daea9590fc9e86d766

Note that with this change only building and installing go
into SDKsis tested, but no tests are performed with the
toolchain itself in testsdk/testimage.

For that, a bug has been filed:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15953

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta/conf/fragments/yocto-autobuilder/autobuilder.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Richard Purdie Aug. 14, 2025, 10 p.m. UTC | #1
On Thu, 2025-08-14 at 12:56 +0200, Alexander Kanavin via lists.openembedded.org wrote:
> From: Alexander Kanavin <alex@linutronix.de>
> 
> For reasons unknown, only rust was listed, which means
> nativesdk-go was not built or tested, which lead to
> breakage like one fixed in
> https://git.yoctoproject.org/poky/commit/?id=a669cd2e0c760da9d7e872daea9590fc9e86d766
> 
> Note that with this change only building and installing go
> into SDKsis tested, but no tests are performed with the
> toolchain itself in testsdk/testimage.
> 
> For that, a bug has been filed:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=15953
> 
> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> ---
>  meta/conf/fragments/yocto-autobuilder/autobuilder.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/conf/fragments/yocto-autobuilder/autobuilder.conf b/meta/conf/fragments/yocto-autobuilder/autobuilder.conf
> index e3bac343390..85987b08995 100644
> --- a/meta/conf/fragments/yocto-autobuilder/autobuilder.conf
> +++ b/meta/conf/fragments/yocto-autobuilder/autobuilder.conf
> @@ -9,5 +9,5 @@ IMAGE_CLASSES += 'testimage'
>  SDK_EXT_TYPE = 'minimal'
>  SDK_INCLUDE_TOOLCHAIN = '1'
>  ESDK_LOCALCONF_REMOVE:append = 'BB_HASHSERVE'
> -SDK_TOOLCHAIN_LANGS += 'rust'
> +SDK_TOOLCHAIN_LANGS += 'go rust'

Sadly there is at least this failure:

https://autobuilder.yoctoproject.org/valkyrie/#/builders/11/builds/2195

Cheers,

Richard
Alexander Kanavin Aug. 15, 2025, 10:21 a.m. UTC | #2
On Fri, 15 Aug 2025 at 00:00, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> > -SDK_TOOLCHAIN_LANGS += 'rust'
> > +SDK_TOOLCHAIN_LANGS += 'go rust'
>
> Sadly there is at least this failure:
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/11/builds/2195

go is incompatible with x32, and still fails to build there. I sent a
v2 with an exclusion.

Alex
diff mbox series

Patch

diff --git a/meta/conf/fragments/yocto-autobuilder/autobuilder.conf b/meta/conf/fragments/yocto-autobuilder/autobuilder.conf
index e3bac343390..85987b08995 100644
--- a/meta/conf/fragments/yocto-autobuilder/autobuilder.conf
+++ b/meta/conf/fragments/yocto-autobuilder/autobuilder.conf
@@ -9,5 +9,5 @@  IMAGE_CLASSES += 'testimage'
 SDK_EXT_TYPE = 'minimal'
 SDK_INCLUDE_TOOLCHAIN = '1'
 ESDK_LOCALCONF_REMOVE:append = 'BB_HASHSERVE'
-SDK_TOOLCHAIN_LANGS += 'rust'
+SDK_TOOLCHAIN_LANGS += 'go rust'