From b7106fb5e96dba007b9efe2e637be5ac0796d3dd Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 3 Jan 2026 14:25:52 +0100 Subject: [PATCH] package/snort3: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDB Package snort3 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". The build error during configure stage: -- Looking for getrpcent - not found CMake Error at cmake/sanity_checks.cmake:51 (message): Couldn't find an RPC program number database implementation! Call Stack (most recent call first): CMakeLists.txt:31 (include) was not yet found by the autobuilders but can be reproduced by this defconfig: BR2_x86_64=y BR2_x86_corei7=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_MUSL_BLEEDING_EDGE=y BR2_PER_PACKAGE_DIRECTORIES=y BR2_INIT_NONE=y # BR2_PACKAGE_BUSYBOX is not set BR2_PACKAGE_SNORT3=y # BR2_TARGET_ROOTFS_TAR is not set Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/snort3/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/snort3/Config.in b/package/snort3/Config.in index 9b96e7cb58..7171603aa3 100644 --- a/package/snort3/Config.in +++ b/package/snort3/Config.in @@ -17,6 +17,7 @@ config BR2_PACKAGE_SNORT3 select BR2_PACKAGE_LUAJIT select BR2_PACKAGE_PCRE select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC + select BR2_PACKAGE_LIBTIRPC_RPCDB if BR2_PACKAGE_LIBTIRPC select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_ZLIB help