diff options
author | 2024-01-03 06:20:07 -0500 | |
---|---|---|
committer | 2024-01-03 23:35:41 +0000 | |
commit | 3d09e759f838a7ce66fd1fb6e6a6653abce9e3a4 (patch) | |
tree | 9075d30e50b5c57dc1e51c8e32ea379dcde04845 /meta | |
parent | 0e8a4142bb90a92d175df6b2537d24a372356f98 (diff) | |
download | openembedded-core-3d09e759f838a7ce66fd1fb6e6a6653abce9e3a4.tar.gz |
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 <philip@balister.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes-global/sanity.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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: |