Changing the first build to a UTF-8 locale?
Adrian Bunk
bunk at debian.org
Mon Aug 30 22:07:14 BST 2021
On Mon, Aug 30, 2021 at 01:08:12PM -0700, Vagrant Cascadian wrote:
> On 2021-08-30, Holger Levsen wrote:
> > On Mon, Aug 30, 2021 at 12:16:40PM +0300, Adrian Bunk wrote:
> >> there are currently several reproducible-only build failures due to
> >> export LANG="C" in the first build.
> >>
> >> Would it be OK to set LANG to C.UTF-8 or en_US.UTF-8 in the first build
> >> instead?
> >>
> >> Building under non-UTF-8 locales feels pretty pointless at this time,
> >> and the build failures this causes in reproducible are annoying.
> >>
> >> The second build is already using a UTF-8 locale.
> >>
> >> The Debian buildds are already using C.UTF-8 for years.
> >
> > this seems sensible to me and I have implemented this change now, thanks
> > for suggesting it.
> >
> > (Should some valid rejection comes up for this idea we can always revert it.)
>
> Not a rejection per se, but we could get some of the benefits of both
> approaches by only using LANG=C in the unstable and experimental,
What "benefits" of LANG=C do you have in mind?
There are packages where this makes the tests fail, and "fixing" this
by hardcoding a locale in debian/rules makes it impossible to run
buildtime tests in different locales (which can find actual bugs).
> live well,
> vagrant
cu
Adrian
More information about the Reproducible-builds
mailing list