Building python3 without readline fails for Kirkstone
We have readline support disabled for python3 for target. It works fine for Hardknott and Honister, but fails for Kirkstone with the following error:
The necessary bits to build these optional modules were not found:
_curses _curses_panel
The problem can be recreated by adding the following to local.conf:
PACKAGECONFIG:remove:pn-python3:class-target = "readline"
and then building python3.
Any help to solve the problem would be appreciated.
//Peter
Quoted 7 lines · Peter Kjellerstedt
We have readline support disabled for python3 for target. It works fine for Hardknott and Honister, but fails for Kirkstone with the following error:
The necessary bits to build these optional modules were not found:
_curses_curses_panel
Quoted 7 lines
The problem can be recreated by adding the following to local.conf:
PACKAGECONFIG:remove:pn-python3:class-target = "readline"
and then building python3.
Any help to solve the problem would be appreciated.
I'd have thought that those modules being missing was probably expected if you disable readline?
Cheers,
Richard
Quoted 19 lines
-----Original Message-----
From: Richard Purdie <[email protected]>
Sent: den 14 mars 2022 14:45
To: Peter Kjellerstedt <[email protected]>; OE Core ([email protected]) <openembedded- [email protected]>
Subject: Re: [OE-core] Building python3 without readline fails for KirkstoneQuoted 9 lines · Peter Kjellerstedt
We have readline support disabled for python3 for target. It works fine for Hardknott and Honister, but fails for Kirkstone with the following error:
The necessary bits to build these optional modules were not found:
_curses_curses_panelThe problem can be recreated by adding the following to local.conf:
Quoted 8 lines
Quoted 5 lines
PACKAGECONFIG:remove:pn-python3:class-target = "readline"
and then building python3.
Any help to solve the problem would be appreciated.
I'd have thought that those modules being missing was probably expected if you disable readline?
AFAICT, both curses and curses_panel are built for Hardknott and Honister even if readline is removed from PACKAGECONFIG.
Quoted 3 lines
Cheers,
Richard
//Peter
Quoted 5 lines · Peter Kjellerstedt
We have readline support disabled for python3 for target. It works fine for Hardknott and Honister, but fails for Kirkstone with the following error:
Quoted 8 lines
The necessary bits to build these optional modules were not found:
_curses_curses_panelThe problem can be recreated by adding the following to local.conf:
PACKAGECONFIG:remove:pn-python3:class-target = "readline"
and then building python3.
The sanity check code has support for modules which have been disabled
(see MODDISABLED_NAMES in meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch) but that variable doesn't appear to be connected to the PACKAGECONFIG
settings.
Adding AlexK to the CC list as he wrote this in the first place.
Ross
Quoted 7 lines · Ross Burton
The sanity check code has support for modules which have been disabled
(seeMODDISABLED_NAMESinmeta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch) but that variable doesn't appear to be connected to the PACKAGECONFIG
settings.Adding AlexK to the CC list as he wrote this in the first place.
python is configured with autotools, so perhaps comparing the logs with and without readline would be a good first step, specifically the bifurcation point where ncurses is disabled.
Alex