Skip to contentSkip to conversation

package/libtirpc: install rpc.h

PATCH New Fabrice Fontaine 2 participants 2 messages Jul 16, 2021 – Jul 17, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libtirpc: install rpc.h

Install rpc.h 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

---
 package/libtirpc/libtirpc.mk | 1 +
 1 file changed, 1 insertion(+)
package/libtirpc/libtirpc.mk +1 -0
index 2678c144e9..8cdc453cd4 100644
@@ -21,6 +21,7 @@ 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
Signature · 1 line
2.30.2
#1 lore raw

PATCH 1/1 package/libtirpc: install rpc.h

Quoted 12 lines · On Sat, 17 Jul 2021 00:09:41 +0200 Fabrice Fontaine…

Install rpc.h 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

Quoted 7 lines

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

---
 package/libtirpc/libtirpc.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com