My locale is russian. SConstruct:53 try: -> env.ParseConfig(python + '-config --cflags') -> env.ParseConfig(python + '-config --ldflags') except OSError: print 'going to try python-config instead' env.ParseConfig('python-config --ldflags') env.ParseConfig('python-config --cflags') invokes python2.6-config..., which is absent, answer is with russian letters and UnicodeDecodeError raised. Reproducible: Always
Created attachment 266231 [details] build.log
Created attachment 266233 [details] environment
Please post your `emerge --info' output too.
Created attachment 266329 [details] emerge --info
media-gfx/mypaint-0.9.0 or media-gfx/mypaint-0.9.1 fail to merge. I have done what is indicated here but the error persists in both versions, I can not see what is the solution of this bug. Console output: ################################################################################ # LANG="en_US.UTF-8" emerge mypaint Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-gfx/mypaint-0.9.1 * mypaint-0.9.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: media-gfx/mypaint-0.9.1 * Repository: gentoo * Maintainer: hwoarang@gentoo.org * USE: elibc_glibc kernel_linux userland_GNU x86 * FEATURES: ccache sandbox >>> Unpacking source... >>> Unpacking mypaint-0.9.1.tar.bz2 to /var/tmp/portage/media-gfx/mypaint-0.9.1/work >>> Source unpacked in /var/tmp/portage/media-gfx/mypaint-0.9.1/work >>> Preparing source in /var/tmp/portage/media-gfx/mypaint-0.9.1/work/mypaint-0.9.1 ... * Applying mypaint-0.9.1-gentoo.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/mypaint-0.9.1/work/mypaint-0.9.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-gfx/mypaint-0.9.1/work/mypaint-0.9.1 ... scons -j2 scons: Reading SConscript files ... Building for python2.7 UnicodeDecodeError: 'ascii' codec can't decode byte 0xf3 in position 40: ordinal not in range(128): File "/var/tmp/portage/media-gfx/mypaint-0.9.1/work/mypaint-0.9.1/SConstruct", line 59: 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)) * ERROR: media-gfx/mypaint-0.9.1 failed (compile phase): * scons failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2271: Called die * The specific snippet of code: * escons || die "scons failed" * * If you need support, post the output of 'emerge --info =media-gfx/mypaint-0.9.1', * the complete build log and the output of 'emerge -pqv =media-gfx/mypaint-0.9.1'. * The complete build log is located at '/var/log/portage/media-gfx:mypaint-0.9.1:20110620-130805.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/mypaint-0.9.1/temp/environment'. * S: '/var/tmp/portage/media-gfx/mypaint-0.9.1/work/mypaint-0.9.1' >>> Failed to emerge media-gfx/mypaint-0.9.1, Log file: >>> '/var/log/portage/media-gfx:mypaint-0.9.1:20110620-130805.log' * Messages for package media-gfx/mypaint-0.9.1: * ERROR: media-gfx/mypaint-0.9.1 failed (compile phase): * scons failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2271: Called die * The specific snippet of code: * escons || die "scons failed" * * If you need support, post the output of 'emerge --info =media-gfx/mypaint-0.9.1', * the complete build log and the output of 'emerge -pqv =media-gfx/mypaint-0.9.1'. * The complete build log is located at '/var/log/portage/media-gfx:mypaint-0.9.1:20110620-130805.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/mypaint-0.9.1/temp/environment'. * S: '/var/tmp/portage/media-gfx/mypaint-0.9.1/work/mypaint-0.9.1' dell-1300 ~ # sudo emerge -uDv mypaint These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] media-gfx/mypaint-0.9.1 0 kB Total: 1 package (1 new), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-gfx/mypaint-0.9.1 * mypaint-0.9.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: media-gfx/mypaint-0.9.1 * Repository: gentoo * Maintainer: hwoarang@gentoo.org * USE: elibc_glibc kernel_linux userland_GNU x86 * FEATURES: ccache sandbox >>> Unpacking source... >>> Unpacking mypaint-0.9.1.tar.bz2 to /var/tmp/portage/media-gfx/mypaint-0.9.1/work >>> Source unpacked in /var/tmp/portage/media-gfx/mypaint-0.9.1/work >>> Preparing source in /var/tmp/portage/media-gfx/mypaint-0.9.1/work/mypaint-0.9.1 ... * Applying mypaint-0.9.1-gentoo.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/mypaint-0.9.1/work/mypaint-0.9.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-gfx/mypaint-0.9.1/work/mypaint-0.9.1 ... scons -j2 scons: Reading SConscript files ... Building for python2.7 UnicodeDecodeError: 'ascii' codec can't decode byte 0xf3 in position 40: ordinal not in range(128): File "/var/tmp/portage/media-gfx/mypaint-0.9.1/work/mypaint-0.9.1/SConstruct", line 59: 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)) * ERROR: media-gfx/mypaint-0.9.1 failed (compile phase): * scons failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2274: Called die * The specific snippet of code: * escons || die "scons failed" * * If you need support, post the output of 'emerge --info =media-gfx/mypaint-0.9.1', * the complete build log and the output of 'emerge -pqv =media-gfx/mypaint-0.9.1'. * The complete build log is located at '/var/log/portage/media-gfx:mypaint-0.9.1:20110620-131046.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/mypaint-0.9.1/temp/environment'. * S: '/var/tmp/portage/media-gfx/mypaint-0.9.1/work/mypaint-0.9.1' >>> Failed to emerge media-gfx/mypaint-0.9.1, Log file: >>> '/var/log/portage/media-gfx:mypaint-0.9.1:20110620-131046.log' * Messages for package media-gfx/mypaint-0.9.1: * ERROR: media-gfx/mypaint-0.9.1 failed (compile phase): * scons failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2274: Called die * The specific snippet of code: * escons || die "scons failed" * * If you need support, post the output of 'emerge --info =media-gfx/mypaint-0.9.1', * the complete build log and the output of 'emerge -pqv =media-gfx/mypaint-0.9.1'. * The complete build log is located at '/var/log/portage/media-gfx:mypaint-0.9.1:20110620-131046.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/mypaint-0.9.1/temp/environment'. * S: '/var/tmp/portage/media-gfx/mypaint-0.9.1/work/mypaint-0.9.1' ################################################################################
I am not sure how to fix this problem. Lets see if python@ maintainers know what to do about that. You can also report this error upstream if you want https://gna.org/bugs/?group=mypaint
It's rather a bug in dev-util/scons. Please report it to SCons upstream.
Ok done. Thanks for the quick reply
*** Bug 393117 has been marked as a duplicate of this bug. ***
This versions is no longer in the tree