]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
texinfo: add missing perl module runtime dependencies
authorXiaozhan Li <Xiaozhan.Li.CN@windriver.com>
Tue, 9 Jun 2026 12:16:33 +0000 (20:16 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Jun 2026 16:28:11 +0000 (17:28 +0100)
Some makeinfo commands like makeinfo --version, makeinfo --html fail on target
with errors like:Can't locate xxx.pm in @INC
This is because texinfo's texi2any requires several core Perl modules
that are split into separate packages in OE. Add the missing modules
to RDEPENDS so they are pulled into the image automatically.

Signed-off-by: Xiaozhan Li <Xiaozhan.Li.CN@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb
meta/recipes-extended/texinfo/texinfo_7.3.bb

index f97a28cab56bbcdcbe07a7609bcad23280957194..768a0383c5afa1938ccba0c60b2d8ce111e4e259 100644 (file)
@@ -37,6 +37,8 @@ DUMMYPROVIDES_PACKAGES = "\
     nativesdk-perl-module-threads \
     nativesdk-perl-module-warnings \
     nativesdk-perl-module-vars \
+    nativesdk-perl-module-locale \
+    nativesdk-perl-module-config \
 "
 
 DUMMYPROVIDES = "\
index fae4e510b451a7b3ff16e4f2c0f3c860265fa8cb..5d942464d490791e9f202e377cb7782f82130736 100644 (file)
@@ -77,6 +77,10 @@ FILES:info-doc = "${infodir}/info.info* ${infodir}/dir ${infodir}/info-*.info* \
 
 FILES:${PN} = "${bindir}/makeinfo ${bindir}/texi* ${bindir}/pdftexi2dvi ${bindir}/pod2texi ${datadir}/texinfo ${datadir}/texi2any"
 RDEPENDS:${PN} = "perl"
+RDEPENDS:${PN} += "perl-module-if perl-module-utf8 perl-module-encode perl-module-encode-encoding perl-module-locale perl-module-integer \
+                   perl-module-file-spec perl-module-cwd perl-module-file-basename perl-module-getopt-long perl-module-posix perl-module-data-dumper \
+                   perl-module-storable perl-module-feature perl-module-unicode-normalize perl-module-charnames perl-module-unicore perl-module-file-copy \
+                   perl-module-file-glob"
 FILES:${PN}-doc = "${infodir}/texi* \
                    ${datadir}/${tex_texinfo} \
                    ${mandir}/man1 ${mandir}/man5"