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 <[email protected]>
---
 meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb | 2 ++
 meta/recipes-extended/texinfo/texinfo_7.3.bb              | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb 
b/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb
index f97a28cab5..768a0383c5 100644
--- a/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb
+++ b/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb
@@ -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 = "\
diff --git a/meta/recipes-extended/texinfo/texinfo_7.3.bb 
b/meta/recipes-extended/texinfo/texinfo_7.3.bb
index fae4e510b4..5d942464d4 100644
--- a/meta/recipes-extended/texinfo/texinfo_7.3.bb
+++ b/meta/recipes-extended/texinfo/texinfo_7.3.bb
@@ -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"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#238293): 
https://lists.openembedded.org/g/openembedded-core/message/238293
Mute This Topic: https://lists.openembedded.org/mt/119702049/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to