Skip to content

package/libtirpc: introduce BR2_PACKAGE_LIBTIRPC_RPCDB

Bernd Kuhls buildroot 1 version Applied

Status from this message: Applied to master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest5 patches 8 repliesApplied

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/5package/libtirpc: introduce BR2_PACKAGE_LIBTIRPC_RPCDBpackage/libtirpc/Config.in package/libtirpc/libtirpc.mk+19 -52 replies
2/5package/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDBpackage/nfs-utils/Config.in+1 -02 replies
3/5package/rpcbind: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDBpackage/rpcbind/Config.in+1 -02 replies
4/5package/quota: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDBpackage/quota/Config.in+1 -01 reply
5/5package/snort3: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDBpackage/snort3/Config.in+1 -01 reply

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchPetr Vorel
1/5R-b
2/5R-b
3/5R-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [Buildroot] [PATCH v4 0/5] package/libtirpc: introduce BR2_PACKAGE_LIBTIRPC_RPCDB

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/[email protected]/
"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(-)
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot