Forwarded

---------- Forwarded message ---------
From: Ross Burton <[email protected]>
Date: Tue, 19 Nov 2019 at 13:46
Subject: Re: [oe] [meta-python][PATCH] python3-importlib-metadata: fix
class-target overriding default dependencies
To: nick83ola <[email protected]>


On 19/11/2019 13:35, nick83ola wrote:
> Hi Ross,
>
> no the patch is right
>
> If I do:
> bitbake python3-importlib-metadata-native
>
> Loading cache: 100%
>
|##########################################################################################################################################################################################################|

> Time: 0:00:01
> Loaded 4359 entries from dependency cache.
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing RPROVIDES 'python3-misc-native' (but
> virtual:native:/yocto/meta-openembedded/recipes-devtools/python/
python3-importlib-metadata_0.23.bb
> <http://python3-importlib-metadata_0.23.bb> RDEPENDS on or otherwise
> requires it)
> NOTE: Runtime target 'python3-misc-native' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['python3-misc-native']
> ERROR: Required build target 'python3-importlib-metadata-native' has no
> buildable providers.
> Missing or unbuildable dependency chain was:
> ['python3-importlib-metadata-native', 'python3-misc-native']
>
> Summary: There were 2 ERROR messages shown, returning a non-zero exit
code.
>
> There's a way to provide ${PYTHON_PN}-misc-native?

Looks like a bug in python3.bb, the block of code starting '# First set
RPROVIDES for -native case' should add python3-misc-native explicitly as
that package isn't in the manifest.

A better fix would be to remove the misc package from the recipe itself
and define it entirely in the manifest file so it is no longer 'special'.

Ross
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to