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? because that's not the "correct" chroot-based build tool).
I don't know if this is the right way to fix it though. I feel like a more general bash associative array in order to set arbitrary environment variables might be the better way to do it, rather than specifically for LANG and LC_ALL. We probably also should just change the locale in pbuilder-buildpackage to C.UTF-8; we might have some unicode-trashing bugs lurking in pbuilder itself otherwise. -- 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 this bug go to: https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/1947424/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs