From patchwork Fri Sep 11 09:50:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Olivert Riera X-Patchwork-Id: 516660 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 5F4AA140784 for ; Fri, 11 Sep 2015 19:51:07 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A061FA394F; Fri, 11 Sep 2015 09:51:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dmd_orTllEB8; Fri, 11 Sep 2015 09:51:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 96414A38D5; Fri, 11 Sep 2015 09:51:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 2EB971C15EA for ; Fri, 11 Sep 2015 09:51:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 11ABB95A5E for ; Fri, 11 Sep 2015 09:51:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gToasinbPS2D for ; Fri, 11 Sep 2015 09:50:59 +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 hemlock.osuosl.org (Postfix) with ESMTP id 27AAD95A5B for ; Fri, 11 Sep 2015 09:50:59 +0000 (UTC) Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 1257961EC211; Fri, 11 Sep 2015 10:50:56 +0100 (IST) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 11 Sep 2015 10:50:57 +0100 Received: from localhost.localdomain (192.168.154.63) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.210.2; Fri, 11 Sep 2015 10:50:57 +0100 From: Vicente Olivert Riera To: Date: Fri, 11 Sep 2015 10:50:47 +0100 Message-ID: <1441965048-30856-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.63] Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCH buildroot-test 1/2] autobuild-run: do not build strongswan using an incompatible 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" This external MIPS toolchain uses eglibc-2.18 which lacks the definition of the SYS_getdents64 macro for MIPS64 n64. Because of that, strongswan package fails to build and shows this error message: utils/utils.c: In function 'closefrom': utils/utils.c:151:25: error: 'SYS_getdents64' undeclared (first use in this function) while ((len = syscall(SYS_getdents64, dir_fd, buffer, Fixes: http://autobuild.buildroot.net/results/ea2/ea2be188b88ceb1cad4314bdaf00184cb74b9e26/ 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 ae28165..6e98b2c 100755 --- a/scripts/autobuild-run +++ b/scripts/autobuild-run @@ -389,6 +389,10 @@ def fixup_config(**kwargs): if 'BR2_PACKAGE_LIBMPEG2=y\n' in configlines and \ 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/powerpc-ctng-linux-uclibc.tar.xz"\n' in configlines: return False + # This MIPS toolchain uses eglibc-2.18 which lacks SYS_getdents64 + if 'BR2_PACKAGE_STRONGSWAN=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 # The ctng toolchain has a too old glibc version, which lacks SYS_getdents64 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: