All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] Revert "package/libtirpc: install rpc.h"
@ 2021-07-17 13:44 Fabrice Fontaine
  2021-07-17 13:44 ` [Buildroot] [PATCH 2/3] package/libtirpc: install full host package Fabrice Fontaine
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2021-07-17 13:44 UTC (permalink / raw)
  To: buildroot

This reverts commit b991962993357092625e5b18d8203acd1e9b8b1f.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libtirpc/libtirpc.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/libtirpc/libtirpc.mk b/package/libtirpc/libtirpc.mk
index 8cdc453cd4..2678c144e9 100644
--- a/package/libtirpc/libtirpc.mk
+++ b/package/libtirpc/libtirpc.mk
@@ -21,7 +21,6 @@ LIBTIRPC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DGQ"
 LIBTIRPC_CONF_OPTS = --disable-gssapi
 
 define HOST_LIBTIRPC_INSTALL_CMDS
-	$(INSTALL) -D -m 0644 $(@D)/tirpc/rpc/rpc.h $(HOST_DIR)/include/rpc/rpc.h
 	$(INSTALL) -D -m 0644 $(@D)/tirpc/rpc/types.h $(HOST_DIR)/include/rpc/types.h
 	$(INSTALL) -D -m 0644 $(@D)/tirpc/netconfig.h $(HOST_DIR)/include/netconfig.h
 endef
-- 
2.30.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/3] package/libtirpc: install full host package
  2021-07-17 13:44 [Buildroot] [PATCH 1/3] Revert "package/libtirpc: install rpc.h" Fabrice Fontaine
@ 2021-07-17 13:44 ` Fabrice Fontaine
  2021-07-17 13:44 ` [Buildroot] [PATCH 3/3] package/nfs-utils: fix build with libtirpc Fabrice Fontaine
  2021-07-17 14:08 ` [Buildroot] [PATCH 1/3] Revert "package/libtirpc: install rpc.h" Yann E. MORIN
  2 siblings, 0 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2021-07-17 13:44 UTC (permalink / raw)
  To: buildroot

Install full host package for rpc.h and all other headers to avoid the
following build failure with host-nfs-utils in version 2.5.4 raised
since commit 0ce30de72fb303768c5865949b8ce9260d0c43f5:

checking rpc/rpc.h usability... no
checking rpc/rpc.h presence... no
checking for rpc/rpc.h... no
configure: error: Header file rpc/rpc.h not found - maybe try building with --enable-tirpc

This build failure is raised by
http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=be7365239abf8556773b063730621967b9971708

Fixes:
 - http://autobuild.buildroot.org/results/a5eaf19f58729c4c00a2131b6a0c378c0fc0effb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libtirpc/libtirpc.mk | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/package/libtirpc/libtirpc.mk b/package/libtirpc/libtirpc.mk
index 2678c144e9..31be113965 100644
--- a/package/libtirpc/libtirpc.mk
+++ b/package/libtirpc/libtirpc.mk
@@ -19,12 +19,7 @@ LIBTIRPC_AUTORECONF = YES
 LIBTIRPC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DGQ"
 
 LIBTIRPC_CONF_OPTS = --disable-gssapi
-
-define HOST_LIBTIRPC_INSTALL_CMDS
-	$(INSTALL) -D -m 0644 $(@D)/tirpc/rpc/types.h $(HOST_DIR)/include/rpc/types.h
-	$(INSTALL) -D -m 0644 $(@D)/tirpc/netconfig.h $(HOST_DIR)/include/netconfig.h
-endef
+HOST_LIBTIRPC_CONF_OPTS = --disable-gssapi
 
 $(eval $(autotools-package))
-# We are only copying headers; no need for the autotools infrastructure
-$(eval $(host-generic-package))
+$(eval $(host-autotools-package))
-- 
2.30.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 3/3] package/nfs-utils: fix build with libtirpc
  2021-07-17 13:44 [Buildroot] [PATCH 1/3] Revert "package/libtirpc: install rpc.h" Fabrice Fontaine
  2021-07-17 13:44 ` [Buildroot] [PATCH 2/3] package/libtirpc: install full host package Fabrice Fontaine
@ 2021-07-17 13:44 ` Fabrice Fontaine
  2021-07-17 14:08 ` [Buildroot] [PATCH 1/3] Revert "package/libtirpc: install rpc.h" Yann E. MORIN
  2 siblings, 0 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2021-07-17 13:44 UTC (permalink / raw)
  To: buildroot

Help nfs-utils to find the path of libtirpc

Fixes:
 - http://autobuild.buildroot.org/results/a5eaf19f58729c4c00a2131b6a0c378c0fc0effb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/nfs-utils/nfs-utils.mk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/nfs-utils/nfs-utils.mk b/package/nfs-utils/nfs-utils.mk
index 4e4cf93587..d36b3f2def 100644
--- a/package/nfs-utils/nfs-utils.mk
+++ b/package/nfs-utils/nfs-utils.mk
@@ -24,6 +24,7 @@ NFS_UTILS_CONF_OPTS = \
 	--with-rpcgen=$(HOST_DIR)/bin/rpcgen
 
 HOST_NFS_UTILS_CONF_OPTS = \
+	--enable-tirpc \
 	--disable-nfsv4 \
 	--disable-nfsv41 \
 	--disable-gss \
@@ -32,9 +33,9 @@ HOST_NFS_UTILS_CONF_OPTS = \
 	--without-tcp-wrappers \
 	--with-statedir=/run/nfs \
 	--disable-caps \
-	--disable-tirpc \
 	--without-systemd \
-	--with-rpcgen=internal
+	--with-rpcgen=internal \
+	--with-tirpcinclude=$(HOST_DIR)/include/tirpc
 HOST_NFS_UTILS_DEPENDENCIES = host-pkgconf host-libtirpc
 
 NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPCDEBUG) += usr/sbin/rpcdebug
-- 
2.30.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/3] Revert "package/libtirpc: install rpc.h"
  2021-07-17 13:44 [Buildroot] [PATCH 1/3] Revert "package/libtirpc: install rpc.h" Fabrice Fontaine
  2021-07-17 13:44 ` [Buildroot] [PATCH 2/3] package/libtirpc: install full host package Fabrice Fontaine
  2021-07-17 13:44 ` [Buildroot] [PATCH 3/3] package/nfs-utils: fix build with libtirpc Fabrice Fontaine
@ 2021-07-17 14:08 ` Yann E. MORIN
  2 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2021-07-17 14:08 UTC (permalink / raw)
  To: buildroot

Fabrice, All,

Series of three patches: applied to master, thanks.

Regards,
Yann E. MORIN.

On 2021-07-17 15:44 +0200, Fabrice Fontaine spake thusly:
> This reverts commit b991962993357092625e5b18d8203acd1e9b8b1f.
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/libtirpc/libtirpc.mk | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/package/libtirpc/libtirpc.mk b/package/libtirpc/libtirpc.mk
> index 8cdc453cd4..2678c144e9 100644
> --- a/package/libtirpc/libtirpc.mk
> +++ b/package/libtirpc/libtirpc.mk
> @@ -21,7 +21,6 @@ LIBTIRPC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DGQ"
>  LIBTIRPC_CONF_OPTS = --disable-gssapi
>  
>  define HOST_LIBTIRPC_INSTALL_CMDS
> -	$(INSTALL) -D -m 0644 $(@D)/tirpc/rpc/rpc.h $(HOST_DIR)/include/rpc/rpc.h
>  	$(INSTALL) -D -m 0644 $(@D)/tirpc/rpc/types.h $(HOST_DIR)/include/rpc/types.h
>  	$(INSTALL) -D -m 0644 $(@D)/tirpc/netconfig.h $(HOST_DIR)/include/netconfig.h
>  endef
> -- 
> 2.30.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-17 14:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-17 13:44 [Buildroot] [PATCH 1/3] Revert "package/libtirpc: install rpc.h" Fabrice Fontaine
2021-07-17 13:44 ` [Buildroot] [PATCH 2/3] package/libtirpc: install full host package Fabrice Fontaine
2021-07-17 13:44 ` [Buildroot] [PATCH 3/3] package/nfs-utils: fix build with libtirpc Fabrice Fontaine
2021-07-17 14:08 ` [Buildroot] [PATCH 1/3] Revert "package/libtirpc: install rpc.h" Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.