diff mbox series

packagegroup-go-sdk-target: remove go from packagegroup

Message ID 20251219102956.442714-1-changqing.li@windriver.com
State New
Headers show
Series packagegroup-go-sdk-target: remove go from packagegroup | expand

Commit Message

Changqing Li Dec. 19, 2025, 10:29 a.m. UTC
From: Changqing Li <changqing.li@windriver.com>

This is for fixing the following error of 'bitbake meta-go-toolchain'
when multilib is enabled:
Error: Transaction test error:
  file /usr/bin/go conflicts between attempted installs of go-1.25.4-r0.x86_64_v3 and lib32-go-1.25.4-r0.core2_32
  file /usr/bin/gofmt conflicts between attempted installs of go-1.25.4-r0.x86_64_v3 and lib32-go-1.25.4-r0.core2_32

Package go only contains some tools, it is not needed to be installed
into sdk, target go tools is not expected to be used in sdk.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb | 1 -
 1 file changed, 1 deletion(-)

Comments

Alexander Kanavin Dec. 19, 2025, 10:42 a.m. UTC | #1
On Fri, 19 Dec 2025 at 11:30, Changqing Li via lists.openembedded.org
<changqing.li=windriver.com@lists.openembedded.org> wrote:
>  RDEPENDS:${PN} = " \
> -    go \
>      go-runtime \
>      go-runtime-dev \
>  "

These packagegroups are intended to provide the entire toolchain,
including the compiler.

Alex
diff mbox series

Patch

diff --git a/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb b/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb
index c03918acc8..52dba3d2ff 100644
--- a/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb
@@ -3,7 +3,6 @@  SUMMARY = "Target packages for the Go SDK"
 inherit packagegroup goarch
 
 RDEPENDS:${PN} = " \
-    go \
     go-runtime \
     go-runtime-dev \
 "