From patchwork Wed Aug 19 18:33:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 508793 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id EA44B140772 for ; Thu, 20 Aug 2015 04:33:44 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 89E0793757; Wed, 19 Aug 2015 18:33:43 +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 SsNAr1RKeRCp; Wed, 19 Aug 2015 18:33:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E875393761; Wed, 19 Aug 2015 18:33:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id D9AFB1C1FBD for ; Wed, 19 Aug 2015 18:33:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D63ACA3A46 for ; Wed, 19 Aug 2015 18:33:39 +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 NLEGP4pgJKC3 for ; Wed, 19 Aug 2015 18:33:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (down.free-electrons.com [37.187.137.238]) by fraxinus.osuosl.org (Postfix) with ESMTP id C21228B089 for ; Wed, 19 Aug 2015 18:33:38 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 5157C24D2; Wed, 19 Aug 2015 20:33:44 +0200 (CEST) Received: from localhost (132.230.147.77.rev.sfr.net [77.147.230.132]) by mail.free-electrons.com (Postfix) with ESMTPSA id F11CB2CF; Wed, 19 Aug 2015 20:33:43 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Wed, 19 Aug 2015 20:33:34 +0200 Message-Id: <1440009214-13898-1-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.5.0 Cc: Thomas Petazzoni , Alexey Brodkin Subject: [Buildroot] [PATCH] libselinux: mark as not available on ARC 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" libselinux causes some build problems due to the toolchain on ARC, which haven't solved so far. As a temporary solution for Buildroot 2015.08, this commit makes libselinux (and its reverse dependencies) unavailable on ARC. Of course, once the toolchain problem is addressed, this commit can be reverted to re-enable libselinux on ARC. Fixes: http://autobuild.buildroot.org/results/220/2207f6aad44a6988bf07b02b583b6418ad930dc8/ Signed-off-by: Thomas Petazzoni --- package/busybox/Config.in | 1 + package/libselinux/Config.in | 3 +++ package/libsemanage/Config.in | 2 ++ package/setools/Config.in | 5 +++-- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/package/busybox/Config.in b/package/busybox/Config.in index 25f72de..a3a328d 100644 --- a/package/busybox/Config.in +++ b/package/busybox/Config.in @@ -36,6 +36,7 @@ config BR2_PACKAGE_BUSYBOX_SELINUX select BR2_PACKAGE_LIBSELINUX depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS + depends on !BR2_arc bool "Enable SELinux support" help Enable SELinux support in BusyBox. Please note that diff --git a/package/libselinux/Config.in b/package/libselinux/Config.in index eb892e4..bc8298d 100644 --- a/package/libselinux/Config.in +++ b/package/libselinux/Config.in @@ -4,6 +4,8 @@ config BR2_PACKAGE_LIBSELINUX select BR2_PACKAGE_PCRE depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS + # Toolchain issue: "fixup not contained within frag" + depends on !BR2_arc help libselinux is the runtime SELinux library that provides interfaces (e.g. library functions for the SELinux kernel @@ -16,4 +18,5 @@ config BR2_PACKAGE_LIBSELINUX http://selinuxproject.org/page/Main_Page comment "libselinux needs a toolchain w/ threads, dynamic library" + depends on !BR2_arc depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/package/libsemanage/Config.in b/package/libsemanage/Config.in index 78b6315..d9a83c0 100644 --- a/package/libsemanage/Config.in +++ b/package/libsemanage/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_LIBSEMANAGE select BR2_PACKAGE_BZIP2 depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS + depends on !BR2_arc help libsemanage is the policy management library. It uses libsepol for binary policy manipulation and libselinux for @@ -17,4 +18,5 @@ config BR2_PACKAGE_LIBSEMANAGE http://selinuxproject.org/page/Main_Page comment "libsemanage needs a toolchain w/ threads, dynamic library" + depends on !BR2_arc depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/package/setools/Config.in b/package/setools/Config.in index 981d64b..046957f 100644 --- a/package/setools/Config.in +++ b/package/setools/Config.in @@ -10,7 +10,8 @@ config BR2_PACKAGE_SETOOLS # bfin: infamous _ symbol prefix issue # nios2: triggers some toolchain issue "No symbol version # section for versioned symbol" - depends on !BR2_nios2 && !BR2_bfin + # arc: libselinux not available + depends on !BR2_nios2 && !BR2_bfin && !BR2_arc help SETools is an open source project designed to facilitate SELinux policy analysis. The primary tools are: @@ -27,4 +28,4 @@ config BR2_PACKAGE_SETOOLS comment "setools needs a toolchain w/ threads, C++, dynamic library" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ || !BR2_INSTALL_LIBSTDCPP - depends on !BR2_nios2 && !BR2_bfin + depends on !BR2_nios2 && !BR2_bfin && !BR2_arc