[Buildroot] [PATCH] autobuild-run: do not build evtest using extrenal arc-2014.12 toolchain

Alexey Brodkin Alexey.Brodkin at synopsys.com
Tue Mar 24 09:51:43 UTC 2015

This external arc-2014.12 toolchain has uClibc with disabled

Because of this following build failure happens in autobuilder -
evtest.c: In function 'version':
evtest.c:730:20: error: 'program_invocation_short_name' undeclared (first use in this function)
  printf("%s %s\n", program_invocation_short_name, PACKAGE_VERSION);
evtest.c:730:20: note: each undeclared identifier is reported only once for each function it appears in
evtest.c: In function 'usage':
evtest.c:742:38: error: 'program_invocation_short_name' undeclared (first use in this function)
  printf("   %s /dev/input/eventX\n", program_invocation_short_name);

Mentioned config option was recently enabled in uClibc's defconfig for ARC:

So newer ARC uClibc toolchains should build evtest perfectly well.

Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Cc: Peter Korsgaard <peter at korsgaard.com>
Cc: Peter Seiderer <ps.report at gmx.net>
 scripts/autobuild-run | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/autobuild-run b/scripts/autobuild-run
index 872ee9d..69637f2 100755
--- a/scripts/autobuild-run
+++ b/scripts/autobuild-run
@@ -420,6 +420,10 @@ def fixup_config(**kwargs):
     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
+    # This ARC uClibc toolchain fails to build the evtest package
+    if 'BR2_PACKAGE_EVTEST=y\n' in configlines and \
+       'BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12=y\n' in configlines:
+        return False
     with open(os.path.join(outputdir, ".config"), "w+") as configf:

More information about the buildroot mailing list