autobuild-run: do not build weston using an incompatible toolchain
PATCH 1/1 autobuild-run: do not build weston using an incompatible toolchain
This external MIPS toolchain uses an old version of uClibc which doesn't include this patch:
http://git.uclibc.org/uClibc/commit/libc/sysdeps/linux?id=3d1b82c7d9dce11c733fe23a85df7f975c7e2486
Because of that, weston package fails to build with this error message:
src/compositor.c: In function 'weston_compositor_set_presentation_clock_software':src/compositor.c:4283:3: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function)
CLOCK_MONOTONIC_RAW, /* no jumps, no crawling */
Fixes:
http://autobuild.buildroot.net/results/d36/d367eda8b549b6facd624d0b44cfdc6eb0486c72/
--- scripts/autobuild-run | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
scripts/autobuild-run +4 -0
@@ -324,6 +324,10 @@ def fixup_config(instance, sysinfo): 'BR2_STATIC_LIBS=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 weston package + if 'BR2_PACKAGE_WESTON=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 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 weston using an incompatible toolchain
Dear Vicente Olivert Riera,
Quoted 13 lines · Vicente Olivert Riera
This external MIPS toolchain uses an old version of uClibc which doesn't include this patch:
http://git.uclibc.org/uClibc/commit/libc/sysdeps/linux?id=3d1b82c7d9dce11c733fe23a85df7f975c7e2486
Because of that, weston package fails to build with this error message:
src/compositor.c: In function 'weston_compositor_set_presentation_clock_software':src/compositor.c:4283:3: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function)
CLOCK_MONOTONIC_RAW, /* no jumps, no crawling */
Quoted 5 lines
Fixes:
http://autobuild.buildroot.net/results/d36/d367eda8b549b6facd624d0b44cfdc6eb0486c72/
Signed-off-by Vicente Olivert Riera <[email protected]>
Applied to buildroot-test, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com