summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/insane.bbclass9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 241ad0850b..61936e1377 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -845,7 +845,10 @@ def package_qa_check_rdepends(pkg, pkgdest, skip, taskdeps, packages, d):
845 break 845 break
846 if rdep_data and 'PN' in rdep_data and rdep_data['PN'] in taskdeps: 846 if rdep_data and 'PN' in rdep_data and rdep_data['PN'] in taskdeps:
847 continue 847 continue
848 error_msg = "%s rdepends on %s, but it isn't a build dependency?" % (pkg, rdepend) 848 if rdep_data and 'PN' in rdep_data:
849 error_msg = "%s rdepends on %s, but it isn't a build dependency, missing %s in DEPENDS or PACKAGECONFIG?" % (pkg, rdepend, rdep_data['PN'])
850 else:
851 error_msg = "%s rdepends on %s, but it isn't a build dependency?" % (pkg, rdepend)
849 package_qa_handle_error("build-deps", error_msg, d) 852 package_qa_handle_error("build-deps", error_msg, d)
850 853
851 if "file-rdeps" not in skip: 854 if "file-rdeps" not in skip:
@@ -911,8 +914,8 @@ def package_qa_check_rdepends(pkg, pkgdest, skip, taskdeps, packages, d):
911 break 914 break
912 if filerdepends: 915 if filerdepends:
913 for key in filerdepends: 916 for key in filerdepends:
914 error_msg = "%s contained in package %s requires %s, but no providers found in its RDEPENDS" % \ 917 error_msg = "%s contained in package %s requires %s, but no providers found in RDEPENDS_%s?" % \
915 (filerdepends[key],pkg, key) 918 (filerdepends[key].replace("_%s" % pkg, "").replace("@underscore@", "_"), pkg, key, pkg)
916 package_qa_handle_error("file-rdeps", error_msg, d) 919 package_qa_handle_error("file-rdeps", error_msg, d)
917 920
918def package_qa_check_deps(pkg, pkgdest, skip, d): 921def package_qa_check_deps(pkg, pkgdest, skip, d):