From patchwork Fri Mar 1 20:18:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1050448 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="gdxj8T4U"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44B12p3J4Xz9s6w for ; Sat, 2 Mar 2019 07:18:39 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D110A87E8E; Fri, 1 Mar 2019 20:18:34 +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 KHpAM77YRoZm; Fri, 1 Mar 2019 20:18:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id F1D8487E07; Fri, 1 Mar 2019 20:18:32 +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 4AC921BF2B6 for ; Fri, 1 Mar 2019 20:18:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4561887E07 for ; Fri, 1 Mar 2019 20:18:31 +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 andjS1a8EaKN for ; Fri, 1 Mar 2019 20:18:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by hemlock.osuosl.org (Postfix) with ESMTPS id ED8EF87DDB for ; Fri, 1 Mar 2019 20:18:28 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id i16so27161969wrs.13 for ; Fri, 01 Mar 2019 12:18:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=cgfz7bg5yg1ABKB9DuomfDNwrt8cIBd1SGeiWeAFYIo=; b=gdxj8T4UOvJag4hqxN4Adw9JH7R7Av/5rwRyBZ28/XycNBcam4lgOCfggtaoLSHS6k AQCaK/k+RlRTbKVSDBuFZcOKSTPMSRSgVsFADmmZTO5ESeMznlG8EnQMcwQ/YP1eSJoC X2a3xhhI1Ar5cgj6yM3ijNIN0byjt4lRpnMwqOtdNn4sx7c9M+DQIZ2h5o7ubHuEeB64 KLXMaKf9uxeqtli2WMK9WJZ5z/ujoqOXfQ+ex7irNPT8xo5Uv//XZK60GenuXHtOunhk HQQ09xiIunAAPUT+/qKtn8Ek2+U5LuH96yP8X11W6yioFGFXbccg4SbY63IJrwHzBRyK 5hRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=cgfz7bg5yg1ABKB9DuomfDNwrt8cIBd1SGeiWeAFYIo=; b=VqlrYDIMhUDxYo+hn7qv+OJ+k+0mHfF1UKCB18leKuqd6Mb7doGX2G26eTh9p202BC GuR/u4e+96b2OOHI6FfZK1LvJk8oVHVJzdsB+sU1haH6ddk5RkRWytgguE/uJsUdVorT FLVg4rFQsjprTdimWQEkVOb4W3GO0eI6EuTdS0XDBSjeIrIUZMKe0yj1grvSMP2tvjga 2DW9NlnFBysKyDiCdq2PqIdjieYCfAqJBIPD12UqNHpoE+A7I4OGdgf26MNLVJBEiOrA DS9CdWDCYqoRQdp0OghOEx0BxseEUQKgYWCu1OFaO+cr3PQ+3d3QMnnighuCufj8Qgdz rhLQ== X-Gm-Message-State: APjAAAWnzz67EdL28REcmvai+v8j3X+6usmQF0u73XO6apOvuKT73iuA 0Zq9bZGsbQDnBBb0+WnaxHN9iEbN X-Google-Smtp-Source: APXvYqyvZlPMIN6gk3ZIh09Jp1Mfe/zujuFENdZl7I3o9rDS1chMTsL3v7Ow/iaMQHxLyGrKqG9J1A== X-Received: by 2002:a05:6000:10c9:: with SMTP id b9mr4533826wrx.281.1551471507198; Fri, 01 Mar 2019 12:18:27 -0800 (PST) Received: from fabrice-VirtualBox.home (lfbn-ren-1-128-3.w83-205.abo.wanadoo.fr. [83.205.212.3]) by smtp.gmail.com with ESMTPSA id t69sm15449416wmt.16.2019.03.01.12.18.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Mar 2019 12:18:26 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 1 Mar 2019 21:18:18 +0100 Message-Id: <20190301201818.24561-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH 1/1] package/beecrypt: fix build without C++ X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Do not check for C++ compiler as C++ support has been disabled since commit dd4d3c18d6753e1224fbe59d91a4b44f39bc38c0 otherwise build will fail on toolchains without a working C++ compiler: checking how to run the C++ preprocessor... /lib/cpp configure: error: in `/data/buildroot/buildroot-test/instance-1/output/build/beecrypt-4.2.1': configure: error: C++ preprocessor "/lib/cpp" fails sanity check Fixes: - http://autobuild.buildroot.org/results/3c79cc68f1b088ad24daf7f9bd70718d702be577 Signed-off-by: Fabrice Fontaine --- .../0003-don-t-check-for-cplusplus-compiler.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/beecrypt/0003-don-t-check-for-cplusplus-compiler.patch diff --git a/package/beecrypt/0003-don-t-check-for-cplusplus-compiler.patch b/package/beecrypt/0003-don-t-check-for-cplusplus-compiler.patch new file mode 100644 index 0000000000..32f167996f --- /dev/null +++ b/package/beecrypt/0003-don-t-check-for-cplusplus-compiler.patch @@ -0,0 +1,27 @@ +configure.ac: don't check for C++ compiler + +Signed-off-by: Fabrice Fontaine + +diff -durN beecrypt-4.2.1-orig/configure.ac beecrypt-4.2.1/configure.ac +--- beecrypt-4.2.1-orig/configure.ac 2019-03-01 19:58:16.516117640 +0100 ++++ beecrypt-4.2.1/configure.ac 2019-03-01 21:10:17.707391803 +0100 +@@ -119,9 +119,6 @@ + + # Checks for C compiler and preprocessor + AC_PROG_CC +-AC_PROG_CPP +-AC_PROG_CXX +-AC_PROG_CXXCPP + AM_PROG_AS + AC_PROG_LD + AC_PROG_LN_S +@@ -133,9 +130,6 @@ + AC_LANG_PUSH(C) + AC_OPENMP + AC_LANG_POP(C) +-AC_LANG_PUSH(C++) +-AC_OPENMP +-AC_LANG_POP(C++) + + # Checks for compiler characteristics and flags + if test "$ac_enable_expert_mode" = no; then