diff mbox series

[2/3] texinfo: Add missing rdep on needed perl-modules

Message ID 20230125040358.3573537-2-raj.khem@gmail.com
State New
Headers show
Series [1/3] systemd: Add another fix for using XSI strerror_r | expand

Commit Message

Khem Raj Jan. 25, 2023, 4:03 a.m. UTC
Fixes
Can't locate Encode.pm in @INC (you may need to install the Encode module) (@INC contains: /usr/lib/perl5/site_perl/5.36.0/x86_64-linux /usr/lib/perl5/site_perl/5.36.0 /usr/lib/perl5/vendor_perl/5.36.0/x86_64-linux
 /usr/lib/perl5/vendor_perl/5.36.0 /usr/lib/perl5/5.36.0/x86_64-linux /usr/lib/perl5/5.36.0) at /usr/bin/makeinfo line 29.

The slew of indirect dependencies

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-extended/texinfo/texinfo_7.0.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Alexandre Belloni Jan. 25, 2023, 5:36 p.m. UTC | #1
Hello,

On 24/01/2023 20:03:57-0800, Khem Raj wrote:
> Fixes
> Can't locate Encode.pm in @INC (you may need to install the Encode module) (@INC contains: /usr/lib/perl5/site_perl/5.36.0/x86_64-linux /usr/lib/perl5/site_perl/5.36.0 /usr/lib/perl5/vendor_perl/5.36.0/x86_64-linux
>  /usr/lib/perl5/vendor_perl/5.36.0 /usr/lib/perl5/5.36.0/x86_64-linux /usr/lib/perl5/5.36.0) at /usr/bin/makeinfo line 29.
> 
> The slew of indirect dependencies
> 

This breaks most of the builds:

https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/6618/steps/15/logs/stdio

Error: 
 Problem: package nativesdk-perl-module-locale-5.36.0-r0.x86_64_nativesdk requires nativesdk-perl-module-config, but none of the providers can be installed
  - package nativesdk-texinfo-7.0.1-r0.x86_64_nativesdk requires nativesdk-perl-module-locale, but none of the providers can be installed
  - package nativesdk-buildtools-perl-dummy-1.0-r2.buildtools_dummy_nativesdk conflicts with nativesdk-perl provided by nativesdk-perl-5.36.0-r0.x86_64_nativesdk
  - package nativesdk-buildtools-perl-dummy-1.0-r2.buildtools_dummy_nativesdk conflicts with nativesdk-perl-module-strict provided by nativesdk-perl-5.36.0-r0.x86_64_nativesdk
  - package nativesdk-buildtools-perl-dummy-1.0-r2.buildtools_dummy_nativesdk conflicts with nativesdk-perl-module-warnings provided by nativesdk-perl-5.36.0-r0.x86_64_nativesdk
  - package nativesdk-buildtools-perl-dummy-1.0-r2.buildtools_dummy_nativesdk conflicts with nativesdk-perl-module-vars provided by nativesdk-perl-5.36.0-r0.x86_64_nativesdk
  - package nativesdk-buildtools-perl-dummy-1.0-r2.buildtools_dummy_nativesdk obsoletes nativesdk-perl provided by nativesdk-perl-5.36.0-r0.x86_64_nativesdk
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-extended/texinfo/texinfo_7.0.1.bb | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-extended/texinfo/texinfo_7.0.1.bb b/meta/recipes-extended/texinfo/texinfo_7.0.1.bb
> index f0f9211594..4c8608b745 100644
> --- a/meta/recipes-extended/texinfo/texinfo_7.0.1.bb
> +++ b/meta/recipes-extended/texinfo/texinfo_7.0.1.bb
> @@ -76,7 +76,9 @@ FILES:info-doc = "${infodir}/info.info* ${infodir}/dir ${infodir}/info-*.info* \
>                    ${mandir}/man1/infokey.1* ${mandir}/man1/install-info.1*"
>  
>  FILES:${PN} = "${bindir}/makeinfo ${bindir}/texi* ${bindir}/pdftexi2dvi ${bindir}/pod2texi ${datadir}/texinfo"
> -RDEPENDS:${PN} = "perl"
> +RDEPENDS:${PN} = "perl perl-module-encode perl-module-encode-encoding perl-module-locale perl-module-integer \
> +                  perl-module-if perl-module-unicode-normalize perl-module-base perl-module-feature \
> +                  perl-module-perlio"
>  FILES:${PN}-doc = "${infodir}/texi* \
>                     ${datadir}/${tex_texinfo} \
>                     ${mandir}/man1 ${mandir}/man5"
> -- 
> 2.39.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#176339): https://lists.openembedded.org/g/openembedded-core/message/176339
> Mute This Topic: https://lists.openembedded.org/mt/96514819/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/recipes-extended/texinfo/texinfo_7.0.1.bb b/meta/recipes-extended/texinfo/texinfo_7.0.1.bb
index f0f9211594..4c8608b745 100644
--- a/meta/recipes-extended/texinfo/texinfo_7.0.1.bb
+++ b/meta/recipes-extended/texinfo/texinfo_7.0.1.bb
@@ -76,7 +76,9 @@  FILES:info-doc = "${infodir}/info.info* ${infodir}/dir ${infodir}/info-*.info* \
                   ${mandir}/man1/infokey.1* ${mandir}/man1/install-info.1*"
 
 FILES:${PN} = "${bindir}/makeinfo ${bindir}/texi* ${bindir}/pdftexi2dvi ${bindir}/pod2texi ${datadir}/texinfo"
-RDEPENDS:${PN} = "perl"
+RDEPENDS:${PN} = "perl perl-module-encode perl-module-encode-encoding perl-module-locale perl-module-integer \
+                  perl-module-if perl-module-unicode-normalize perl-module-base perl-module-feature \
+                  perl-module-perlio"
 FILES:${PN}-doc = "${infodir}/texi* \
                    ${datadir}/${tex_texinfo} \
                    ${mandir}/man1 ${mandir}/man5"