[oe-commits] [openembedded-core] 16/17: HACK: Attempt to find perl contamination
git at git.openembedded.org
git at git.openembedded.org
Fri Feb 7 08:09:14 UTC 2020
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit af760959310bbddef082c6ac29a9b8c854b84450
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Feb 5 23:47:36 2020 +0000
HACK: Attempt to find perl contamination
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/insane.bbclass | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 795c7b9..326c851 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -924,6 +924,17 @@ def package_qa_check_host_user(path, name, d, elf, messages):
if stat.st_gid == check_gid:
package_qa_add_message(messages, "host-user-contaminated", "%s: %s is owned by gid %d, which is the same as the user running bitbake. This may be due to host contamination" % (pn, package_qa_clean_path(path, d, name), check_gid))
return False
+ if "/x86_64-linux/CORE/config.h" in path:
+ with open(path, "r") as f:
+ lines = f.readlines()
+ for l in lines:
+ if "SIG_SIZE" in l and "36" in l:
+ bb.error("Fatal sigize 36 found for %s (%s)" % (path, l))
+ if "I_XLOCALE" in l and l.startswith("#define"):
+ bb.error("Fatal xlocale header found for %s (%s)" % (path, l))
+ if "I_QUADMATH" in l and not l.startswith("#define"):
+ bb.error("Fatal quadmath header not found for %s (%s)" % (path, l))
+
return True
QARECIPETEST[src-uri-bad] = "package_qa_check_src_uri"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list