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

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Apr 13 20:27:10 UTC 2017


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.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list