From: Richard Purdie Date: Tue, 12 Oct 2021 10:41:41 +0000 (+0100) Subject: libxml2: Use python3targetconfig to fix reproducibility issue X-Git-Tag: uninative-3.5~1301 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1bc5378db760963e2ad46542f2907dd6a592eb66;p=openembedded-core.git libxml2: Use python3targetconfig to fix reproducibility issue 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 --- diff --git a/meta/recipes-core/libxml/libxml2_2.9.12.bb b/meta/recipes-core/libxml/libxml2_2.9.12.bb index 3105889c16..c387587dfd 100644 --- a/meta/recipes-core/libxml/libxml2_2.9.12.bb +++ b/meta/recipes-core/libxml/libxml2_2.9.12.bb @@ -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)}"