From patchwork Tue Oct 21 15:17:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Olivert Riera X-Patchwork-Id: 401571 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id DEC0F140077 for ; Wed, 22 Oct 2014 02:17:38 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 588CC33489; Tue, 21 Oct 2014 15:17:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E1V0lejiPyZw; Tue, 21 Oct 2014 15:17:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 2EB5733475; Tue, 21 Oct 2014 15:17:34 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 704411BFA35 for ; Tue, 21 Oct 2014 15:17:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6B7FB91C57 for ; Tue, 21 Oct 2014 15:17:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jMqnM2EKIZYS for ; Tue, 21 Oct 2014 15:17:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by whitealder.osuosl.org (Postfix) with ESMTP id B345391C50 for ; Tue, 21 Oct 2014 15:17:30 +0000 (UTC) Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id E2628C67F99F9 for ; Tue, 21 Oct 2014 16:17:24 +0100 (IST) Received: from KLMAIL02.kl.imgtec.org (10.40.60.222) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 21 Oct 2014 16:17:27 +0100 Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by klmail02.kl.imgtec.org (10.40.60.222) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 21 Oct 2014 16:17:27 +0100 Received: from localhost.localdomain (192.168.154.104) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 21 Oct 2014 16:17:26 +0100 From: Vicente Olivert Riera To: Date: Tue, 21 Oct 2014 16:17:18 +0100 Message-ID: <1413904638-51774-1-git-send-email-Vincent.Riera@imgtec.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 X-Originating-IP: [192.168.154.104] Subject: [Buildroot] [PATCH] autobuild-run: Do not build python3 with this external toolchain X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" It fails to build python3 with an error like this one: Failed to build these modules: _posixsubprocess Which comes from this previous error: /br/output/build/python3-3.4.1/Modules/_posixsubprocess.c:246:33: error: 'SYS_getdents64' undeclared (first use in this function) The failure is caused because this toolchain uses eglibc-2.18 which lacks the definition of the SYS_getdents64 macro for MIPS64 n64. Fixes: http://autobuild.buildroot.net/results/8fd/8fd1fdf5f02365278a280d50adce98303fcc9a2a/ Signed-off-by: Vicente Olivert Riera --- scripts/autobuild-run | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/scripts/autobuild-run b/scripts/autobuild-run index c311ebf..fd1ba91 100755 --- a/scripts/autobuild-run +++ b/scripts/autobuild-run @@ -300,6 +300,10 @@ def fixup_config(instance, sysinfo): if 'BR2_PACKAGE_RT_TESTS=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 ctng toolchain fails to build the python3 package + 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 with open(os.path.join(outputdir, ".config"), "w+") as configf: configf.writelines(configlines)