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 <[email protected]>
> ---
>  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

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#193242): 
https://lists.openembedded.org/g/openembedded-core/message/193242
Mute This Topic: https://lists.openembedded.org/mt/103479426/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to