From patchwork Thu May 16 19:03:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 244409 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 1673D2C00A9 for ; Fri, 17 May 2013 05:02:38 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1D8E68DE7C; Thu, 16 May 2013 19:02:36 +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 ofhJZ+p06vb6; Thu, 16 May 2013 19:02:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 6721B8DEC4; Thu, 16 May 2013 19:02:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E2E878F79A for ; Thu, 16 May 2013 19:02:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DBE538DE7C for ; Thu, 16 May 2013 19:02:31 +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 I7ZRtj-GDffJ for ; Thu, 16 May 2013 19:02:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by whitealder.osuosl.org (Postfix) with ESMTPS id 099728DEC4 for ; Thu, 16 May 2013 19:02:29 +0000 (UTC) Received: by mail-we0-f169.google.com with SMTP id x54so3039570wes.0 for ; Thu, 16 May 2013 12:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=lCT7sZOtVYAMTgyxvpuUC78PmfnxKMzPRP1vadCRcKk=; b=dlvWHkJXK0MFMEHkwQ8ciBR+WkydswqYmFs1au8Or84EfmLfz35E4pm6BADLwQaxwi Fr0QXmpmLuaWbwmnXxBilqyMrAkJN146LajWDNeqrrwO8DNsI2uE93y6KRhVHUBHCVXj ZrhHRIYowYvunWmqJRiaWgeOo3Bp3VhcoDPzlN2ttPBMNHruOO9GKBpEjdIKfwxInF12 Ekkwomyh4ofqJFji8dS3Rr5GWOaCSMlOLHcVkCSGXlWWYDKKF2iT6nN86G9liIgUULJv Zz0keP07FJBGLdu9anSINHdU/qoBPgAP8Gt+zw2nSGLaeObwFkCWq6ISTqZUC2bUsZqo 2yEQ== X-Received: by 10.180.76.103 with SMTP id j7mr27589623wiw.21.1368730947958; Thu, 16 May 2013 12:02:27 -0700 (PDT) Received: from smartin-de.aldebaran.lan (20-87-190-109.dsl.ovh.fr. [109.190.87.20]) by mx.google.com with ESMTPSA id fu14sm5676200wic.8.2013.05.16.12.02.27 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 12:02:27 -0700 (PDT) From: Samuel Martin To: buildroot@busybox.net Date: Thu, 16 May 2013 21:03:10 +0200 Message-Id: <1368730990-20495-1-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 1.8.2.3 Subject: [Buildroot] [PATCH 1/1] libtirpc: requires toolchain with threads support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net From: "gilles.talis@gmail.com" Fixes: http://autobuild.buildroot.org/results/8ba720f47f74df94b8c70ac4befd47c47ce65f2f Signed-off-by: Gilles Talis Signed-off-by: "Samuel Martin" --- package/conntrack-tools/Config.in | 5 +++-- package/libtirpc/Config.in | 4 ++++ package/lmbench/Config.in | 4 ++++ package/nfs-utils/Config.in | 5 +++-- package/quota/Config.in | 5 +++-- package/rpcbind/Config.in | 4 ++++ 6 files changed, 21 insertions(+), 6 deletions(-) diff --git a/package/conntrack-tools/Config.in b/package/conntrack-tools/Config.in index 50f2000..beac016 100644 --- a/package/conntrack-tools/Config.in +++ b/package/conntrack-tools/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_CONNTRACK_TOOLS depends on BR2_INET_IPV6 depends on BR2_LARGEFILE depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc select BR2_PACKAGE_LIBNETFILTER_CONNTRACK select BR2_PACKAGE_LIBNETFILTER_CTHELPER select BR2_PACKAGE_LIBNETFILTER_CTTIMEOUT @@ -16,5 +17,5 @@ config BR2_PACKAGE_CONNTRACK_TOOLS http://www.netfilter.org/projects/conntrack-tools/ -comment "conntrack-tools requires a toolchain with IPV6 and LARGEFILE support" - depends on !BR2_INET_IPV6 || !BR2_LARGEFILE +comment "conntrack-tools requires a toolchain with IPV6, LARGEFILE and thread support" + depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) diff --git a/package/libtirpc/Config.in b/package/libtirpc/Config.in index 7e891b4..f2a6f83 100644 --- a/package/libtirpc/Config.in +++ b/package/libtirpc/Config.in @@ -1,7 +1,11 @@ config BR2_PACKAGE_LIBTIRPC bool "libtirpc" + depends on BR2_TOOLCHAIN_HAS_THREADS help Libtirpc is a port of Sun's Transport-Independent RPC library to Linux. http://sourceforge.net/projects/libtirpc/ + +comment "libtirpc requires a toolchain with threads support" + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/lmbench/Config.in b/package/lmbench/Config.in index d710e1f..8492e9c 100644 --- a/package/lmbench/Config.in +++ b/package/lmbench/Config.in @@ -1,8 +1,12 @@ config BR2_PACKAGE_LMBENCH bool "lmbench" + depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC help LMbench is a suite of simple, portable, ANSI/C microbenchmarks for UNIX/POSIX. http://sourceforge.net/projects/lmbench/ + +comment "lmbench requires a toolchain with thread support" + depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in index fa35f35..4b5d413 100644 --- a/package/nfs-utils/Config.in +++ b/package/nfs-utils/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_NFS_UTILS bool "nfs-utils" + depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC depends on BR2_LARGEFILE help @@ -9,8 +10,8 @@ config BR2_PACKAGE_NFS_UTILS http://sourceforge.net/projects/nfs -comment "nfs-utils requires a toolchain with LARGEFILE support" - depends on !BR2_LARGEFILE +comment "nfs-utils requires a toolchain with LARGEFILE and thread support" + depends on !BR2_LARGEFILE || !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) menu "NFS utilities selection" depends on BR2_PACKAGE_NFS_UTILS diff --git a/package/quota/Config.in b/package/quota/Config.in index 5127a9a..e086c0c 100644 --- a/package/quota/Config.in +++ b/package/quota/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_QUOTA depends on BR2_USE_WCHAR depends on BR2_USE_MMU # fork() depends on !(BR2_microblazeel || BR2_microblazebe) # util-linux + depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_BINARIES select BR2_PACKAGE_UTIL_LINUX_MOUNT @@ -14,5 +15,5 @@ config BR2_PACKAGE_QUOTA http://sourceforge.net/projects/linuxquota/ -comment "quota requires a toolchain with LARGEFILE + WCHAR support" - depends on !(BR2_LARGEFILE && BR2_USE_WCHAR) +comment "quota requires a toolchain with LARGEFILE, WCHAR and thread support" + depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) diff --git a/package/rpcbind/Config.in b/package/rpcbind/Config.in index 1bdcd9e..ac18036 100644 --- a/package/rpcbind/Config.in +++ b/package/rpcbind/Config.in @@ -2,7 +2,11 @@ config BR2_PACKAGE_RPCBIND bool "rpcbind" # We really need libtirpc and can't work with the native RPC # implementation of toolchains. + depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc select BR2_PACKAGE_LIBTIRPC help The rpcbind utility is a server that converts RPC program numbers into universal addresses. + +comment "rpcbind requires a toolchain with thread support" + depends on !BR2_TOOLCHAIN_HAS_THREADS