autobuild-run: do not build python statically with non-working toolchain
PATCH v2 1/1 autobuild-run: do not build python statically with non-working toolchain
Python package can't be built using this uClibc toolchain due to a problem with redefinitions:
setregid.c:(.text+0x0): multiple definition of setregid'setregid.c:(.text+0x0): multiple definition of setregid'
Reported upstream:
http://lists.busybox.net/pipermail/uclibc/2014-October/048699.html
Fixes:
http://autobuild.buildroot.net/results/74d/74deae1f7c81e319d1e7d00177f7c8e2c97b8ce8/
---
Changes v1 -> v2: disable only when BR2_STATIC_LIBS=y
scripts/autobuild-run | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
scripts/autobuild-run +5 -0
@@ -306,6 +306,11 @@ def fixup_config(instance, sysinfo): if 'BR2_PACKAGE_PYTHON3=y\n' in configlines and \ 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines: return False + # This MIPS uClibc toolchain fails to build the python package + if 'BR2_PACKAGE_PYTHON=y\n' in configlines and \ + 'BR2_STATIC_LIBS=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-mipsel-o32-full-2014.11.tar.bz2"\n' in configlines: + return False with open(os.path.join(outputdir, ".config"), "w+") as configf: configf.writelines(configlines)
Signature · 1 line
1.7.1
Thomas Petazzoni
AppliedPATCH v2 1/1 autobuild-run: do not build python statically with non-working toolchain
Dear Vicente Olivert Riera,
Quoted 6 lines · Vicente Olivert Riera
Python package can't be built using this uClibc toolchain due to a problem with redefinitions:
setregid.c:(.text+0x0): multiple definition of
setregid'setregid.c:(.text+0x0): multiple definition ofsetregid'
Quoted 7 lines
Reported upstream:
http://lists.busybox.net/pipermail/uclibc/2014-October/048699.htmlFixes:
http://autobuild.buildroot.net/results/74d/74deae1f7c81e319d1e7d00177f7c8e2c97b8ce8/Signed-off-by Vicente Olivert Riera <[email protected]>
Applied, thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com