Hi,

Le 05/12/2023 à 15:50, Kai Kang a écrit :
> From: Kai Kang <[email protected]>
> 
> 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 <[email protected]>
> ---
>  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?

Regards,
-- 
Yoann Congal
Smile ECS - Tech Expert
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107227): 
https://lists.openembedded.org/g/openembedded-devel/message/107227
Mute This Topic: https://lists.openembedded.org/mt/102992734/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to