Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v4 0/5] package/libtirpc: introduce BR2_PACKAGE_LIBTIRPC_RPCDB
@ 2026-01-03 13:25 Bernd Kuhls
  2026-01-03 13:25 ` [Buildroot] [PATCH v4 1/5] " Bernd Kuhls
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Bernd Kuhls @ 2026-01-03 13:25 UTC (permalink / raw)
  To: buildroot
  Cc: Fabrice Fontaine, Giulio Benetti, Jarkko Sakkinen, Petr Vorel,
	Thomas Petazzoni

Hi,

this series fixes build errors introduced by 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 also uclibc is affected:

https://autobuild.buildroot.net/?reason=nfs-utils-2.8.4
https://autobuild.buildroot.net/?reason=quota-4.10
https://autobuild.buildroot.net/?reason=rpcbind-1.2.8

And indeed, building this glibc-based defconfig does not show any
libtirpc-related build errors:
BR2_x86_64=y
BR2_x86_corei7=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_PER_PACKAGE_DIRECTORIES=y
BR2_INIT_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_NFS_UTILS=y
# BR2_PACKAGE_NFS_UTILS_RPC_NFSD is not set
BR2_PACKAGE_RPCBIND=y
BR2_PACKAGE_SNORT3=y
BR2_PACKAGE_QUOTA=y
# BR2_TARGET_ROOTFS_TAR is not set

so we enable rpcdb support only for non-glibc toolchains following Yocto:
https://patchwork.yoctoproject.org/project/oe-core/patch/20250812221917.3926403-1-raj.khem@gmail.com/
"Add packageconfig for rpcdb

Enable it by default on musl, these functions are needed by
packages e.g. quota, nfs-utils, snort3 on musl"

This patch series is based on v3 from Giulio:
https://patchwork.ozlabs.org/project/buildroot/list/?series=485299
with the following additions/changes:
- added quota and snort3 to the list of packages needing rpcdb support
- enable BR2_PACKAGE_LIBTIRPC_RPCDB only when needed, see individual
  patch comments for details
- libtirpc: move gss comment into if-block

Building this musl-based defconfig does not show any libtirpc-related
build errors anymore with this patch series:

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_NFS_UTILS=y
# BR2_PACKAGE_NFS_UTILS_RPC_NFSD is not set
BR2_PACKAGE_RPCBIND=y
BR2_PACKAGE_SNORT3=y
BR2_PACKAGE_QUOTA=y
# BR2_TARGET_ROOTFS_TAR is not set

The snort3 patch included in this series only fixes the libtirpc-related
configure error.

Regards, Bernd


Bernd Kuhls (2):
  package/quota: fix build failure due to missing
    BR2_PACKAGE_LIBTIRPC_RPCDB
  package/snort3: fix build failure due to missing
    BR2_PACKAGE_LIBTIRPC_RPCDB

Giulio Benetti (3):
  package/libtirpc: introduce BR2_PACKAGE_LIBTIRPC_RPCDB
  package/nfs-utils: fix build failure due to missing
    BR2_PACKAGE_LIBTIRPC_RPCDB
  package/rpcbind: fix build failure due to missing
    BR2_PACKAGE_LIBTIRPC_RPCDB

 package/libtirpc/Config.in   | 17 ++++++++++++-----
 package/libtirpc/libtirpc.mk |  7 +++++++
 package/nfs-utils/Config.in  |  1 +
 package/quota/Config.in      |  1 +
 package/rpcbind/Config.in    |  1 +
 package/snort3/Config.in     |  1 +
 6 files changed, 23 insertions(+), 5 deletions(-)

-- 
2.47.3

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

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

end of thread, other threads:[~2026-01-19 10:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-03 13:25 [Buildroot] [PATCH v4 0/5] package/libtirpc: introduce BR2_PACKAGE_LIBTIRPC_RPCDB Bernd Kuhls
2026-01-03 13:25 ` [Buildroot] [PATCH v4 1/5] " Bernd Kuhls
2026-01-06 22:21   ` Thomas Petazzoni via buildroot
2026-01-19 10:09   ` Arnout Vandecappelle via buildroot
2026-01-03 13:25 ` [Buildroot] [PATCH v4 2/5] package/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDB Bernd Kuhls
2026-01-06 22:22   ` Thomas Petazzoni via buildroot
2026-01-19 10:09   ` Arnout Vandecappelle via buildroot
2026-01-03 13:25 ` [Buildroot] [PATCH v4 3/5] package/rpcbind: " Bernd Kuhls
2026-01-06 22:22   ` Thomas Petazzoni via buildroot
2026-01-19 10:09   ` Arnout Vandecappelle via buildroot
2026-01-03 13:25 ` [Buildroot] [PATCH v4 4/5] package/quota: " Bernd Kuhls
2026-01-06 22:22   ` Thomas Petazzoni via buildroot
2026-01-03 13:25 ` [Buildroot] [PATCH v4 5/5] package/snort3: " Bernd Kuhls
2026-01-06 22:22   ` Thomas Petazzoni via buildroot

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