From: Richard Purdie Date: Thu, 10 Aug 2023 19:37:23 +0000 (+0100) Subject: gnupg: Fix reproducibility failure X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~146 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=1feb5274db6e985e10f58359b148dabb4076917a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gnupg: Fix reproducibility failure yat2m can be found within the build or from the recipe-sysroot-native if runtime dependencies are present. The sysroot version has version differences to the in tree copy. Specify the one we want to make the build determinstic. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/gnupg/gnupg_2.4.2.bb b/meta/recipes-support/gnupg/gnupg_2.4.2.bb index 580782037e4..631df8ac9d7 100644 --- a/meta/recipes-support/gnupg/gnupg_2.4.2.bb +++ b/meta/recipes-support/gnupg/gnupg_2.4.2.bb @@ -33,6 +33,8 @@ EXTRA_OECONF = "--disable-ldap \ --with-mailprog=${sbindir}/sendmail \ --enable-gpg-is-gpg2 \ " +# yat2m can be found from recipe-sysroot-native non-deterministically with different versioning otherwise +CACHED_CONFIGUREVARS += "ac_cv_path_YAT2M=./yat2m" # A minimal package containing just enough to run gpg+gpgagent (E.g. use gpgme in opkg) PACKAGES =+ "${PN}-gpg"