* [Buildroot] [PATCH 1/1] package/nfs-utils: fix unmet direct dependency
@ 2015-07-20 21:47 Jörg Krause
2015-07-22 20:52 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Jörg Krause @ 2015-07-20 21:47 UTC (permalink / raw)
To: 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 <thomas.petazzoni@free-electrons.com>
Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
---
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()
--
2.4.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/nfs-utils: fix unmet direct dependency
2015-07-20 21:47 [Buildroot] [PATCH 1/1] package/nfs-utils: fix unmet direct dependency Jörg Krause
@ 2015-07-22 20:52 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-07-22 20:52 UTC (permalink / raw)
To: buildroot
Dear J?rg Krause,
On Mon, 20 Jul 2015 23:47:38 +0200, J?rg Krause wrote:
> 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 <thomas.petazzoni@free-electrons.com>
> Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
> ---
> package/nfs-utils/Config.in | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-22 20:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-20 21:47 [Buildroot] [PATCH 1/1] package/nfs-utils: fix unmet direct dependency Jörg Krause
2015-07-22 20:52 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox