Bug 15061 - Rust multilib sdks broken
Summary: Rust multilib sdks broken
Status: IN PROGRESS IMPLEMENTATION
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 6.1 M2
Assignee: Harish Sadineni
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2023-03-08 16:37 UTC by Richard Purdie
Modified: 2026-10-21 07:39 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2023-03-08 16:37:33 UTC
Error: Transaction test error:
  file /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/environment-setup.d/cargo.sh conflicts between attempted installs of rust-cross-canadian-arm-1.67.1-r0.x86_64_nativesdk and rust-cross-canadian-aarch64-1.67.1-r0.x86_64_nativesdk
  file /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/environment-setup.d/rust.sh conflicts between attempted installs of rust-cross-canadian-arm-1.67.1-r0.x86_64_nativesdk and rust-cross-canadian-aarch64-1.67.1-r0.x86_64_nativesdk
ERROR: Task (virtual:multilib:lib32:/media/build/poky/meta/recipes-sato/images/core-image-sato.bb:do_populate_sdk) failed with exit code '1'

local.conf:

require conf/multilib.conf
MACHINE = "qemuarm64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 = "armv7athf-neon"

then running:

bitbake lib32-core-image-sato -c populate_sdk

to reproduce.
Comment 1 Randy MacLeod 2023-05-29 14:55:11 UTC
Patch in internal review. Sending to oe-core soon hopefully.
Comment 2 Randy MacLeod 2023-10-30 15:41:02 UTC
Deepthi, 

Did this ever get reviewed and merged?
If so please provide a link to the commit on oe-core.
Thanks, Randy
Comment 3 Deepthi 2023-11-08 06:12:33 UTC
Hi Randy,

Sorry for the late reply. Posted the patch https://lists.openembedded.org/g/openembedded-core/message/190304
Comment 4 Deepthi 2023-12-11 11:07:33 UTC
Edited and posted another patch as per Ross's comments: https://lists.openembedded.org/g/openembedded-core/message/191481
Comment 5 Randy MacLeod 2024-04-25 01:29:26 UTC
Deepthi, was you new patch accepted?
If so, please share an oe-core commit link or move to 5.1-M1
Comment 7 Randy MacLeod 2025-06-30 14:08:48 UTC
There is an issue reported here on that patch, https://lists.openembedded.org/g/openembedded-core/message/214324
Comment 9 Randy MacLeod 2026-03-31 14:38:49 UTC
We need to implement some test cases.