On 12/5/23 23:39, Yoann Congal wrote:
Hi,
Le 05/12/2023 à 15:50, Kai Kang a écrit :
From: Kai Kang <kai.k...@windriver.com>
Add 'native' to BBCLASSEXTEND to provides python3-pyudev-native which is
required by lvm2 when package config 'dbus' is enabled.
Signed-off-by: Kai Kang <kai.k...@windriver.com>
---
meta-python/recipes-devtools/python/python3-pyudev_0.24.1.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-python/recipes-devtools/python/python3-pyudev_0.24.1.bb
b/meta-python/recipes-devtools/python/python3-pyudev_0.24.1.bb
index 6fcf346bc..8bc3afdb5 100644
--- a/meta-python/recipes-devtools/python/python3-pyudev_0.24.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pyudev_0.24.1.bb
@@ -20,3 +20,5 @@ RDEPENDS:${PN} = "\
${PYTHON_PN}-fcntl \
libudev \
"
+
+BBCLASSEXTEND = "native"
On my setup, this fails with:
$ bitbake python3-pyudev-native
Loading cache: 100%
|##########################################################################################################################################################|
Time: 0:00:00
Loaded 4996 entries from dependency cache.
Parsing recipes: 100%
|########################################################################################################################################################|
Time: 0:00:59
Parsing of 3129 .bb files complete (98 cached, 3031 parsed). 4997 targets, 140
skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'libudev-native' (but
virtual:native:/.../yocto/poky/meta-openembedded/meta-python/recipes-devtools/python/python3-pyudev_0.24.1.bb
RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'libudev-native' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libudev-native']
ERROR: Required build target 'python3-pyudev-native' has no buildable providers.
Missing or unbuildable dependency chain was: ['python3-pyudev-native',
'libudev-native']
FYI, the native support was removed precisely to avoid this error on the
autobuilder.
See:
https://git.openembedded.org/meta-openembedded/commit/?id=d4aa17dc436beb96a804860bc6d18cf72283709e
In this case, I suppose, we would need to either add -native support for libudev
or somehow cut the dependency python3-pyudev->libudev.
Maybe this is something you have locally and not pushed yet?
Hi Yoann,
I am using 'systemd' as init manager and it RPROVIDES libudev-native. I
haven't finger out the reason, but I'll try to remove this dependency chain.
$ bitbake libudev-native -e >be
ERROR: Nothing PROVIDES 'libudev-native'. Close matches:
libdnet-native
libev-native
libuv-native
systemd RPROVIDES libudev-native
Regards,
Kai
Regards,
--
Kai Kang
Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107232):
https://lists.openembedded.org/g/openembedded-devel/message/107232
Mute This Topic: https://lists.openembedded.org/mt/102992734/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-