meta/recipes-graphics/waffle: Add inherit setuptools
PATCH v2 1/1 meta/recipes-graphics/waffle: Add inherit setuptools
Fixes,
...
| 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.
...
--- meta/recipes-graphics/waffle/waffle_1.6.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/waffle/waffle_1.6.0.bb +1 -1
@@ -9,7 +9,7 @@ SRC_URI[sha256sum] = "d9c899f710c50cfdd00f5f4cdfeaef0687d8497362239bdde93bed6c90 UPSTREAM_CHECK_URI = "http://www.waffle-gl.org/releases.html" -inherit meson features_check lib_package bash-completion +inherit meson setuptools3 features_check lib_package bash-completion # This should be overridden per-machine to reflect the capabilities of the GL # stack.
Signature · 1 line
2.24.0
meta/recipes-graphics/waffle/waffle_1.6.0.bb SRC_URI[sha256sum] = "d9c899f710c50cfdd00f5f4cdfeaef0687d8497362239bdde93bed6c90 · line 12
Quoted 3 lines · Aníbal Limón
meta/recipes-graphics/waffle/waffle_1.6.0.bb +1
-1-inherit meson features_check lib_package bash-completion +inherit meson setuptools3 features_check lib_package bash-completion
I don't think you actually need setuptools3 here, just target python3 dependency is enough.
Alex
Quoted 9 lines · Alexander Kanavin
meta/recipes-graphics/waffle/waffle_1.6.0.bb SRC_URI[sha256sum] = "d9c899f710c50cfdd00f5f4cdfeaef0687d8497362239bdde93bed6c90 · line 12
Quoted 3 lines · Aníbal Limón
meta/recipes-graphics/waffle/waffle_1.6.0.bb +1
-1-inherit meson features_check lib_package bash-completion +inherit meson setuptools3 features_check lib_package bash-completionI don't think you actually need setuptools3 here, just target python3 dependency is enough.
Actually doesn't need python3 it needs python3-native with setuptools, not need to depend of python3 for the target.
Anibal
Quoted 3 lines
Alex
But inheriting setuptools does bring in the target python as well, and it’s the target python that fixes the issue, not setuptools.
Alex
Quoted 18 lines · Anibal Limon
Quoted 10 lines · Alexander Kanavin
meta/recipes-graphics/waffle/waffle_1.6.0.bb SRC_URI[sha256sum] = "d9c899f710c50cfdd00f5f4cdfeaef0687d8497362239bdde93bed6c90 · line 12
Quoted 4 lines · Aníbal Limón
meta/recipes-graphics/waffle/waffle_1.6.0.bb +1
-1-inherit meson features_check lib_package bash-completion +inherit meson setuptools3 features_check lib_package bash-completionI don't think you actually need setuptools3 here, just target python3 dependency is enough.
Actually doesn't need python3 it needs python3-native with setuptools, not need to depend of python3 for the target.
Anibal
Quoted 2 lines
Alex
Quoted 2 lines · Alexander Kanavin
But inheriting setuptools does bring in the target python as well, and it’s the target python that fixes the issue, not setuptools.
perhaps setuptools3-native in deps is enough.
Quoted 25 lines
Alex
On 4 Dec 2019, at 21.51, Anibal Limon <[email protected]> wrote:
Quoted 8 lines · Alexander Kanavin
meta/recipes-graphics/waffle/waffle_1.6.0.bb SRC_URI[sha256sum] = "d9c899f710c50cfdd00f5f4cdfeaef0687d8497362239bdde93bed6c90 · line 12
Quoted 3 lines · Aníbal Limón
meta/recipes-graphics/waffle/waffle_1.6.0.bb +1
-1-inherit meson features_check lib_package bash-completion +inherit meson setuptools3 features_check lib_package bash-completionI don't think you actually need setuptools3 here, just target python3 dependency is enough.
Actually doesn't need python3 it needs python3-native with setuptools, not need to depend of python3 for the target.
Anibal
Quoted 3 lines
Alex