From patchwork Thu Aug 20 18:58:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Heading X-Patchwork-Id: 509144 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 0BEB7140773 for ; Fri, 21 Aug 2015 04:59:06 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=ThvVN/H/; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3AB4589088; Thu, 20 Aug 2015 18:59:05 +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 TsiHs-ndtqxh; Thu, 20 Aug 2015 18:59:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A3DDB89048; Thu, 20 Aug 2015 18:59:03 +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 8F45A1C0110 for ; Thu, 20 Aug 2015 18:59:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8A2E88902E for ; Thu, 20 Aug 2015 18:59:02 +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 ufL5ZOsAmgmw for ; Thu, 20 Aug 2015 18:59:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 8BACC87CD0 for ; Thu, 20 Aug 2015 18:59:01 +0000 (UTC) Received: by wijp15 with SMTP id p15so1258894wij.0 for ; Thu, 20 Aug 2015 11:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=zqe5d2Q+NjRa494ThOjHqGawvc+Yfrj5A/ufINnonec=; b=ThvVN/H/xVlRcbAnlfjujZ/tDGJY5TaIit7PWgjU95+e5uLjkSkZNxI/8sLwBWJj0H KAPozCfztf5ROTvAQLWvB52mDSMj+Y5GsHlBQNM9vE9Wpc5ZHhG1/SeDKxEJUeeXVinI VSXTBcZyF2AcEGf97rRz9Wbx8suIl/APAUfE4n2QPkttyRoR/KKyog4D0TcWYEivPNfU 30CwRN9uvPpqk1Js0C4iH6DiStEglgPWo3wS7yU+xozSpXyDVMtuMrxTMAy24/NY1n28 6j1UUr+u6S2QWOplndCGT3IeJO85w9vmF3mvylVMuXiwe4PHKUG7vwNqY4Kqb+Eeo1cd 3IkA== X-Received: by 10.180.105.36 with SMTP id gj4mr66272609wib.64.1440097139979; Thu, 20 Aug 2015 11:58:59 -0700 (PDT) Received: from bhfedora.localdomain ([82.15.84.251]) by smtp.gmail.com with ESMTPSA id c11sm31743558wib.1.2015.08.20.11.58.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Aug 2015 11:58:59 -0700 (PDT) From: Brendan Heading To: buildroot@buildroot.org Date: Thu, 20 Aug 2015 19:58:54 +0100 Message-Id: <1440097134-32316-1-git-send-email-brendanheading@gmail.com> X-Mailer: git-send-email 2.4.3 Cc: Brendan Heading Subject: [Buildroot] [PATCH 1/1] packages/linux-pam: disable when using musl 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" Fixes: http://autobuild.buildroot.net/results/e33/e337d69420ad00b2cc4017d639a31803926f2353/ linux-pam needs some surgery to build under musl, so for the time being disable it until the issues are solved. Also disables dependent package python-pam, and dependent suboptions under openvmtools, rsh-redone and util-linux. Signed-off-by: Brendan Heading --- package/linux-pam/Config.in | 3 ++- package/openvmtools/Config.in | 3 ++- package/python-pam/Config.in | 4 +++- package/rsh-redone/Config.in | 6 ++++-- package/util-linux/Config.in | 3 ++- 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/package/linux-pam/Config.in b/package/linux-pam/Config.in index 6b92886..8cedd04 100644 --- a/package/linux-pam/Config.in +++ b/package/linux-pam/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_LINUX_PAM # https://lists.fedorahosted.org/pipermail/linux-pam-commits/2012-February/000105.html # for details. depends on !BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam help A Security Framework that Provides Authentication for Applications @@ -17,4 +18,4 @@ config BR2_PACKAGE_LINUX_PAM comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library" depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS + || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL diff --git a/package/openvmtools/Config.in b/package/openvmtools/Config.in index 8e22eff..ac6aaca 100644 --- a/package/openvmtools/Config.in +++ b/package/openvmtools/Config.in @@ -36,11 +36,12 @@ config BR2_PACKAGE_OPENVMTOOLS_PAM # linux-pam needs locale and wchar, but we already have this # dependency on the main symbol, above. depends on !BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam help Support for PAM in openvmtools comment "PAM support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS + depends on BR2_STATIC_LIBS || BR2_TOOLCAHIN_USES_MUSL endif diff --git a/package/python-pam/Config.in b/package/python-pam/Config.in index 6c7bc63..5e97b8f 100644 --- a/package/python-pam/Config.in +++ b/package/python-pam/Config.in @@ -1,6 +1,7 @@ comment "python-pam needs a toolchain w/ wchar, locale, dynamic library" depends on BR2_PACKAGE_PYTHON - depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR || BR2_STATIC_LIBS + depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR || BR2_STATIC_LIBS || \ + BR2_TOOLCHAIN_USES_MUSL config BR2_PACKAGE_PYTHON_PAM bool "python-pam" @@ -8,6 +9,7 @@ config BR2_PACKAGE_PYTHON_PAM depends on BR2_ENABLE_LOCALE # linux-pam depends on BR2_USE_WCHAR # linux-pam depends on !BR2_STATIC_LIBS # linux-pam + depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam select BR2_PACKAGE_LINUX_PAM help PAM (Pluggable Authentication Module) bindings for Python. diff --git a/package/rsh-redone/Config.in b/package/rsh-redone/Config.in index 218b47c..6737ef5 100644 --- a/package/rsh-redone/Config.in +++ b/package/rsh-redone/Config.in @@ -16,11 +16,12 @@ config BR2_PACKAGE_RSH_REDONE_RLOGIND bool "rlogind" depends on !BR2_STATIC_LIBS depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR + depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam select BR2_PACKAGE_LINUX_PAM comment "rlogind needs a toolchain w/ wchar, locale, dynamic library" depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS + || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL config BR2_PACKAGE_RSH_REDONE_RSH bool "rsh" @@ -29,10 +30,11 @@ config BR2_PACKAGE_RSH_REDONE_RSHD bool "rshd" depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR depends on !BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam select BR2_PACKAGE_LINUX_PAM comment "rshd needs a toolchain w/ wchar, locale, dynamic library" depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS + || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL endif diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index 39df11c..4db1d3f 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -66,13 +66,14 @@ config BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH bool "chfn/chsh" depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam depends on !BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_USES_MUSL select BR2_PACKAGE_LINUX_PAM help Change login shell, real user name and information comment "chfn/chsh needs a toolchain w/ wchar, locale, dynamic library" depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS + || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL config BR2_PACKAGE_UTIL_LINUX_CRAMFS bool "cramfs utilities"