[Buildroot] [PATCH 2/3] python3: ncurses condition for libselinux enabled

Arnout Vandecappelle arnout at mind.be
Thu Apr 13 21:55:30 UTC 2017



On 13-04-17 23:20, Matthew Weber wrote:
> Thomas,
> 
> On Thu, Apr 13, 2017 at 3:27 PM, Thomas Petazzoni
> <thomas.petazzoni at free-electrons.com> wrote:
>> Hello,
>>
>> On Wed, 12 Apr 2017 23:16:13 -0500, Matt Weber wrote:
>>> When libselinux is enabled, a circular dependency is
>>> created.  Disable ncurses python support when libselinux
>>> is enabled so that the circular busybox, ncurses,
>>> python, libselinux chain is broken.
>>>
>>> Resolves
>>> http://autobuild.buildroot.net/results/db1/db1e6f3054092fc5576ccab8e04a3b9d74ca9a8c/
>>>
>>> Signed-off-by: Matthew Weber <matthew.weber at rockwellcollins.com>
>>
>> I am not sure this is the right approach to fix this issue. It feels
>> really weird to no longer be able to use ncurses support in Python(3)
>> when SELinux is enabled.
>>
>> I believe the real issue is that Busybox really doesn't care at all
>> about the Python bindings for libselinux. So perhaps we should split
>> the Python bindings build/installation from libselinux into a separate
>> package. I think we had a similar split for another package.
>>
>> It would however require some investigation to figure out if it's
>> possible to build just the Python bindings, using an already built and
>> installed libselinux.
> 
> I'll take a look.

 Alternatively, we could cut the ncurses->busybox dependency. That only exists
to make sure that ncurses tools overwrite busybox tools. IIRC busybox will not
overwrite existing tools, so the reverse should work as well. Or else remove
these things from the busybox config.

 Regards,
 Arnout


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF



More information about the buildroot mailing list