From patchwork Mon Jul 20 21:47:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 497918 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 13C31140DCE for ; Tue, 21 Jul 2015 07:47:55 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5FBBE8F9A5; Mon, 20 Jul 2015 21:47:54 +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 n42+-dhsj2ry; Mon, 20 Jul 2015 21:47:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 702608FA88; Mon, 20 Jul 2015 21:47:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 29CBA1C1F71 for ; Mon, 20 Jul 2015 21:47:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1F5A92EC95 for ; Mon, 20 Jul 2015 21:47:52 +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 lf3DBPhs+bX6 for ; Mon, 20 Jul 2015 21:47:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx02.posteo.de (mx02.posteo.de [89.146.194.165]) by silver.osuosl.org (Postfix) with ESMTPS id B7B0B2E85F for ; Mon, 20 Jul 2015 21:47:47 +0000 (UTC) Received: from dovecot04.posteo.de (unknown [185.67.36.27]) by mx02.posteo.de (Postfix) with ESMTPS id 5232325A2110 for ; Mon, 20 Jul 2015 23:47:45 +0200 (CEST) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot04.posteo.de (Postfix) with ESMTPSA id 3mZxVn07tTzFpW5 for ; Mon, 20 Jul 2015 23:47:45 +0200 (CEST) Received: from nzxt.fritz.box (nzxt.localdomain [192.168.178.46]) (Authenticated sender: joerg.krause@embedded.rocks) by embedded.rocks (Postfix) with ESMTPSA id 54DC39804AE; Mon, 20 Jul 2015 23:47:44 +0200 (CEST) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Mon, 20 Jul 2015 23:47:38 +0200 Message-Id: <1437428858-31045-1-git-send-email-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.4.6 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/nfs-utils: fix unmet direct dependency 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Commit 182520a8af734c735c4dbdff29dc07af1d615a0a adds rpcbind as a dependency without properly caring for the thread dependency. rpcbind adds libtirpc as a dependendency which fails: fatal error: pthread.h: No such file or directory Since we probably don't care much about using nfs-utils in a non-threaded scenario, we simply disable nfs-utils for toolchains without thread support. Fixes: http://autobuild.buildroot.net/results/803/80321de8d4c6c0a00439b07289a5818962128b43/ Suggested-by: Thomas Petazzoni Signed-off-by: Jörg Krause --- package/nfs-utils/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in index 2806551..1273092 100644 --- a/package/nfs-utils/Config.in +++ b/package/nfs-utils/Config.in @@ -1,10 +1,10 @@ comment "nfs-utils needs a toolchain w/ threads" depends on BR2_USE_MMU - depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) + depends on !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_NFS_UTILS bool "nfs-utils" - depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc + depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc, rpcbind select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC select BR2_PACKAGE_RPCBIND # runtime depends on BR2_USE_MMU # fork()