[oe] Fwd: [meta-python][PATCH] python3-importlib-metadata: fix class-target overriding default dependencies

nick83ola nick83ola at gmail.com
Tue Nov 19 14:15:35 UTC 2019


Forwarded

---------- Forwarded message ---------
From: Ross Burton <ross.burton at intel.com>
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 <nick83ola at gmail.com>


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


More information about the Openembedded-devel mailing list