autobuild-run: Do not build strace with outdated MIPS uClibc toolchains
PATCH 1/1 autobuild-run: Do not build strace with outdated MIPS uClibc toolchains
These two MIPS uClibc toolchains don't include an upstream patch to fix a compilation failure of strace-4.9+, so better to prevent the selection of the strace package when using these toolchains.
Related:
http://git.uclibc.org/uClibc/commit/?id=a1b88fe87a9d2be5696247d266f5c4fd20f000bb
http://git.buildroot.net/buildroot/commit/?id=8deb5725577a104f4c1e1a569af9675514e13772
http://git.buildroot.net/buildroot/commit/?id=7b5ff1ab8ae6c9de6e8f6c0355d80255ae344efe
http://lists.busybox.net/pipermail/buildroot/2015-February/118362.html
--- scripts/autobuild-run | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
scripts/autobuild-run +8 -0
@@ -311,6 +311,14 @@ def fixup_config(instance, sysinfo): '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 + # This MIPS uClibc toolchain fails to build the strace package + if 'BR2_PACKAGE_STRACE=y\n' in configlines and \ + 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines: + return False + # This MIPS uClibc toolchain fails to build the strace package + if 'BR2_PACKAGE_STRACE=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
PATCH 1/1 autobuild-run: Do not build strace with outdated MIPS uClibc toolchains
Dear Vicente Olivert Riera,
Quoted 10 lines · Vicente Olivert Riera
These two MIPS uClibc toolchains don't include an upstream patch to fix a compilation failure of strace-4.9+, so better to prevent the selection of the strace package when using these toolchains.
Related:
http://git.uclibc.org/uClibc/commit/?id=a1b88fe87a9d2be5696247d266f5c4fd20f000bbhttp://git.buildroot.net/buildroot/commit/?id=8deb5725577a104f4c1e1a569af9675514e13772
http://git.buildroot.net/buildroot/commit/?id=7b5ff1ab8ae6c9de6e8f6c0355d80255ae344efe
Quoted 6 lines
http://lists.busybox.net/pipermail/buildroot/2015-February/118362.html
Signed-off-by Vicente Olivert Riera <[email protected]>--- scripts/autobuild-run | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
Applied to buildroot-test.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com