Skip to contentSkip to conversation

perf: Depend on native setuptools3

PATCH In review Khem Raj 4 participants 5 messages Oct 11, 2022 – Nov 1, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 perf: Depend on native setuptools3

perf has need for python setuptools when scripting is enabled from 6.0.0 onwards it seems to throw an explicit error

Cc Bruce Ashfield <[email protected]>
---
 meta/recipes-kernel/perf/perf.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/perf/perf.bb +1 -1
index 31bc04635d..c1b0bd22d8 100644
@@ -13,7 +13,7 @@ PR = "r9"
 
 PACKAGECONFIG ??= "scripting tui libunwind"
 PACKAGECONFIG[dwarf] = ",NO_DWARF=1"
-PACKAGECONFIG[scripting] = ",NO_LIBPERL=1 NO_LIBPYTHON=1,perl python3"
+PACKAGECONFIG[scripting] = ",NO_LIBPERL=1 NO_LIBPYTHON=1,perl python3 python3-setuptools-native"
 # gui support was added with kernel 3.6.35
 # since 3.10 libnewt was replaced by slang
 # to cover a wide range of kernel we add both dependencies
Signature · 1 line
2.38.0
#1 lore raw

There's already several versions of this patch floating around.

There was an error on the AB with the latest version of it that neither Ross or myself could reproduce so we are looking at that part of it now.

Cheers,

Bruce

Quoted 28 lines · Khem Raj

perf has need for python setuptools when scripting is enabled from 6.0.0 onwards it seems to throw an explicit error

Cc Bruce Ashfield <[email protected]>
---
 meta/recipes-kernel/perf/perf.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/perf/ renamed from meta/recipes-kernel/perf/perf.bb +0 -0

perf.bb
index 31bc04635d..c1b0bd22d8 100644

meta/recipes-kernel/perf/perf.bb +1 -1
@@ -13,7 +13,7 @@ PR = "r9"
 
 PACKAGECONFIG ??= "scripting tui libunwind"
 PACKAGECONFIG[dwarf] = ",NO_DWARF=1"
-PACKAGECONFIG[scripting] = ",NO_LIBPERL=1 NO_LIBPYTHON=1,perl python3"
+PACKAGECONFIG[scripting] = ",NO_LIBPERL=1 NO_LIBPYTHON=1,perl python3

python3-setuptools-native"

 # gui support was added with kernel 3.6.35
 # since 3.10 libnewt was replaced by slang
 # to cover a wide range of kernel we add both dependencies
--
2.38.0
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
#2 lore raw
In reply to Khem Raj

Hi Armin,

Quoted 6 lines · Khem Raj

perf has need for python setuptools when scripting is enabled from 6.0.0 onwards it seems to throw an explicit error

Cc Bruce Ashfield <[email protected]>

This one landed in master:
https://github.com/openembedded/openembedded-core/commit/da3d00178809bbf7cc453401e0c5937796ebc2c1

Could it be backported to kirkstone too?

I am facing an error when building a 6.0 kernel and this commit in master fixes it.

Thanks

author
#3 lore raw
Quoted 13 lines · Fabio Estevam

Hi Armin,

Quoted 6 lines · Khem Raj

perf has need for python setuptools when scripting is enabled from 6.0.0 onwards it seems to throw an explicit error

Cc Bruce Ashfield <[email protected]>

This one landed in master:
https://github.com/openembedded/openembedded-core/commit/da3d00178809bbf7cc453401e0c5937796ebc2c1

Quoted 6 lines

Could it be backported to kirkstone too?

I am facing an error when building a 6.0 kernel and this commit in master fixes it.

Thanks

+Steve

#4 lore raw
Quoted 15 lines · Khem Raj
Quoted 13 lines · Fabio Estevam

Hi Armin,

Quoted 6 lines · Khem Raj

perf has need for python setuptools when scripting is enabled from 6.0.0 onwards it seems to throw an explicit error

Cc Bruce Ashfield <[email protected]>

This one landed in master:
https://github.com/openembedded/openembedded-core/commit/da3d00178809bbf7cc453401e0c5937796ebc2c1

Quoted 8 lines
Quoted 6 lines

Could it be backported to kirkstone too?

I am facing an error when building a 6.0 kernel and this commit in master fixes it.

Thanks

+Steve

Got it!

Steve