From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v2 2/3] systemd: dlopen-deps: only warn for missing required providers
Date: Mon, 21 Sep 2026 23:06:43 +0200 [thread overview]
Message-ID: <20260921210644.85026-3-jaipaul.cheernam@est.tech> (raw)
In-Reply-To: <20260921210644.85026-1-jaipaul.cheernam@est.tech>
Optional recommended/suggested dlopen deps often have no provider, so musl
builds print warnings like:
WARNING: cannot find any provider for dlopen dependency: libintl.so.8
Only warn for required deps, note the rest.
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
Changes in v2:
- Reword the commit message and shorten the inline comment.
meta/recipes-core/systemd/dlopen-deps.inc | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/systemd/dlopen-deps.inc b/meta/recipes-core/systemd/dlopen-deps.inc
index 2d43f2dcb8e..50ea862df06 100644
--- a/meta/recipes-core/systemd/dlopen-deps.inc
+++ b/meta/recipes-core/systemd/dlopen-deps.inc
@@ -77,7 +77,13 @@ python package_generate_dlopen_deps() {
found = True
break
if not found:
- bb.warn(f"cannot find any provider for dlopen dependency: {dep['soname']}")
+ # Optional (recommended/suggested) dlopen deps may have
+ # no provider on some configs, so only warn for required ones.
+ msg = f"cannot find any provider for dlopen dependency: {dep['soname']}"
+ if dep["priority"] == "required":
+ bb.warn(msg)
+ else:
+ bb.note(msg)
except oe.qa.NotELFFileError as e:
bb.note(f"Cannot extract ELF notes: {e}")
pass
next prev parent reply other threads:[~2026-09-21 21:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 10:45 [PATCH 0/3] nfs-utils: musl upgrade to 3.1.1 and prerequisite systemd fixes Jaipaul Cheernam
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 ` Jaipaul Cheernam [this message]
2026-09-24 10:59 ` [OE-core] [PATCH v2 2/3] systemd: dlopen-deps: only warn for missing required providers 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=20260921210644.85026-3-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