On 2020-12-24 2:03 a.m., Chen Qi wrote:
ping

Ping v2.

Is there a problem with this solution or
do you think we shouldn't handle the use case for some reason?

../Randy

On 12/08/2020 09:58 AM, Jiping Ma wrote:
1. Build SDK without "MULTILIBS = """ in local.conf.
2. Build SDK again with "MULTILIBS = """ in local.conf, build will fail with 
the error info.
Error:
  Problem: conflicting requests
   - nothing provides binutils-cross-canadian-arm needed by 
packagegroup-cross-canadian-nxp-ls1028-1.0-r0.x86_64_nativesdk
   - ......

Signed-off-by: Jiping Ma<[email protected]>
---
  .../packagegroups/packagegroup-cross-canadian.bb  | 15 ++++++++++-----
  1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb 
b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
index 3b430c0814..b6b3e5235f 100644
--- a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
@@ -17,8 +17,13 @@ RDEPENDS_${PN} = "\
      meta-environment-${MACHINE} \
      "
-# When TUNE_ARCH changes but MACHINE does not (for example when a machine definition is updated),
-# cross-canadian.bbclass prevents variable dependency propagation to 
TRANSLATED_TARGET_ARCH
-# This will result in erroneous reuse of previous sstate packages. The 
following line
-# establishes a direct dependency instead.
-do_package[vardeps] += "TUNE_ARCH"
+# When TUNE_ARCH, GCC, GDB, BINUTILS changes but MACHINE does not (for example 
when a machine
+# definition is updated), cross-canadian.bbclass prevents variable dependency 
propagation to
+# TRANSLATED_TARGET_ARCH This will result in erroneous reuse of previous 
sstate packages. The
+# following line establishes a direct dependency instead.
+do_package[vardeps] += "\
+    ${@all_multilib_tune_values(d, 'BINUTILS')} \
+    ${@all_multilib_tune_values(d, 'GDB')} \
+    ${@all_multilib_tune_values(d, 'GCC')} \
+    TUNE_ARCH \
+    "









--
# Randy MacLeod
# Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#146365): 
https://lists.openembedded.org/g/openembedded-core/message/146365
Mute This Topic: https://lists.openembedded.org/mt/78794572/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to