This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients Arfrever, BreamoreBoy, agoode, dmalcolm, flox, lukasz.langa, mark.dickinson, pitrou, ronaldoussoren, srid, theller
Date 2010-09-05.13:44:44
SpamBayes Score 7.34299e-05
Marked as misclassified No
Message-id <>
Fixing the alloc_closure error is easy enough:

Index: ../
--- ../	(revision 84528)
+++ ../	(working copy)
@@ -1653,7 +1653,9 @@
-                   '_ctypes/cfield.c']
+                   '_ctypes/cfield.c',
+                   '_ctypes/malloc_closure.c',
+                   ]
         depends = ['_ctypes/ctypes.h']
         if sys.platform == 'darwin':

That's not enough to make it possible to build ctypes on OSX though, I now get the same error for a different symbol:

*** WARNING: renaming "_ctypes" since importing it failed: dlopen(build/lib.macosx-10.6-fat-3.2/, 2): Symbol not found: _ffi_prep_closure_loc
  Referenced from: /Users/ronald/Projects/python/python-3.x/build/build/lib.macosx-10.6-fat-3.2/
  Expected in: flat namespace
 in /Users/ronald/Projects/python/python-3.x/build/build/lib.macosx-10.6-fat-3.2/
Date User Action Args
2010-09-05 13:44:47ronaldoussorensetrecipients: + ronaldoussoren, theller, mark.dickinson, pitrou, Arfrever, agoode, srid, flox, dmalcolm, BreamoreBoy, lukasz.langa
2010-09-05 13:44:46ronaldoussorensetmessageid: <>
2010-09-05 13:44:45ronaldoussorenlinkissue5504 messages
2010-09-05 13:44:44ronaldoussorencreate