diff options
author | Philip Balister <philip@balister.org> | 2024-01-03 06:20:07 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-03 23:36:34 +0000 |
commit | cddf8e9f53df905e17edd0cd72d7a7a505939a18 (patch) | |
tree | 6feb851ba281a706c13800108e5ef248af48c20f /meta | |
parent | 3c71605a77809d78be95d2b81b04fcaf232cd9c7 (diff) | |
download | poky-cddf8e9f53df905e17edd0cd72d7a7a505939a18.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]
(From OE-Core rev: 3d09e759f838a7ce66fd1fb6e6a6653abce9e3a4)
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): | |||
532 | def check_perl_modules(sanity_data): | 532 | def check_perl_modules(sanity_data): |
533 | import subprocess | 533 | import subprocess |
534 | ret = "" | 534 | ret = "" |
535 | modules = ( "Text::ParseWords", "Thread::Queue", "Data::Dumper" ) | 535 | modules = ( "Text::ParseWords", "Thread::Queue", "Data::Dumper", "File::Compare", "File::Copy", "open ':std'", "FindBin" ) |
536 | errresult = '' | 536 | errresult = '' |
537 | for m in modules: | 537 | for m in modules: |
538 | try: | 538 | try: |