diff mbox series

[meta-perl,v2,18/26] liblocale-gettext-perl: add missing perl-module RDEPENDS

Message ID 20261201015526.1956497-19-tim.orling@konsulko.com
State Under Review
Headers show
Series perl recipes: add missing base, DynaLoader and other perl-module RDEPENDS | expand

Commit Message

Tim Orling Dec. 1, 2026, 1:54 a.m. UTC
Locale::gettext loads its XS code with DynaLoader and uses POSIX, but
nothing in its RDEPENDS pulls in perl-module-dynaloader or
perl-module-posix, before or after "perl: generate perl-rdepends.txt
with perl.req" in oe-core, so the module fails to load unless something
else installs them. Found by the perl-rdeps QA check and by loading each
module on qemux86-64 with only the package and its RDEPENDS installed.

AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb b/meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb
index 2a1a1c601a..060191c268 100644
--- a/meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb
+++ b/meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb
@@ -17,4 +17,6 @@  S = "${UNPACKDIR}/Locale-gettext-${PV}"
 
 inherit cpan
 
+RDEPENDS:${PN} += "perl-module-dynaloader perl-module-posix"
+
 BBCLASSEXTEND = "native"