Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 243796 - dev-python/wxpython- fails to compile with python 2.6
Summary: dev-python/wxpython- fails to compile with python 2.6
Status: RESOLVED DUPLICATE of bug 219238
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2008-10-24 08:15 UTC by Andrey
Modified: 2008-10-25 07:25 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2008-10-24 08:15:14 UTC
Problem in compilation 
Traceback (most recent call last):                                                                                
  File "", line 1032, in <module>                                                                         
  File "/usr/lib64/python2.6/distutils/", line 152, in setup                                               
  File "/usr/lib64/python2.6/distutils/", line 975, in run_commands                                        
  File "/usr/lib64/python2.6/distutils/", line 995, in run_command                                                                                                                                     
  File "/usr/lib64/python2.6/distutils/command/", line 134, in run                                        
  File "/usr/lib64/python2.6/distutils/", line 333, in run_command                                          
  File "/usr/lib64/python2.6/distutils/", line 995, in run_command                                                                                                                                     
  File "/usr/lib64/python2.6/distutils/command/", line 343, in run                                    
  File "/usr/lib64/python2.6/distutils/command/", line 469, in build_extensions                       
  File "/usr/lib64/python2.6/distutils/command/", line 534, in build_extension                        
  File "/usr/lib64/python2.6/distutils/", line 700, in compile                                        
TypeError: _compile() got an unexpected keyword argument 'lang'   
Problem is solved by removing last argument in /usr/lib64/python2.6/distutils/

---    2008-10-24 03:14:24.000000000 -0500
+++        2008-10-24 03:14:31.000000000 -0500
@@ -696,8 +696,7 @@
                 src, ext = build[obj]
             except KeyError:
-            self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts,
-                   lang=lang)
+            self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
         # Return *all* object filenames, not just the ones we just built.
         return objects

Reproducible: Always
Comment 1 Matthias Liebig 2008-10-24 09:21:22 UTC
This is a duplicate of bug #219238.
Comment 2 Wormo (RETIRED) gentoo-dev 2008-10-25 07:25:19 UTC
Andrey, thanks for reporting your solution. This is the same problem as bug #219238 as pointed out by Matthias, so any further discussion should take place over there.

*** This bug has been marked as a duplicate of bug 219238 ***