From 417d2cd64a67c32a8a5be57b04d759da787a0a7d Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 3 Jan 2026 14:25:51 +0100 Subject: [PATCH] package/quota: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDB Package quota requires libtirpc rpcdb option enabled with non-glibc toolchains since the bump of libtirpc to version 1.3.7 with buildroot commit 3f3d6e43de9b4aac7df8545fd811171256f878d3 which includes upstream commit: https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=7cea8ad66aecc21e6caae330b5d31075af399193 These build errors, caused by the forementioned upstream commit, only occur with non-glibc toolchains: https://patchwork.yoctoproject.org/comment/30091/ "but I believe it breaks the build with musl" as shown by our autobuilders: https://autobuild.buildroot.net/?reason=quota-4.10 Fixes: https://autobuild.buildroot.net/results/fb0/fb0adbb7687d8db4228e2fc1ce7a7272486fd3ef/ "svc_socket.c:(.text+0x2c): undefined reference to `getrpcbynumber'" Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/quota/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/quota/Config.in b/package/quota/Config.in index 051a765570..0b7b5b8946 100644 --- a/package/quota/Config.in +++ b/package/quota/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_QUOTA depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC + select BR2_PACKAGE_LIBTIRPC_RPCDB if BR2_PACKAGE_LIBTIRPC help Implementation of the disk quota system.