On Sun, Nov 08, 2020 at 10:30:15PM +0200, Graham Inggs wrote: > Hi James > > On Sun, 8 Nov 2020 at 20:12, James McCoy <james...@debian.org> wrote: > > Would you be able to reproduce the failure with the attached patch > > applied? That should give more insight into what's going on. > > Thanks for this. It looks like sbuild is leaking some of my > environment, see the 'User Environment' section in the full log [1]. > > Failures: > From test_alot.vim: > Found errors in Test_compiler(): > command line..script > /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/runtest.vim[461]..function > RunTheTest[39]..Test_compiler line 25: Expected '' but got '\n 1: > perl: warning: Setting locale failed.\n 2: perl: warning: Please check > that your locale settings:\n 3:LANGUAGE = (unset),\n 4: LC_ALL = "",\n > 5: LC_TIME = "en_ZA.UTF-8",\n 6: LC_MONETARY = "en_ZA.UTF-8",\n 7: > LC_ADDRESS = "en_ZA.UTF-8",\n 8: LC_TELEPHONE = "en_ZA.UTF-8",\n 9: > LC_MESSAGES = "C",\n10: LC_NAME = "en_ZA.UTF-8",\n11: LC_MEASUREMENT = > "en_ZA.UTF-8",\n12: LC_IDENTIFICATION = "en_ZA.UTF-8",\n13: LC_NUMERIC > = "en_ZA.UTF-8",\n14: LC_PAPER = "en_ZA.UTF-8",\n15: LANG = > (unset)\n16: are supported and installed on your system.\n17: perl: > warning: Falling back to the standard locale ("C").'
It's strange that Perl is looking at the individual LC_* settings when LANG (and LC_ALL with my local changes) are set in the environment. I guess I need to unset all of the other variables to make sure LC_ALL/LANG are the only variables affecting the locale. Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB