summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/sanity.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 9f35558af8..466eb49121 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -452,12 +452,14 @@ def check_git_version(sanity_data):
452def check_perl_modules(sanity_data): 452def check_perl_modules(sanity_data):
453 ret = "" 453 ret = ""
454 modules = ( "Text::ParseWords", "Thread::Queue", "Data::Dumper" ) 454 modules = ( "Text::ParseWords", "Thread::Queue", "Data::Dumper" )
455 errresult = ''
455 for m in modules: 456 for m in modules:
456 status, result = oe.utils.getstatusoutput("perl -e 'use %s' 2> /dev/null" % m) 457 status, result = oe.utils.getstatusoutput("perl -e 'use %s'" % m)
457 if status != 0: 458 if status != 0:
459 errresult += result
458 ret += "%s " % m 460 ret += "%s " % m
459 if ret: 461 if ret:
460 return "Required perl module(s) not found: %s\n" % ret 462 return "Required perl module(s) not found: %s\n\n%s\n" % (ret, errresult)
461 return None 463 return None
462 464
463def sanity_check_conffiles(status, d): 465def sanity_check_conffiles(status, d):