[oe-commits] [openembedded-core] 06/07: glibc: Explicitly disable msgfmt

git at git.openembedded.org git at git.openembedded.org
Sat Mar 7 23:19:41 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit cca0ca1946fa204c0dfabd2dfe2918d6f3dae1e5
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sat Mar 7 17:20:16 2020 +0000

    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 arne't generated without
    it) however we should at least be consistent which this patch ensures.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/glibc/glibc.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc
index 58d2ba7..23a6ca9 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} \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list