[oe-commits] [openembedded-core] 04/19: HACK: Attempt to find perl contamination

git at git.openembedded.org git at git.openembedded.org
Wed Feb 5 23:56:20 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 a02a1ce31f770573bd7930859af0304de6e02895
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 | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 795c7b9..bf1e267 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -924,6 +924,15 @@ 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))
+
     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