Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339730 - ~x86 keyword request on app-portage/smart-live-rebuild
Summary: ~x86 keyword request on app-portage/smart-live-rebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks:
 
Reported: 2010-10-04 18:08 UTC by Michał Górny
Modified: 2010-10-22 17:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-10-04 18:08:28 UTC
Please keyword app-portage/smart-live-rebuild testing on ~x86. Thanks in advance.
Comment 1 Andreas Schürch gentoo-dev 2010-10-13 11:05:03 UTC
I tested it on x86 and version 0.6.2 seems ok to me, but 0.6.11 spits out some nasty failures during the build:

running build_scripts
creating build-3.1/scripts-3.1
Traceback (most recent call last):
  File "setup.py", line 35, in <module>
    'Topic :: System :: Installation/Setup'
  File "/usr/lib/python3.1/distutils/core.py", line 149, in setup
    dist.run_commands()                                          
  File "/usr/lib/python3.1/distutils/dist.py", line 919, in run_commands
    self.run_command(cmd)                                               
  File "/usr/lib/python3.1/distutils/dist.py", line 938, in run_command 
    cmd_obj.run()                                                       
  File "/usr/lib/python3.1/distutils/command/build.py", line 128, in run
    self.run_command(cmd_name)                                          
  File "/usr/lib/python3.1/distutils/cmd.py", line 315, in run_command  
    self.distribution.run_command(command)                              
  File "/usr/lib/python3.1/distutils/dist.py", line 938, in run_command 
    cmd_obj.run()                                                       
  File "/usr/lib/python3.1/distutils/command/build_scripts.py", line 51, in run
    self.copy_scripts()                                                        
  File "/usr/lib/python3.1/distutils/command/build_scripts.py", line 83, in copy_scripts
    first_line = f.readline()                                                           
  File "/usr/lib/python3.1/encodings/ascii.py", line 26, in decode                      
    return codecs.ascii_decode(input, self.errors)[0]                                   
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 127: ordinal not in range(128)
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-10-13 13:44:07 UTC
(In reply to comment #1)
> I tested it on x86 and version 0.6.2 seems ok to me, but 0.6.11 spits out some
> nasty failures during the build:
> [...]
>   File "/usr/lib/python3.1/distutils/command/build_scripts.py", line 51, in run
>     self.copy_script()
> [...]
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 127:
> ordinal not in range(128)

Sadly, that's bug in the Python distribution itself [1]. At the point, there's no good solution for it. The workaround is to set utf8 locale during the build.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-10-13 13:44:41 UTC
Ah, forgot the bug reference.

[1] http://bugs.python.org/issue10051
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2010-10-22 14:53:12 UTC
stable x86, thanks Andreas, we will do it nonetheless, closing
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2010-10-22 17:44:32 UTC
(In reply to comment #4)
> stable x86, thanks Andreas, we will do it nonetheless, closing

 Of course I only added a ~x86.