python do_qa_configure() {
import subprocess
+ ###########################################################################
+ # Check config.log for cross compile issues
+ ###########################################################################
+
configs = []
workdir = d.getVar('WORKDIR', True)
bb.note("Checking autotools environment for common misconfiguration")
if "configure.in" in files:
configs.append(os.path.join(root, "configure.in"))
+ ###########################################################################
+ # Check gettext configuration and dependencies are correct
+ ###########################################################################
+
cnf = d.getVar('EXTRA_OECONF', True) or ""
if "gettext" not in d.getVar('P', True) and "gcc-runtime" not in d.getVar('P', True) and "--disable-nls" not in cnf:
ml = d.getVar("MLPREFIX", True) or ""
bb.fatal("""%s required but not in DEPENDS for file %s.
Missing inherit gettext?""" % (gt, config))
+ ###########################################################################
+ # Check license variables
+ ###########################################################################
+
if not package_qa_check_license(workdir, d):
bb.fatal("Licensing Error: LIC_FILES_CHKSUM does not match, please fix")
+
}
# The Staging Func, to check all staging
#addtask qa_staging after do_populate_sysroot before do_build
if "desktop" in tests:
d.appendVar("PACKAGE_DEPENDS", "desktop-file-utils-native")
+ ###########################################################################
+ # Check various variables
+ ###########################################################################
+
issues = []
if (d.getVar('PACKAGES', True) or "").split():
for var in 'RDEPENDS', 'RRECOMMENDS', 'FILES', 'pkg_preinst', 'pkg_postinst', 'pkg_prerm', 'pkg_postrm':