sanity.bbclass: Check for additional native perl modules.
PATCH v2 1/1 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]
Signed-off-by Philip Balister <[email protected]>
--- meta/classes-global/sanity.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes-global/sanity.bbclass +1 -1
@@ -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:
Signature · 1 line
2.43.0