On 1/2/24 10:34, Richard Purdie wrote:
On Tue, 2024-01-02 at 06:21 -0500, Philip Balister wrote:
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 <phi...@balister.org>
---
  meta/classes-global/sanity.bbclass | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-global/sanity.bbclass 
b/meta/classes-global/sanity.bbclass
index 9b824915f2..57353b9478 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", "FindBin" )
      errresult = ''
      for m in modules:
          try:

https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/8418

Curious, so the Ubuntu autobuilder doesn't have the perl open module? Can you build libxcrypt on that builder?

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14691#c7 shows the build failing until I install the perl-open package.

Philip


Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#193243): 
https://lists.openembedded.org/g/openembedded-core/message/193243
Mute This Topic: https://lists.openembedded.org/mt/103479426/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: 
https://lists.openembedded.org/g/openembedded-core/leave/8023207/21656/1426099254/xyzzy
 [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to