[OE-core] [PATCH] cogl-1.0.inc: set RDEPENDS_${PN}-dev = ""
Kang Kai
Kai.Kang at windriver.com
Wed Jul 17 08:18:54 UTC 2019
On 2019/7/17 下午3:48, Adrian Ratiu wrote:
> ${PN}-dev by default depends on ${PN} but in this case ${PN} is empty
> by design (FILES_${PN} = "") and is not created, leading to
> installation dependency errors like the following:
>
> Collected errors:
> * Solver encountered 1 problem(s):
> * Problem 1/1:
> * - nothing provides cogl-1.0 = 1.22.2-r0 needed by cogl-1.0-dev-1.22.2-r0.armv7at2hf-neon-imx
> *
> * Solution 1:
> * - do not ask to install a package providing cogl-1.0-dev
I think what you need is
ALLOW_EMPTY_${PN} = "1"
Regards,
Kai
>
> Signed-off-by: Adrian Ratiu <adrian.ratiu at collabora.com>
> ---
> meta/recipes-graphics/cogl/cogl-1.0.inc | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-graphics/cogl/cogl-1.0.inc b/meta/recipes-graphics/cogl/cogl-1.0.inc
> index 3e392fa5ec..a388023a03 100644
> --- a/meta/recipes-graphics/cogl/cogl-1.0.inc
> +++ b/meta/recipes-graphics/cogl/cogl-1.0.inc
> @@ -75,4 +75,6 @@ RPROVIDES_libcogl = "cogl-1.0"
> RCONFLICTS_libcogl = "cogl-1.0"
> RREPLACES_libcogl = "cogl-1.0"
>
> +RDEPENDS_${PN}-dev = ""
> +
> COMPATIBLE_HOST_armv4 = 'null'
--
Kai Kang
More information about the Openembedded-core
mailing list