package/libtirpc: introduce BR2_PACKAGE_LIBTIRPC_RPCDB
PATCH v3 1/3 package/libtirpc: introduce BR2_PACKAGE_LIBTIRPC_RPCDB
Package libtirpc with commit[1] exposes --enable-rpcdb so make it selectable to allow packages that use rpcdb functions to enable it and build correctly.
[1]:
https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=7cea8ad66aecc21e6caae330b5d31075af399193
---V1->V2:
* added patch to seriesV2->V3:
* renamed BR2_PACKAGE_LIBTIRPC_RPCDB and added section BR2_PACKAGE_LIBTIRPC as suggested by Thomas Petazzoni.
* improved commit log with commit as suggested by Petr Vorel and Thomas Petazzoni
--- package/libtirpc/Config.in | 10 +++++++++- package/libtirpc/libtirpc.mk | 7 +++++++ 2 files changed, 16 insertions(+), 1 deletion(-)
package/libtirpc/Config.in +9 -1
@@ -7,15 +7,23 @@ config BR2_PACKAGE_LIBTIRPC http://sourceforge.net/projects/libtirpc/ +if BR2_PACKAGE_LIBTIRPC + config BR2_PACKAGE_LIBTIRPC_GSS bool "gss" depends on BR2_USE_MMU # libkrb5 depends on !BR2_STATIC_LIBS # libkrb5 - depends on BR2_PACKAGE_LIBTIRPC select BR2_PACKAGE_LIBKRB5 help Enable GSSAPI support +config BR2_PACKAGE_LIBTIRPC_RPCDB + bool "rpcdb" + help + Enable RPCDB support + +endif + comment "libtirpc needs a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libtirpc/libtirpc.mk +7 -0
@@ -25,5 +25,12 @@ LIBTIRPC_CONF_OPTS += --disable-gssapi endif HOST_LIBTIRPC_CONF_OPTS = --disable-gssapi +ifeq ($(BR2_PACKAGE_LIBTIRPC_RPCDB),y) +LIBTIRPC_CONF_OPTS += --enable-rpcdb +else +LIBTIRPC_CONF_OPTS += --disable-rpcdb +endif +HOST_LIBTIRPC_CONF_OPTS += --disable-rpcdb + $(eval $(autotools-package)) $(eval $(host-autotools-package))
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v3 2/3 package/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDB
Package nfs-utils requires libtirpc rpcdb option enabled. Package libtirpc with commit [1] disabled rpcdb functions by default so let's select it by default to enable rpcdb functions required.
[1]:
https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=7cea8ad66aecc21e6caae330b5d31075af399193
Fixes:
https://autobuild.buildroot.org/results/29adf2d04cf4c46e492af95edaa96983985d6b57/
---V1->V2:
* no changesV2->V3:
* improved commit log with libtirpc commit as suggested by Petr Vorel and Thomas Petazzoni
--- package/nfs-utils/Config.in | 1 + 1 file changed, 1 insertion(+)
package/nfs-utils/Config.in +1 -0
@@ -9,6 +9,7 @@ config BR2_PACKAGE_NFS_UTILS depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # getrandom() select BR2_PACKAGE_LIBEVENT select BR2_PACKAGE_LIBTIRPC # IPv6 requires libtirpc + select BR2_PACKAGE_LIBTIRPC_RPCDB select BR2_PACKAGE_SQLITE select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v3 2/3] package/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDB
Hi Giulio,
Quoted 3 lines
Package nfs-utils requires libtirpc rpcdb option enabled. Package libtirpc with commit [1] disabled rpcdb functions by default so let's select it by default to enable rpcdb functions required.
Kind regards,
Petr
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v3 3/3 package/rpcbind: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDB
In reply to Giulio BenettiPackage rpcbind requires libtirpc rpcdb option enabled. Package libtirpc with commit [1] disabled rpcdb functions by default so let's select it by default to enable rpcdb functions required.
[1]:
https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=7cea8ad66aecc21e6caae330b5d31075af399193
Fixes:
https://autobuild.buildroot.org/results/f461212605d9d5f1c38a1ffe00a83912522bf482/
---V1->V2:
* no changesV2->V3:
* improved commit log with libtirpc commit as suggested by Petr Vorel and Thomas Petazzoni
--- package/rpcbind/Config.in | 1 + 1 file changed, 1 insertion(+)
package/rpcbind/Config.in +1 -0
@@ -5,6 +5,7 @@ config BR2_PACKAGE_RPCBIND depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc depends on BR2_USE_MMU # fork() select BR2_PACKAGE_LIBTIRPC + select BR2_PACKAGE_LIBTIRPC_RPCDB help The rpcbind utility is a server that converts RPC program numbers into universal addresses.
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v3 3/3] package/rpcbind: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDB
Hi Giulio,
Quoted 3 lines
Package rpcbind requires libtirpc rpcdb option enabled. Package libtirpc with commit [1] disabled rpcdb functions by default so let's select it by default to enable rpcdb functions required.
Kind regards,
Petr
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi,
Quoted 3 lines
Il giorno 13 dic 2025, alle ore 22:41, Giulio Benetti <[email protected]> ha scritto:
Package libtirpc with commit[1] exposes --enable-rpcdb
and disables it by default differently from before that commit.
Quoted 9 lines
So make it
selectable to allow packages that use rpcdb functions to enable it and build correctly.[1]:
https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=7cea8ad66aecc21e6caae330b5d31075af399193Signed-off-by Giulio Benetti <[email protected]>---
Would it be possible to reword by a maintainer with the change above?
Best regards
Giulio
Quoted 56 lines
V1->V2:
* added patch to seriesV2->V3:
* renamedBR2_PACKAGE_LIBTIRPC_RPCDBand added sectionBR2_PACKAGE_LIBTIRPCas suggested by Thomas Petazzoni.
* improved commit log with commit as suggested by Petr Vorel and Thomas Petazzoni
---
package/libtirpc/Config.in | 10 +++++++++-package/libtirpc/libtirpc.mk| 7 +++++++2 files changed, 16 insertions(+), 1 deletion(-)package/libtirpc/Config.in +2
-0@@ -7,15 +7,23 @@ config BR2_PACKAGE_LIBTIRPC http://sourceforge.net/projects/libtirpc/ +if BR2_PACKAGE_LIBTIRPC +config
BR2_PACKAGE_LIBTIRPC_GSS
bool "gss"
depends onBR2_USE_MMU# libkrb5
depends on !BR2_STATIC_LIBS # libkrb5package/libtirpc/Config.in +7
-1- depends on BR2_PACKAGE_LIBTIRPC select BR2_PACKAGE_LIBKRB5 help Enable GSSAPI support +config BR2_PACKAGE_LIBTIRPC_RPCDB + bool "rpcdb" + help + Enable RPCDB support + +endif +comment "libtirpc needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADSpackage/libtirpc/libtirpc.mk +0
-0@@ -25,5 +25,12 @@ LIBTIRPC_CONF_OPTS += --disable-gssapiendif
HOST_LIBTIRPC_CONF_OPTS= --disable-gssapipackage/libtirpc/libtirpc.mk +7
-0+ifeq ($(BR2_PACKAGE_LIBTIRPC_RPCDB),y) +LIBTIRPC_CONF_OPTS += --enable-rpcdb +else +LIBTIRPC_CONF_OPTS += --disable-rpcdb +endif +HOST_LIBTIRPC_CONF_OPTS += --disable-rpcdb +
Quoted 5 lines
$(eval $(autotools-package))
$(eval $(host-autotools-package))
--
2.47.3
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Petr Vorel
Reviewed-byHi all,
Quoted 5 lines
Hi,
Quoted 3 lines
Il giorno 13 dic 2025, alle ore 22:41, Giulio Benetti <[email protected]> ha scritto:
Package libtirpc with commit[1] exposes --enable-rpcdb
very nit: looks like your editor uses BOM. Not a big deal, but if you have time It'd be nice to configure it not to add it when you modify patches.
Quoted 1 line
and disables it by default differently from before that commit.
+1
Quoted 11 lines
Quoted 9 lines
So make it
selectable to allow packages that use rpcdb functions to enable it and build correctly.[1]:
https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=7cea8ad66aecc21e6caae330b5d31075af399193Signed-off-by Giulio Benetti <[email protected]>---
Would it be possible to reword by a maintainer with the change above?
Kind regards,
Petr
Quoted 2 lines
Best regards
Giulio
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot