Skip to contentSkip to conversation

meta/recipes-graphics/waffle: Add inherit setuptools

PATCH In review Aníbal Limón 3 participants 5 messages Dec 4, 2019

lore
Share & tools
lore
#0 lore raw

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
index 52cb1df899..48caf207c3 100644
@@ -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
#1 lore raw

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

#2 lore raw
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-completion

I 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

#3 lore raw

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-completion

I 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

#4 lore raw
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-completion

I 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