On Sat, Mar 7, 2020 at 2:37 PM Richard Purdie <[email protected]> wrote: > > 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. >
I think we could turn it into a packageconfig and add depending on gettext-native in knob, keep the knob disabled by default. While dont think translation files will be commonly installed on systems OE targets but its seems limiting if we simply disable it. > Signed-off-by: Richard Purdie <[email protected]> > --- > 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 58d2ba7bc44..23a6ca99ae0 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} \ > -- > 2.25.0 > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
