[Buildroot] [PATCH] pacakge/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_DB

Giulio Benetti giulio.benetti at benettiengineering.com
Fri Dec 12 23:18:33 UTC 2025


Hi Petr,

> Il giorno 12 dic 2025, alle ore 23:51, Petr Vorel <petr.vorel at 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 at 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



More information about the buildroot mailing list