[OE-core] [PATCHv2] meta/recipes-graphics/waffle: Add python3 dependency

Anibal Limon anibal.limon at linaro.org
Wed Jan 29 16:54:36 UTC 2020


Hi,

Any update on this?,

Regards,
Anibal

On Mon, 20 Jan 2020 at 18:41, Anibal Limon <anibal.limon at linaro.org> wrote:

> I found the answer, poky adds wayland support via DISTRO_FEATURES that
> ends on python3 dependency in the waffle recipe-sysroot.
>
> You can test removing wayland from DISTRO_FEATURES to see the failure, we
> use OE and has two distro variants X/Wayland so the builds
> fails only in X [1][2].
>
> Regards,
> Anibal
>
> [1]
> https://ci.linaro.org/job/lt-qcom-openembedded-rpb-zeus/61/DISTRO=rpb,MACHINE=dragonboard-410c,label=docker-stretch-amd64/console
> [2]
> https://ci.linaro.org/job/lt-qcom-openembedded-rpb-zeus/61/DISTRO=rpb-wayland,MACHINE=dragonboard-410c,label=docker-stretch-amd64/console
>
>
> On Tue, 14 Jan 2020 at 10:24, Alexander Kanavin <alex.kanavin at gmail.com>
> wrote:
>
>> This failure is not seen on the autobuilder. Is it something that happens
>> only under specific condition, and so should the dependency be conditional
>> to that?
>>
>> Alex
>>
>> On Tue, 14 Jan 2020 at 17:20, Aníbal Limón <anibal.limon at linaro.org>
>> wrote:
>>
>>> The python3native.bbclass set PYTHON_{LIBRARY, INCLUDE_DIR} pointing to
>>> python target build, a patch was add to use target _sysconfigdata too [1]
>>> but is not available without python3 dependency.
>>>
>>> Fixes waffle build when trying to find _sysconfigdata module,
>>>
>>> ...
>>> | Program python3 found: YES
>>> (/home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3)
>>> |
>>> | meson.build:36:0: ERROR: <ExternalProgram 'python3' ->
>>> ['/home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3']>
>>> is not a valid python or it is missing setuptools
>>> |
>>> | A full log can be found at
>>> /home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/build/meson-logs/meson-log.txt
>>> | WARNING: exit code 1 from a shell command.
>>> ...
>>>
>>> [1]
>>> http://git.openembedded.org/openembedded-core/commit/?id=02714c105426b0d687620913c1a7401b386428b6
>>>
>>> Signed-off-by: Aníbal Limón <anibal.limon at linaro.org>
>>> ---
>>>  meta/recipes-graphics/waffle/waffle_1.6.0.bb | 2 ++
>>>  1 file changed, 2 insertions(+)
>>>
>>> diff --git a/meta/recipes-graphics/waffle/waffle_1.6.0.bb
>>> b/meta/recipes-graphics/waffle/waffle_1.6.0.bb
>>> index 52cb1df899..a620295978 100644
>>> --- a/meta/recipes-graphics/waffle/waffle_1.6.0.bb
>>> +++ b/meta/recipes-graphics/waffle/waffle_1.6.0.bb
>>> @@ -11,6 +11,8 @@ UPSTREAM_CHECK_URI = "
>>> http://www.waffle-gl.org/releases.html"
>>>
>>>  inherit meson features_check lib_package bash-completion
>>>
>>> +DEPENDS_append = " python3"
>>> +
>>>  # This should be overridden per-machine to reflect the capabilities of
>>> the GL
>>>  # stack.
>>>  PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx
>>> x11-egl', '', d)} \
>>> --
>>> 2.24.1
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200129/d935771e/attachment-0001.html>


More information about the Openembedded-core mailing list