Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285295 - dev-python/setuptools-0.6.1-r1: build of dev-python/jinja2 fails with KeyError: '_speedups'
Summary: dev-python/setuptools-0.6.1-r1: build of dev-python/jinja2 fails with KeyErro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL: http://bitbucket.org/tarek/distribute...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-17 10:46 UTC by Peter Levine
Modified: 2009-09-26 20:37 UTC (History)
1 user (show)

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


Attachments
Patch to fix this. Taken from Distribute Issue# 41. (distribute-0.6.1-ext_name.patch,464 bytes, patch)
2009-09-17 10:51 UTC, Peter Levine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Levine 2009-09-17 10:46:04 UTC
Build of dev-python/jinja2-2.1.1-r1 fails.
Compile phase fails at:

running build_ext                                                                                        
Traceback (most recent call last):                                                                       
  File "setup.py", line 117, in <module>                                                                 
    """                                                                                                  
  File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup                                      
    dist.run_commands()                                                                                  
  File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands                               
    self.run_command(cmd)                                                                                
  File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command                                
    cmd_obj.run()                                                                                        
  File "/usr/lib64/python2.6/distutils/command/build.py", line 134, in run                               
    self.run_command(cmd_name)                                                                           
  File "/usr/lib64/python2.6/distutils/cmd.py", line 333, in run_command                                 
    self.distribution.run_command(command)                                                               
  File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command                                
    cmd_obj.run()                                                                                        
  File "/usr/lib64/python2.6/site-packages/setuptools/command/build_ext.py", line 46, in run             
    _build_ext.run(self)                                                                                 
  File "/usr/lib64/python2.6/distutils/command/build_ext.py", line 344, in run                           
    self.build_extensions()                                                                              
  File "/usr/lib64/python2.6/site-packages/Pyrex/Distutils/build_ext.py", line 82, in build_extensions   
    self.build_extension(ext)                                                                            
  File "/usr/lib64/python2.6/site-packages/setuptools/command/build_ext.py", line 175, in build_extension
    _build_ext.build_extension(self,ext)                                                                 
  File "/usr/lib64/python2.6/distutils/command/build_ext.py", line 464, in build_extension
    ext_path = self.get_ext_fullpath(ext.name)
  File "/usr/lib64/python2.6/distutils/command/build_ext.py", line 637, in get_ext_fullpath
    filename = self.get_ext_filename(modpath[-1])
  File "/usr/lib64/python2.6/site-packages/setuptools/command/build_ext.py", line 85, in get_ext_filename
    ext = self.ext_map[fullname]
KeyError: '_speedups'

Reproducible: Always
Comment 1 Peter Levine 2009-09-17 10:51:48 UTC
Created attachment 204404 [details, diff]
Patch to fix this.  Taken from Distribute Issue# 41.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-26 20:37:01 UTC
This bug should be fixed in dev-python/setuptools-0.6.2.