Skip to content

nfs-utils: musl upgrade to 3.1.1 and prerequisite systemd fixes

Jaipaul Cheernam openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3systemd: fix musl build by providing missing POSIX limitsmeta/recipes-core/systemd/systemd/0001-musl-define-POSIX-limits-missing-from-limits.h-overr.patch meta/recipes-core/systemd/systemd_261.3.bb+98 -00 replies
2/3systemd: dlopen-deps: only warn for missing required providersmeta/recipes-core/systemd/dlopen-deps.inc+11 -10 replies
3/3nfs-utils: upgrade 2.9.2 -> 3.1.1meta/recipes-connectivity/nfs-utils/nfs-utils/0001-getport-fix-missing-stddef.h-inclusion.patch meta/recipes-connectivity/nfs-utils/nfs-utils/0004-Use-nogroup-for-nobody-group.patch meta/recipes-connectivity/nfs-utils/nfs-utils/0005-find-OE-provided-Kerberos.patch +2 more+4 -800 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] nfs-utils: musl upgrade to 3.1.1 and prerequisite systemd fixes

This series upgrades nfs-utils to 3.1.1 and fixes the two systemd musl issues that block it.

On musl, nfs-utils cannot be built until systemd builds, because nfs-utils depends on systemd (it installs systemd units). systemd 261.3 currently fails on musl for two reasons, both addressed here first:

1. systemd's src/include/musl/limits.h override does not expose musl's POSIX limits (PATH_MAX, NAME_MAX, SSIZE_MAX, ...), so do_compile fails. Fixed by defining them in the override (submitted upstream, see
https://github.com/systemd/systemd/pull/43824).

2. do_package emits spurious "cannot find any provider" warnings for optional (recommended/suggested) dlopen dependencies that legitimately have no provider on musl, e.g. libintl.so.8 (musl keeps the gettext symbols in libc). Downgraded to a note for non-required dependencies.

With those in place, nfs-utils is upgraded to 3.1.1: two local patches that were merged upstream are dropped and the remaining ones refreshed.

The patches are ordered so the tree builds cleanly on musl at every step (systemd fixes first, then the nfs-utils upgrade that relies on them). glibc builds are unaffected; the systemd limits fix is libc-musl only.

Jaipaul Cheernam (3):
systemd: fix musl build by providing missing POSIX limits
systemd: dlopen-deps: only warn for missing required providers
nfs-utils: upgrade 2.9.2 -> 3.1.1

 ...tport-fix-missing-stddef.h-inclusion.patch | 27 ------
 .../0004-Use-nogroup-for-nobody-group.patch   |  4 +-
 .../0005-find-OE-provided-Kerberos.patch      |  2 +-
 ...e-HAVE_NFSD_NETLINK-on-enable-nfsdct.patch | 47 ----------
 ...{nfs-utils_2.9.2.bb => nfs-utils_3.1.1.bb} |  4 +-
 meta/recipes-core/systemd/dlopen-deps.inc     | 12 ++-
 ...X-limits-missing-from-limits.h-overr.patch | 92 +++++++++++++++++++
 meta/recipes-core/systemd/systemd_261.3.bb    |  6 ++
 8 files changed, 113 insertions(+), 81 deletions(-)
 delete mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/0001-getport-fix-missing-stddef.h-inclusion.patch
 delete mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/0006-configure.ac-gate-HAVE_NFSD_NETLINK-on-enable-nfsdct.patch
 rename meta/recipes-connectivity/nfs-utils/{nfs-utils_2.9.2.bb => nfs-utils_3.1.1.bb} (96%)
 create mode 100644 meta/recipes-core/systemd/systemd/0001-musl-define-POSIX-limits-missing-from-limits.h-overr.patch