* [PATCH 0/1] target-sdk-provides-dummy: extend packages for multilib case
@ 2019-08-16 2:06 Chen Qi
2019-08-16 2:06 ` [PATCH 1/1] " Chen Qi
0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2019-08-16 2:06 UTC (permalink / raw)
To: openembedded-core
*** BLURB HERE ***
The following changes since commit 5f0d31ce4653f7a76a5226fa379a285ceca19d63:
bitbake: runqueue: Ensure data is handled correctly (2019-08-15 13:32:06 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/dummy-multilib
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/dummy-multilib
Chen Qi (1):
target-sdk-provides-dummy: extend packages for multilib case
meta/recipes-core/meta/target-sdk-provides-dummy.bb | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] target-sdk-provides-dummy: extend packages for multilib case
2019-08-16 2:06 [PATCH 0/1] target-sdk-provides-dummy: extend packages for multilib case Chen Qi
@ 2019-08-16 2:06 ` Chen Qi
0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2019-08-16 2:06 UTC (permalink / raw)
To: openembedded-core
If we have installed some lib32 package which depends on perl/bash,
then populating sdk for that image would fail with the following error.
Error:
Problem: package lib32-libxml-namespacesupport-perl-1.12-r0.corei7_32 requires lib32-perl, but none of the providers can be installed
package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with /usr/bin/perl provided by lib32-perl-5.30.0-r0.corei7_32
package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with libperl.so.5 provided by lib32-perl-5.30.0-r0.corei7_32
This could be produced by the following steps:
1. IMAGE_INSTALL_append = " lib32-valgrind"
2. bitbake core-image-minimal -c populate_sdk
We need to extend all packages in DUMMYPROVIDES to avoid such problems.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/recipes-core/meta/target-sdk-provides-dummy.bb | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-core/meta/target-sdk-provides-dummy.bb b/meta/recipes-core/meta/target-sdk-provides-dummy.bb
index c33cb80..87b8bfa 100644
--- a/meta/recipes-core/meta/target-sdk-provides-dummy.bb
+++ b/meta/recipes-core/meta/target-sdk-provides-dummy.bb
@@ -1,6 +1,6 @@
DUMMYARCH = "sdk-provides-dummy-target"
-DUMMYPROVIDES = "\
+DUMMYPROVIDES_PACKAGES = "\
busybox \
busybox-dev \
busybox-src \
@@ -42,15 +42,19 @@ DUMMYPROVIDES = "\
perl-module-threads \
perl-module-warnings \
perl-module-warnings-register \
+ pkgconfig \
+ pkgconfig-dev \
+ pkgconfig-src \
+"
+
+DUMMYPROVIDES = "\
+ ${@' '.join([multilib_pkg_extend(d, pkg) for pkg in d.getVar('DUMMYPROVIDES_PACKAGES').split()])} \
/bin/sh \
/bin/bash \
/usr/bin/env \
/usr/bin/perl \
libperl.so.5 \
libperl.so.5()(64bit) \
- pkgconfig \
- pkgconfig-dev \
- pkgconfig-src \
"
require dummy-sdk-package.inc
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-16 1:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-16 2:06 [PATCH 0/1] target-sdk-provides-dummy: extend packages for multilib case Chen Qi
2019-08-16 2:06 ` [PATCH 1/1] " Chen Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox