On Sun, Dec 11, 2016 at 05:57:38PM +0000, Gianfranco Costamagna wrote: > Hi, > > >Does anyone know (or can find out) the default locale on the s390 > >systems, and does that differ from the other architectures? > > > >env | egrep "(LC|LANG)" > > > >should give a list of relevant vars. > > > (not sure if it is related to my laptop configuration, I did ssh and > copy-pasted) > > locutusofborg@zelenka:~$ uname -a > Linux zelenka 3.16.0-4-s390x #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) > s390x GNU/Linux > locutusofborg@zelenka:~$ env | egrep "(LC|LANG)" > LC_PAPER=it_IT.UTF-8 > LC_ADDRESS=it_IT.UTF-8 > LC_MONETARY=it_IT.UTF-8 > LC_NUMERIC=it_IT.UTF-8 > LC_TELEPHONE=it_IT.UTF-8 > LC_IDENTIFICATION=it_IT.UTF-8 > LANG=en_US.UTF-8 > LC_MEASUREMENT=it_IT.UTF-8 > LC_TIME=it_IT.UTF-8 > LC_NAME=it_IT.UTF-8 >
Hmm... That must be set by ssh based on your local environment. I just found a reference in the Debian Maintainer's Guide that says the default build locale is C. And it looks like the Ubuntu build is explicitly setting a locale of C.UTF-8. I've run into locale-related issues that affected one architecture but not others (though it was i386 vs amd64 in that case), and since we're dealing with an ICU update, and the runtime exception is dealing with a bad buffer (which could mean there was a buffer, but it was the incorrect size), I'm thinking this could be locale related. But admittedly, it's a shot in the dark. Would you be willing to add LC_ALL := C.UTF-8 export LC_ALL to the top of debian/rules and try another build? Or I could prepare another package with the changes if you'd rather not muck with editing files.