[Distutils] build_ext.py rev 1.27 :distutils broken

Joe Van Andel vanandel@ucar.edu
Thu, 30 Mar 2000 08:48:36 -0700


I updated my distutils from cvs and installed them.  Now, when I try to
build my application, I get:
===========================================================
running build_ext
Traceback (innermost last):
  File "setup.py", line 69, in ?
    ext_modules = [
  File "/usr/lib/python1.5/site-packages/distutils/core.py", line 98, in
setup
    dist.run_commands ()
  File "/usr/lib/python1.5/site-packages/distutils/core.py", line 533,
in run_co
mmands
    self.run_command (cmd)
  File "/usr/lib/python1.5/site-packages/distutils/core.py", line 582,
in run_co
mmand
    cmd_obj.run ()
  File "/usr/lib/python1.5/site-packages/distutils/command/install.py",
line 364
, in run
    self.run_peer ('build')
  File "/usr/lib/python1.5/site-packages/distutils/core.py", line 899,
in run_pe
er
    self.distribution.run_command (command)
  File "/usr/lib/python1.5/site-packages/distutils/core.py", line 582,
in run_co
mmand
    cmd_obj.run ()
  File "/usr/lib/python1.5/site-packages/distutils/command/build.py",
line 95, i
n run
    self.run_peer ('build_ext')
  File "/usr/lib/python1.5/site-packages/distutils/core.py", line 899,
in run_pe
er
    self.distribution.run_command (command)
  File "/usr/lib/python1.5/site-packages/distutils/core.py", line 582,
in run_co
mmand
    cmd_obj.run ()
  File
"/usr/lib/python1.5/site-packages/distutils/command/build_ext.py", line
1
92, in run
    self.build_extensions ()
TypeError: not enough arguments; expected 2, got 1
=========================================================================

cvs diff -r1.25 build_ext.py shows (among other differences):

         # Now actually compile and link everything.
-        self.build_extensions (self.extensions)
+        self.build_extensions ()

Restoring the old version of this line seems to fix the problem.

Not to be picky, but I'd certainly appreciate better regression testing
on distutils, so these trival errors don't occur.   

Would you consider tagging CVS revisions for additional sub-releases,
like
Distutils_0_1_3a, so we'd know what it likely to be stable?  As it is, I
think I'll have to save a working copy of distutils, before I update
from CVS.
 



-- 
Joe VanAndel  	          
National Center for Atmospheric Research
http://www.atd.ucar.edu/~vanandel/
Internet: vanandel@ucar.edu