Gentoo's Bugzilla – Bug 352700
media-gfx/mypaint-0.9.0 - UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 27: ordinal not in range(128): ...
Last modified: 2011-03-10 10:45:57 UTC node unknown
>>> Compiling source in /var/tmp/portage/media-gfx/mypaint-0.9.0/work/mypaint-0.9.0 ... scons -j5 scons: Reading SConscript files ... Building for python2.6 UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 27: ordinal not in range(128): File "/var/tmp/portage/media-gfx/mypaint-0.9.0/work/mypaint-0.9.0/SConstruct", line 53: env.ParseConfig(python + '-config --cflags') File "/usr/lib/scons-2.0.1/SCons/Environment.py", line 1460: return function(self, self.backtick(command)) File "/usr/lib/scons-2.0.1/SCons/Environment.py", line 591: sys.stderr.write(unicode(err)) Reproducible: Always Steps to Reproduce:
Created attachment 260675 [details] emerge --info =media-gfx/mypaint-0.9.0
Created attachment 260677 [details] build.log
can you try LANG="en_US.UTF-8" emerge mypaint ?
(In reply to comment #3) > can you try LANG="en_US.UTF-8" emerge mypaint ? > yes, it works. Thanks =]
@python Any idea on how to fix it in a pretty way? Thanks
Got the same bug. Solution works.
I just tried to reproduce it with RU locale and I still can't reproduce it. So I am closing this as WORKSFORME Could you please add export LANG="en_US.UTF-8" on src_compile and try to emerge mypaint again? If this works for you then I will add this little hack on the ebuild
It seems like scons bug. It tries to execute 'python2.6-config' while in Gentoo python-config is named 'python-config-2.6'. So shell returns error in russian language and scons fails to output it on std.err. export LANG="en_US.UTF-8" on src_compile works fine