]> code.ossystems Code Review - openembedded-core.git/commitdiff
glibc: Explicitly disable msgfmt
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Mar 2020 17:20:16 +0000 (17:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 8 Mar 2020 08:20:32 +0000 (08:20 +0000)
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 <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc.inc

index 58d2ba7bc44a77612bed9f15002de37c1cbe8316..23a6ca99ae0742e631fddb93d16434139109bf87 100644 (file)
@@ -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} \