openembedded-core.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/3] nfs-utils: musl upgrade to 3.1.1 and prerequisite systemd fixes
Date: Mon, 21 Sep 2026 12:45:17 +0200	[thread overview]
Message-ID: <20260921104520.47933-1-jaipaul.cheernam@est.tech> (raw)

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



             reply	other threads:[~2026-09-21 10:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 10:45 Jaipaul Cheernam [this message]
2026-09-21 10:45 ` [PATCH 1/3] systemd: fix musl build by providing missing POSIX limits Jaipaul Cheernam
2026-09-21 10:45 ` [PATCH 2/3] systemd: dlopen-deps: only warn for missing required providers Jaipaul Cheernam
2026-09-21 10:45 ` [PATCH 3/3] nfs-utils: upgrade 2.9.2 -> 3.1.1 Jaipaul Cheernam
2026-09-21 21:06 ` [PATCH v2 0/3] systemd musl build fixes and nfs-utils upgrade Jaipaul Cheernam
2026-09-21 21:06   ` [PATCH v2 1/3] systemd: fix musl build by fixing limits.h override Jaipaul Cheernam
2026-09-24 10:57     ` [OE-core] " Ross Burton
2026-09-21 21:06   ` [PATCH v2 2/3] systemd: dlopen-deps: only warn for missing required providers Jaipaul Cheernam
2026-09-24 10:59     ` [OE-core] " Ross Burton
2026-09-29 14:55       ` Khem Raj
2026-09-21 21:06   ` [PATCH v2 3/3] nfs-utils: upgrade 2.9.2 -> 3.1.1 Jaipaul Cheernam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260921104520.47933-1-jaipaul.cheernam@est.tech \
    --to=jaipaul.cheernam@est.tech \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).