]> code.ossystems Code Review - openembedded-core.git/commitdiff
libxml2: Use python3targetconfig to fix reproducibility issue
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Oct 2021 10:41:41 +0000 (11:41 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 Oct 2021 08:41:39 +0000 (09:41 +0100)
We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/libxml/libxml2_2.9.12.bb

index 3105889c16a853f5752ed5eca75526babfaef8c4..c387587dfd3e1151f6d58f366f5820b3517ef7ca 100644 (file)
@@ -36,7 +36,7 @@ PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
 
 inherit autotools pkgconfig binconfig-disabled ptest
 
-inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', d)}
+inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3targetconfig', '', d)}
 
 RDEPENDS:${PN}-ptest += "bash make ${@bb.utils.contains('PACKAGECONFIG', 'python', 'libgcc python3-core python3-logging python3-shell  python3-stringold python3-threading python3-unittest ${PN}-python', '', d)}"