mbox series

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

Message ID 20260921104520.47933-1-jaipaul.cheernam@est.tech
Headers show
Series nfs-utils: musl upgrade to 3.1.1 and prerequisite systemd fixes | expand

Message

Jaipaul Cheernam Sept. 21, 2026, 10:45 a.m. UTC
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