From: Jan Kratochvil Date: Sun, 21 May 2017 20:23:04 +0000 (+0200) Subject: hammock: +Workaround GDB vs. Python: +PYTHONCOERCECLOCALE=0 X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=17874584c16f26a0ca989a05fed2733d3d41e268 hammock: +Workaround GDB vs. Python: +PYTHONCOERCECLOCALE=0 --- diff --git a/bin/hammock b/bin/hammock index d1de04f..b017312 100755 --- a/bin/hammock +++ b/bin/hammock @@ -413,6 +413,8 @@ while (@distrouse || keys(%child)) { # gdbgit: 16=6m5s 32=5m49s(seen OOM) 64=5m42s $c="export MAKEFLAGS=\"-j24\"; $c"; $c="export http_proxy=http://127.0.0.1:3128/; $c"; + # gdb compile failed, Python runtime initialized with LC_CTYPE=C (a locale with default ASCII encoding), which may cause Unicode compatibility problems. Using C.UTF-8, C.utf8, or UTF-8 (if available) as alternative Unicode-compatible locales is recommended. + $c="export PYTHONCOERCECLOCALE=0; $c"; $c="set -ex; cd $builddir; $c"; die "found ': $c" if $c=~/'/; spawn "mockrun $::distro '$c'";