Go to file
Thomas Petazzoni 3fce6f1c15 package/libselinux: fix the build with Python 3.8
Following the switch to Python 3.8, the libselinux Python extension
started to fail building. This is fixed by upstream commit
2efa06857575e4118e91ca250b6b92da68b130d5, which we backport as
0003-libselinux-Use-Python-distutils-to-install-SELinux-p.patch.

This patch has the nice merit of switching to using distutils to build
the Python extension of libselinux, instead of some custom logic. This
allows to significantly simplify our libselinux.mk: we can rely on
PKG_PYTHON_DISTUTILS_ENV and HOST_PKG_PYTHON_DISTUTILS_ENV instead of
lots of custom variables.

However, upstream commit 2efa06857575e4118e91ca250b6b92da68b130d5 had
its own issues:

 * Hardcode of -I $(DESTDIR)/$(INCLUDEDIR) -L $(DESTDIR)/$(LIBDIR) at
   build time, while DESTDIR is normally empty at build time, causing
   bogus -I /usr/include -L /usr/lib to be used

   This is fixed in
   0004-src-Makefile-don-t-pass-bogus-I-and-L-to-python-setu.patch

 * New usage of ln --relative, which is not supported in older
   distributions.

   This is fixed in
   0005-Remove-ln-relative-usage-in-install-pywrap.patch

 * Usage of the host Python "imp" module to query the extension used
   for native Python module, but that returns an incorrect result when
   cross-compiling. We chose to simplify the code to not have to query
   for this information.

   This is fixed in
   0006-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch

With this patch, the libselinux Python module was built-tested with
Python 2 and Python 3, and run-time tested as well in both
configurations, for both the target and host variants of libselinux.

Fixes:

  http://autobuild.buildroot.net/results/aeb58de7ad674b980258e6ed30c7da3949a04452/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-10-26 12:36:54 +02:00
arch arch/riscv: set the default float ABI based on ISA extensions 2019-09-19 21:43:53 +02:00
board board: Add FriendlyARM Nanopi NEO Plus2 support 2019-10-19 22:46:04 +02:00
boot boot/at91bootstrap3: bump to version 3.9.0 2019-10-22 20:25:35 +02:00
configs configs/stm32mp157_dk_defconfig: switch to mainline 2019.07 U-Boot version 2019-10-24 23:26:20 +02:00
docs docs/manual: clarify the reinstallation of a package 2019-10-21 22:02:08 +02:00
fs fs/common.mk: enable multithreaded xz compression 2019-08-03 19:29:47 +02:00
linux {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.3.x series 2019-10-18 09:30:59 +02:00
package package/libselinux: fix the build with Python 3.8 2019-10-26 12:36:54 +02:00
support support/testing: test_syslog_ng: improve commands 2019-10-16 21:33:04 +02:00
system package/netifrc: add support for BR2_SYSTEM_DHCP 2019-09-23 22:57:04 +02:00
toolchain toolchain/toolchain-external: add support for D language 2019-10-25 19:27:44 +02:00
utils scanpypi: write every license file once 2019-10-11 23:04:40 +02:00
.defconfig
.flake8
.gitignore
.gitlab-ci.yml board: Add FriendlyARM Nanopi NEO Plus2 support 2019-10-19 22:46:04 +02:00
.gitlab-ci.yml.in
CHANGES Update for 2019.02.6 2019-10-04 09:27:30 +02:00
Config.in core: split generated kconfig file 2019-08-04 00:13:37 +02:00
Config.in.legacy package/python-pysnmp-apps: remove package 2019-10-22 23:18:19 +02:00
COPYING
DEVELOPERS package/python-spidev: bump to version 3.4 2019-10-25 18:55:18 +02:00
Makefile Merge branch 'next' 2019-09-03 15:03:02 +02:00
Makefile.legacy
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches