From 703781013b150c1dae011e43935d89dc9cc69d50 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 6 Feb 2023 22:32:30 +0100 Subject: [PATCH] support/dependencies/dependencies.sh: require FindBin perl package for libopenssl Fixes: http://autobuild.buildroot.net/results/5d1/5d10f4f545dccf126e3f5b5efce777a393c5e7bc/ http://autobuild.buildroot.net/results/7c2/7c2df31c6eb34b68e460e092d8c262bdc6c8f25a/ The configure script of (host-)libopenssl needs the FindBin perl module on the host: Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC contains: /home/buildroot/autobuild/instance-2/output-1/host/lib/perl /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./Configure line 15. BEGIN failed--compilation aborted at ./Configure line 15. As this is needed for both libopenssl and host-libopenssl (which does not have a corresponding config symbol in the .config), we have to require it unconditionally. Signed-off-by: Peter Korsgaard (cherry picked from commit 5aab8c59d5b310540105166e7b48faf3d5bd200b) Signed-off-by: Peter Korsgaard --- support/dependencies/dependencies.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh index 2b678ae8c4..906781ab78 100755 --- a/support/dependencies/dependencies.sh +++ b/support/dependencies/dependencies.sh @@ -277,6 +277,7 @@ fi required_perl_modules="Data::Dumper" # Needed to build host-autoconf required_perl_modules="$required_perl_modules ExtUtils::MakeMaker" # Used by host-libxml-parser-perl required_perl_modules="$required_perl_modules Thread::Queue" # Used by host-automake +required_perl_modules="$required_perl_modules FindBin" # Used by (host-)libopenssl if grep -q ^BR2_PACKAGE_MPV=y $BR2_CONFIG ; then required_perl_modules="$required_perl_modules Math::BigInt"