OK, so it DOESN'T work for me when using a custom configfile. Putting
"export LC_ALL=C.UTF-8" into that custom config file and starting the
pbuilder build results in the same "LC_ALL=C" still being set, although
other LC_* env vars are now set to "C.UTF-8". So although it might be
INTENDED to work
I'm quite sure setting it in a conffile loaded by --configfile works. It
doesn't in the standard /etc/pbuilderrc and .pbuilderrc.
On Sun, 17 Oct 2021, 7:51 pm Jessica Clarke, <1947...@bugs.launchpad.net>
wrote:
> And re being "a serious limitation", I agree it's less than ideal, but
> it should
And re being "a serious limitation", I agree it's less than ideal, but
it should not be an issue for any policy-conforming package, for which
not building under the non-UTF-8 C locale is RC-buggy.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed t
pbuilder-buildpackage sets LANG and LC_ALL *before* sourcing pbuilder-
checkparams, which is what sources the config files, so config files
definitely override that. However, pbuilder-buildpackage then sources
pbuilder-buildpackage-funcs, which itself sources pbuilder-modules,
which then sets LANG/
So any use of a config file does not actually allowing setting
LANG/LC_ALL for the dpkg-buildpackage invocation. Already in use on my
personal build system is a detailed $HOME/.pbuilderrc config file and
adding LANG/LC_ALL exports to this file did not affect the used locales
for the actual build. W
** Changed in: pbuilder (Ubuntu)
Importance: Undecided => Wishlist
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947424
Title:
Cannot set pbuilder build locale
To manage notifications about thi
FWIW, one way to set LC_ALL in pbuilder right now is to set that in a
config file that is then loaded from the cli with `--configfile`; that
loading is done at a point that makes it possible to overwrite the
current default.
--
You received this bug notification because you are a member of Ubuntu
I don't know about Ubuntu, but FTBFS under a common locale, which would
include C, is regarded as a release-critical bug, so there is no
"correct" locale, just the one that happens to be standardised across
the Debian and Ubuntu buildds (otherwise, would "FTBFS in pbuilder" be a
bug in pbuilder? be
The attachment "allow-setting-pbuilder-build-locale.patch" seems to be a
debdiff. The ubuntu-sponsors team has been subscribed to the bug report
so that they can review and hopefully sponsor the debdiff. If the
attachment isn't a patch, please remove the "patch" flag from the
attachment, remove t