From cddf8e9f53df905e17edd0cd72d7a7a505939a18 Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Wed, 3 Jan 2024 06:20:07 -0500 Subject: sanity.bbclass: Check for additional native perl modules. Since we use the build systems native perl, we need to check that all perl modules required for a build are installed. For a default Fedora 39 install, autoconf-native and libxcrypt both fail to build due to missing perl modules. After taking careful notes, this commits adds checks for File::Compare, File::Copy, open, and FindBin. [YOCTO #14691] (From OE-Core rev: 3d09e759f838a7ce66fd1fb6e6a6653abce9e3a4) Signed-off-by: Philip Balister Signed-off-by: Richard Purdie --- meta/classes-global/sanity.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes-global') diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass index 9b824915f2..1bd74e1935 100644 --- a/meta/classes-global/sanity.bbclass +++ b/meta/classes-global/sanity.bbclass @@ -532,7 +532,7 @@ def check_git_version(sanity_data): def check_perl_modules(sanity_data): import subprocess ret = "" - modules = ( "Text::ParseWords", "Thread::Queue", "Data::Dumper" ) + modules = ( "Text::ParseWords", "Thread::Queue", "Data::Dumper", "File::Compare", "File::Copy", "open ':std'", "FindBin" ) errresult = '' for m in modules: try: -- cgit v1.2.3-54-g00ecf