ports/149167: lang/python26 fails to build _ctypes on Sheevaplug (ARM)

Mattia Rossi mrossi at swin.edu.au
Mon Dec 12 23:10:13 UTC 2011


The following reply was made to PR ports/149167; it has been noted by GNATS.

From: Mattia Rossi <mrossi at swin.edu.au>
To: bug-followup at FreeBSD.org, root at cooltrainer.org
Cc:  
Subject: Re: ports/149167: lang/python26 fails to build _ctypes on Sheevaplug
 (ARM)
Date: Tue, 13 Dec 2011 09:48:10 +1100

 Ok, I'll submit my problem here as a follow-up as well, maybe someone 
 gets around to fix it. I have no clue on how Python build s modules and 
 how the whole build system is handled, so I most likely have no chance 
 to find out how to fix it.
 
 Python 2.7.2 builds on the Dreamplug (evolved Sheevaplug) including 
 ctypes, but upon importing the module, it crashes.
 I tried to see if the patch did some magic to make it work, but that was 
 just a shot in the dark.. and no it doesn't help.
 
 Environment:
 
 FreeBSD dreamplug 9.0-RC1 FreeBSD 9.0-RC1 #35 r226624M: Wed Oct 26 
 12:06:18 EST 2011     
 root at freebsd82fresh:/usr/obj/arm.arm/usr/devel/sys/DREAMPLUG  arm
 
 dreamplug# python
 Python 2.7.2 (default, Dec  1 2011, 22:46:25)
 [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
 Type "help", "copyright", "credits" or "license" for more information.
  >>> import ctypes
 Abort (core dumped)
 
 (gdb) bt
 #0  0x2020dd10 in thr_kill () from /lib/libc.so.7
 #1  0x201a8314 in pthread_sigmask () from /lib/libthr.so.3
 #2  0x201a8964 in raise () from /lib/libthr.so.3
 #3  0x202aba6c in abort () from /lib/libc.so.7
 #4  0x203a5680 in __clear_cache () from 
 /usr/local/lib/python2.7/lib-dynload/_ctypes.so
 #5  0x203a5680 in __clear_cache () from 
 /usr/local/lib/python2.7/lib-dynload/_ctypes.so
 
 Mat
 


More information about the freebsd-python mailing list