Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] pacakge/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_DB
@ 2025-12-12 11:50 Giulio Benetti
  0 siblings, 0 replies; 3+ messages in thread
From: Giulio Benetti @ 2025-12-12 11:50 UTC (permalink / raw)
  To: buildroot; +Cc: Giulio Benetti, Petr Vorel

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

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

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 package/nfs-utils/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in
index 02cc7e78cc..3e13bf87a9 100644
--- a/package/nfs-utils/Config.in
+++ b/package/nfs-utils/Config.in
@@ -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
 	select BR2_PACKAGE_SQLITE
 	select BR2_PACKAGE_UTIL_LINUX
 	select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] pacakge/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_DB
       [not found] <20251212225057.GA173789@pevik>
@ 2025-12-12 23:18 ` Giulio Benetti
  2025-12-12 23:43   ` Petr Vorel
  0 siblings, 1 reply; 3+ messages in thread
From: Giulio Benetti @ 2025-12-12 23:18 UTC (permalink / raw)
  To: Petr Vorel; +Cc: buildroot

Hi Petr,

> Il giorno 12 dic 2025, alle ore 23:51, Petr Vorel <petr.vorel@gmail.com> ha scritto:
> 
> Hi Giulio,
> 
>> Pacakge nfs-utils requires libtirpc rpcdb option, so let's select it by
> 
> s/Pacakge/Package/
> 
>> default.
> 
>> Fixes:
>> https://autobuild.buildroot.org/results/29adf2d04cf4c46e492af95edaa96983985d6b57/
> 
>> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
>> ---
>> package/nfs-utils/Config.in | 1 +
>> 1 file changed, 1 insertion(+)
> 
>> diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in
>> index 02cc7e78cc..3e13bf87a9 100644
>> --- a/package/nfs-utils/Config.in
>> +++ b/package/nfs-utils/Config.in
>> @@ -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

> 
> 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

> 
> Kind regards,
> Petr
> 
>>    select BR2_PACKAGE_SQLITE
>>    select BR2_PACKAGE_UTIL_LINUX
>>    select BR2_PACKAGE_UTIL_LINUX_LIBBLKID

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] pacakge/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_DB
  2025-12-12 23:18 ` [Buildroot] [PATCH] pacakge/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_DB Giulio Benetti
@ 2025-12-12 23:43   ` Petr Vorel
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2025-12-12 23:43 UTC (permalink / raw)
  To: Giulio Benetti; +Cc: buildroot

> Hi Petr,

> > Il giorno 12 dic 2025, alle ore 23:51, Petr Vorel <petr.vorel@gmail.com> ha scritto:

> > Hi Giulio,

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

> > s/Pacakge/Package/

> >> default.

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

> >> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> >> ---
> >> package/nfs-utils/Config.in | 1 +
> >> 1 file changed, 1 insertion(+)

> >> diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in
> >> index 02cc7e78cc..3e13bf87a9 100644
> >> --- a/package/nfs-utils/Config.in
> >> +++ b/package/nfs-utils/Config.in
> >> @@ -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

Thanks for info!


> > 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).

> Need to send both patches soon

+1

> 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?

> Kind regards
> Giulio


> > Kind regards,
> > Petr

> >>    select BR2_PACKAGE_SQLITE
> >>    select BR2_PACKAGE_UTIL_LINUX
> >>    select BR2_PACKAGE_UTIL_LINUX_LIBBLKID

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2025-12-12 23:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20251212225057.GA173789@pevik>
2025-12-12 23:18 ` [Buildroot] [PATCH] pacakge/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_DB Giulio Benetti
2025-12-12 23:43   ` Petr Vorel
2025-12-12 11:50 Giulio Benetti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox