Skip to contentSkip to conversation

pacakge/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_DB

PATCH Giulio Benetti 2 participants 2 messages Dec 12, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20251212225057.GA173789@pevik

#1 lore raw

Hi Petr,

Quoted 18 lines

Il giorno 12 dic 2025, alle ore 23:51, Petr Vorel <[email protected]> ha scritto:

Hi Giulio,

Quoted 1 line

Pacakge nfs-utils requires libtirpc rpcdb option, so let's select it by

s/Pacakge/Package/

Quoted 9 lines

default.

Fixes:
https://autobuild.buildroot.org/results/29adf2d04cf4c46e492af95edaa96983985d6b57/

---
package/nfs-utils/Config.in | 1 +

1 file changed, 1 insertion(+)
Quoted 12 lines

package/nfs-utils/Config.in config BR2_PACKAGE_NFS_UTILS · line 12

Quoted 9 lines
package/nfs-utils/Config.in +1 -0
index 02cc7e78cc..3e13bf87a9 100644
@@ -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_DB

I'm confused. There is no BR2_PACKAGE_LIBTIRPC_DB in master branch. What am I missing?

I’ve forgotten to add the other patch I’ve worked on to add LIBTIRPC_DB

Quoted 4 lines

And end log has:
configure: error: Neither getrpcbynumber_r nor getrpcbynumber are available These functions are from glibc's NSS and <netdb.h>, right?

AFAIK those functions can be provided libtirpc if —enable-rpcdb is passed to configure.

Need to send both patches soon

Thanks to look into this

Kind regards
Giulio

Quoted 7 lines

Kind regards,
Petr

Quoted 3 lines
package/nfs-utils/Config.in +0 -0
   select BR2_PACKAGE_SQLITE
   select BR2_PACKAGE_UTIL_LINUX
   select BR2_PACKAGE_UTIL_LINUX_LIBBLKID

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
Quoted 33 lines

Hi Petr,

Quoted 18 lines

Il giorno 12 dic 2025, alle ore 23:51, Petr Vorel <[email protected]> ha scritto:

Hi Giulio,

Quoted 1 line

Pacakge nfs-utils requires libtirpc rpcdb option, so let's select it by

s/Pacakge/Package/

Quoted 9 lines

default.

Fixes:
https://autobuild.buildroot.org/results/29adf2d04cf4c46e492af95edaa96983985d6b57/

---
package/nfs-utils/Config.in | 1 +

1 file changed, 1 insertion(+)
Quoted 12 lines

package/nfs-utils/Config.in config BR2_PACKAGE_NFS_UTILS · line 12

Quoted 9 lines
package/nfs-utils/Config.in +1 -0
index 02cc7e78cc..3e13bf87a9 100644
@@ -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_DB

I'm confused. There is no BR2_PACKAGE_LIBTIRPC_DB in master branch. What am I missing?

Quoted 1 line

I’ve forgotten to add the other patch I’ve worked on to add LIBTIRPC_DB

Thanks for info!

Quoted 5 lines
Quoted 3 lines

And end log has:
configure: error: Neither getrpcbynumber_r nor getrpcbynumber are available These functions are from glibc's NSS and <netdb.h>, right?

AFAIK those functions can be provided libtirpc if —enable-rpcdb is passed to configure.

I haven't updated libtirpc configure for a while. Good point, I see, it was added by Khem quite recently, in 1-3-7-rc4 (which is already released as 1.3.7).

Quoted 1 line

Need to send both patches soon

+1

Quoted 1 line

Thanks to look into this

Thanks for working on this! BTW you're maintainer of nfs-utils. Don't you want also consider maintaining rpcbind and libtirpc?

Quoted 10 lines

Kind regards
Giulio

Quoted 6 lines

Kind regards,
Petr

Quoted 3 lines
package/nfs-utils/Config.in +0 -0
   select BR2_PACKAGE_SQLITE
   select BR2_PACKAGE_UTIL_LINUX
   select BR2_PACKAGE_UTIL_LINUX_LIBBLKID

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot