From owner-freebsd-python@FreeBSD.ORG Mon Dec 12 23:10:13 2011 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84D74106567A for ; Mon, 12 Dec 2011 23:10:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 73EAC8FC17 for ; Mon, 12 Dec 2011 23:10:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBCNAD4R095410 for ; Mon, 12 Dec 2011 23:10:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBCNAD2K095409; Mon, 12 Dec 2011 23:10:13 GMT (envelope-from gnats) Date: Mon, 12 Dec 2011 23:10:13 GMT Message-Id: <201112122310.pBCNAD2K095409@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Mattia Rossi Cc: Subject: Re: ports/149167: lang/python26 fails to build _ctypes on Sheevaplug (ARM) X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mattia Rossi List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2011 23:10:13 -0000 The following reply was made to PR ports/149167; it has been noted by GNATS. From: Mattia Rossi To: bug-followup@FreeBSD.org, root@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@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