From patchwork Wed Jul 22 21:06:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Barnett X-Patchwork-Id: 498830 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 7268514099F for ; Thu, 23 Jul 2015 07:07:00 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8E44A33060; Wed, 22 Jul 2015 21:06:59 +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 8wilD7WQEaMP; Wed, 22 Jul 2015 21:06:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id ABA3332F4E; Wed, 22 Jul 2015 21:06:56 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9BCF91C2078 for ; Wed, 22 Jul 2015 21:06:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 970C58D58D for ; Wed, 22 Jul 2015 21:06:55 +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 1G-JDrGsARW5 for ; Wed, 22 Jul 2015 21:06:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ch3vs02.rockwellcollins.com (ch3vs02.rockwellcollins.com [205.175.226.29]) by whitealder.osuosl.org (Postfix) with ESMTPS id 60F528BD39 for ; Wed, 22 Jul 2015 21:06:54 +0000 (UTC) Received: from ofwch3n02.rockwellcollins.com (HELO crulimr02.rockwellcollins.com) ([205.175.226.14]) by ch3vs02.rockwellcollins.com with ESMTP; 22 Jul 2015 16:06:53 -0500 X-Received: from largo.rockwellcollins.com (unknown [192.168.140.76]) by crulimr02.rockwellcollins.com (Postfix) with ESMTP id 8FA3B60150; Wed, 22 Jul 2015 16:06:53 -0500 (CDT) From: Ryan Barnett To: buildroot@buildroot.org Date: Wed, 22 Jul 2015 16:06:40 -0500 Message-Id: <1437599200-21453-1-git-send-email-ryan.barnett@rockwellcollins.com> X-Mailer: git-send-email 1.9.1 Cc: Ryan Barnett Subject: [Buildroot] [PATCH 1/1] audit: disable python3 support 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" With the version bump to 2.4.3, python3 support was added for libaudit. With host machines that have python3 installed, this will cause build issues such as: make[5]: Entering directory `/tmp/ryan/buildroot/output/build/audit-2.4.3/bindings/swig/python3' swig -o audit_wrap.c -python -py3 -modern -I. -I../../.. -I../../../lib -I/usr/include/python3.4m -I/usr/include/python3.4m ./../src/auditswig.i make[5]: swig: Command not found Solution is to disable python3 support such as we do with python2.7. Signed-off-by: Ryan Barnett --- package/audit/audit.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/audit/audit.mk b/package/audit/audit.mk index ab3e087..99fc0c2 100644 --- a/package/audit/audit.mk +++ b/package/audit/audit.mk @@ -14,7 +14,7 @@ AUDIT_INSTALL_STAGING = YES # Patching configure.ac and Makefile.am AUDIT_AUTORECONF = YES -AUDIT_CONF_OPTS = --without-python --disable-zos-remote +AUDIT_CONF_OPTS = --without-python --without-python3 --disable-zos-remote ifeq ($(BR2_PACKAGE_LIBCAP_NG),y) AUDIT_DEPENDENCIES += libcap-ng