package/libtirpc: introduce BR2_PACKAGE_LIBTIRPC_RPCDB
Status from this message: Applied to master, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | package/libtirpc: introduce BR2_PACKAGE_LIBTIRPC_RPCDBpackage/ package/ | +19 | 2 replies | |
| 2/5 | package/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDBpackage/ | +1 | 2 replies | |
| 3/5 | package/rpcbind: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDBpackage/ | +1 | 2 replies | |
| 4/5 | package/quota: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDBpackage/ | +1 | 1 reply | |
| 5/5 | package/snort3: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDBpackage/ | +1 | 1 reply |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Petr Vorel |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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