From: Richard Purdie Date: Sat, 7 Mar 2020 17:20:16 +0000 (+0000) Subject: glibc: Explicitly disable msgfmt X-Git-Tag: 2020-04-dunfell~223 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=9ffd08cf7d472e6572ee8f04781f410c9d657188;p=openembedded-core.git glibc: Explicitly disable msgfmt If configure is rerun it finds msgfmt from gettext-native which is installed during package_write_ipk|deb and means builds are not determinisic. Whether msgfmt is needed is debatable (libc.mo files aren't generated without it), however, we should at least be consistent which this patch ensures. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc index 58d2ba7bc4..23a6ca99ae 100644 --- a/meta/recipes-core/glibc/glibc.inc +++ b/meta/recipes-core/glibc/glibc.inc @@ -9,8 +9,11 @@ inherit autotools texinfo features_check systemd LEAD_SONAME = "libc.so" +# msgfmt could come from gettext-native but we don't depend on that and +# disable for reproducibility CACHED_CONFIGUREVARS += " \ ac_cv_path_BASH_SHELL=${base_bindir}/bash \ + ac_cv_prog_MSGFMT= \ libc_cv_slibdir=${base_libdir} \ libc_cv_rootsbindir=${base_sbindir} \ libc_cv_localedir=${localedir} \