* Building python3 without readline fails for Kirkstone
@ 2022-03-14 13:39 Peter Kjellerstedt
2022-03-14 13:45 ` [OE-core] " Richard Purdie
2022-03-14 16:01 ` Ross Burton
0 siblings, 2 replies; 5+ messages in thread
From: Peter Kjellerstedt @ 2022-03-14 13:39 UTC (permalink / raw)
To: OE Core (openembedded-core@lists.openembedded.org)
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] Building python3 without readline fails for Kirkstone
2022-03-14 13:39 Building python3 without readline fails for Kirkstone Peter Kjellerstedt
@ 2022-03-14 13:45 ` Richard Purdie
2022-03-14 15:31 ` Peter Kjellerstedt
2022-03-14 16:01 ` Ross Burton
1 sibling, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2022-03-14 13:45 UTC (permalink / raw)
To: Peter Kjellerstedt, OE Core (openembedded-core@lists.openembedded.org)
On Mon, 2022-03-14 at 13:39 +0000, Peter Kjellerstedt wrote:
> 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.
I'd have thought that those modules being missing was probably expected if you
disable readline?
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [OE-core] Building python3 without readline fails for Kirkstone
2022-03-14 13:45 ` [OE-core] " Richard Purdie
@ 2022-03-14 15:31 ` Peter Kjellerstedt
0 siblings, 0 replies; 5+ messages in thread
From: Peter Kjellerstedt @ 2022-03-14 15:31 UTC (permalink / raw)
To: Richard Purdie, OE Core (openembedded-core@lists.openembedded.org)
> -----Original Message-----
> From: Richard Purdie <richard.purdie@linuxfoundation.org>
> Sent: den 14 mars 2022 14:45
> To: Peter Kjellerstedt <peter.kjellerstedt@axis.com>; OE Core
> (openembedded-core@lists.openembedded.org) <openembedded-
> core@lists.openembedded.org>
> Subject: Re: [OE-core] Building python3 without readline fails for
> Kirkstone
>
> On Mon, 2022-03-14 at 13:39 +0000, Peter Kjellerstedt wrote:
> > 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.
>
> 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.
> Cheers,
>
> Richard
//Peter
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] Building python3 without readline fails for Kirkstone
2022-03-14 13:39 Building python3 without readline fails for Kirkstone Peter Kjellerstedt
2022-03-14 13:45 ` [OE-core] " Richard Purdie
@ 2022-03-14 16:01 ` Ross Burton
2022-03-14 16:20 ` Alexander Kanavin
1 sibling, 1 reply; 5+ messages in thread
From: Ross Burton @ 2022-03-14 16:01 UTC (permalink / raw)
To: Peter Kjellerstedt, Alexander Kanavin
Cc: OE Core (openembedded-core@lists.openembedded.org)
On Mon, 14 Mar 2022 at 13:39, Peter Kjellerstedt
<peter.kjellerstedt@axis.com> wrote:
>
> 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.
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] Building python3 without readline fails for Kirkstone
2022-03-14 16:01 ` Ross Burton
@ 2022-03-14 16:20 ` Alexander Kanavin
0 siblings, 0 replies; 5+ messages in thread
From: Alexander Kanavin @ 2022-03-14 16:20 UTC (permalink / raw)
To: Ross Burton
Cc: Peter Kjellerstedt, OE Core (openembedded-core@lists.openembedded.org)
On Mon, 14 Mar 2022 at 17:02, Ross Burton <ross@burtonini.com> wrote:
> 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.
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-03-14 16:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-14 13:39 Building python3 without readline fails for Kirkstone Peter Kjellerstedt
2022-03-14 13:45 ` [OE-core] " Richard Purdie
2022-03-14 15:31 ` Peter Kjellerstedt
2022-03-14 16:01 ` Ross Burton
2022-03-14 16:20 ` Alexander Kanavin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.