Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359253 - media-gfx/mypaint-0.9.0 with LANG=ru_RU.UTF-8 - UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 27: ordinal not in range(128): [...]
Summary: media-gfx/mypaint-0.9.0 with LANG=ru_RU.UTF-8 - UnicodeDecodeError: 'ascii' c...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Markos Chandras (RETIRED)
URL: http://scons.tigris.org/issues/show_b...
Whiteboard:
Keywords:
: 393117 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-17 08:59 UTC by Anton Novosyolov
Modified: 2016-03-06 11:25 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,2.20 KB, text/plain)
2011-03-17 09:00 UTC, Anton Novosyolov
Details
environment (environment,90.80 KB, text/plain)
2011-03-17 09:01 UTC, Anton Novosyolov
Details
emerge --info (info,4.55 KB, text/plain)
2011-03-18 07:01 UTC, Anton Novosyolov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Novosyolov 2011-03-17 08:59:42 UTC
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
Comment 1 Anton Novosyolov 2011-03-17 09:00:37 UTC
Created attachment 266231 [details]
build.log
Comment 2 Anton Novosyolov 2011-03-17 09:01:09 UTC
Created attachment 266233 [details]
environment
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-17 18:12:52 UTC
Please post your `emerge --info' output too.
Comment 4 Anton Novosyolov 2011-03-18 07:01:16 UTC
Created attachment 266329 [details]
emerge --info
Comment 5 Eleazar Anzola 2011-06-20 13:26:24 UTC
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'
################################################################################
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2011-06-20 13:38:26 UTC
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
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-06-20 13:43:25 UTC
It's rather a bug in dev-util/scons. Please report it to SCons upstream.
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2011-06-20 13:57:02 UTC
Ok done. Thanks for the quick reply
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2011-12-04 15:07:38 UTC
*** Bug 393117 has been marked as a duplicate of this bug. ***
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2016-03-06 11:25:36 UTC
This versions is no longer in the tree