Skip to contentSkip to conversation

autoconf: Add missing perl modules to rdeps

PATCH In review Khem Raj 2 participants 2 messages Feb 12, 2021 – Feb 13, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 autoconf: Add missing perl modules to rdeps

Calling autoreconf with on-device sdk fails due to missing perl modules which are required for it to work with autoconf 2.71+

Fixes
Can't locate File/Temp.pm in @INC (you may need to install the File::Temp module) (@INC contains: /usr/share/autoconf /usr/lib/perl5/site_perl/5.32.0/riscv32-linux /usr/lib/perl5/site_perl/5.32.0 /usr/lib/per l5/vendor_perl/5.32.0/riscv32-linux /usr/lib/perl5/vendor_perl/5.32.0 /usr/lib/perl5/5.32.0/riscv32-linux /usr/lib/perl5/5.32.0 .) at /usr/bin/autoreconf line 50.
BEGIN failed--compilation aborted at /usr/bin/autoreconf line 50.

---
 meta/recipes-devtools/autoconf/autoconf_2.71.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-devtools/autoconf/autoconf_2.71.bb +3 -0
index e5098106f8..8526067201 100644
@@ -40,10 +40,13 @@ RDEPENDS_${PN} = "m4 gnu-config \
 		  perl-module-file-spec \
 		  perl-module-file-spec-unix \
 		  perl-module-file-stat \
+                  perl-module-file-temp \
 		  perl-module-getopt-long \
 		  perl-module-io-file \
+                  perl-module-list-util \
 		  perl-module-overloading \
 		  perl-module-posix \
+                  perl-module-scalar-util \
 		  perl-module-symbol \
 		  perl-module-thread-queue \
 		  perl-module-threads \
Signature · 1 line
2.30.1
#1 lore raw
Quoted 21 lines · Khem Raj

Calling autoreconf with on-device sdk fails due to missing perl modules which are required for it to work with autoconf 2.71+

Fixes
Can't locate File/Temp.pm in @INC (you may need to install the File::Temp module) (@INC contains: /usr/share/autoconf /usr/lib/perl5/site_perl/5.32.0/riscv32-linux /usr/lib/perl5/site_perl/5.32.0 /usr/lib/per l5/vendor_perl/5.32.0/riscv32-linux /usr/lib/perl5/vendor_perl/5.32.0 /usr/lib/perl5/5.32.0/riscv32-linux /usr/lib/perl5/5.32.0 .) at /usr/bin/autoreconf line 50.
BEGIN failed--compilation aborted at /usr/bin/autoreconf line 50.

---
 meta/recipes-devtools/autoconf/autoconf_2.71.bb | 3 +++

 1 file changed, 3 insertions(+)
meta/recipes-devtools/autoconf/autoconf_2.71.bb +0 -0
index e5098106f8..8526067201 100644
@@ -40,10 +40,13 @@ RDEPENDS_${PN} = "m4 gnu-config \
  		  perl-module-file-spec \
  		  perl-module-file-spec-unix \
  		  perl-module-file-stat \

meta/recipes-devtools/autoconf/autoconf_2.71.bb RDEPENDS_${PN} = "m4 gnu-config \ · line 52

Quoted 10 lines
meta/recipes-devtools/autoconf/autoconf_2.71.bb +3 -0
+                  perl-module-file-temp \
  		  perl-module-getopt-long \
  		  perl-module-io-file \
+                  perl-module-list-util \
  		  perl-module-overloading \
  		  perl-module-posix \
+                  perl-module-scalar-util \
  		  perl-module-symbol \
  		  perl-module-thread-queue \
  		  perl-module-threads \

This breaks builds of SDKs. I'll send a patch to fix it.

Cheers,

Richard