On 04/06/15 17:58, Arto Jantunen wrote:
The obvious big difference between the normal amd64 build daemon and the
reproducible test one is that reproducible builds with pbuilder instead
of sbuild. I assume raspbian is built the normal way with sbuild?
Yes the raspbian autobuilders use sbuild.
On 04/06/15 19:38, Arto Jantunen wrote:
Sbuild (the build succeeds):
LANG=C.UTF-8 locale
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=
Pbuilder (the build fails):
LANG=C.UTF-8 locale
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C
For some reason when running under pbuilder setting LANG doesn't affect
the other locale settings
I think we have found the problem.
There is a priority order in determining what locale settings should be
used.
LANG is the lowest priority
LC_<category> has a medium priority
LC_ALL has the highest priority
If you need specific locale settings in a script you should either use
LC_ALL (if using the same locale for all categories is appropriate) or
if you need to contol different categories individually make sure LC_ALL
is not set.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org