From owner-freebsd-python@FreeBSD.ORG Thu Oct 24 00:20:01 2013 Return-Path: Delivered-To: freebsd-python@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A6480A32 for ; Thu, 24 Oct 2013 00:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 91B732AFA for ; Thu, 24 Oct 2013 00:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9O0K1kD090470 for ; Thu, 24 Oct 2013 00:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9O0K1aA090468; Thu, 24 Oct 2013 00:20:01 GMT (envelope-from gnats) Date: Thu, 24 Oct 2013 00:20:01 GMT Message-Id: <201310240020.r9O0K1aA090468@freefall.freebsd.org> To: freebsd-python@FreeBSD.org Cc: From: Kubilay Kocak Subject: Re: ports/149167: lang/python26 fails to build _ctypes on Sheevaplug (ARM) X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Kubilay Kocak List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 00:20:01 -0000 The following reply was made to PR ports/149167; it has been noted by GNATS. From: Kubilay Kocak To: bug-followup@FreeBSD.org, root@cooltrainer.org Cc: werner@thie.ch Subject: Re: ports/149167: lang/python26 fails to build _ctypes on Sheevaplug (ARM) Date: Thu, 24 Oct 2013 11:10:52 +1100 This is a multi-part message in MIME format. --------------010105030402060403000409 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Nicole & Werner, Python updated their bundled version of libffi to 3.0.13 on 13 Mar 2013: http://hg.python.org/cpython/rev/b10ec5083a53 1) Can you both please confirm whether the issue still exists in the latest version of lang/python27 (2.7.5) or not. 2) If you *can* reproduce it in the above case, can you both also try applying the attached patch & rebuilding lang/python27, which will build ctypes against devel/libffi from ports, rather than the bundled version. This will help determine what the current state is and point us in the right direction to where a permanent fix is to be applied. Maintaining a local patch is a short term fix and ultimately needs to be resolved at Python or libffi upstream. Thank you both for your report and follow-ups Koobs --------------010105030402060403000409 Content-Type: text/plain; charset=windows-1252; name="python-with-ports-libffi.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="python-with-ports-libffi.diff" Index: Makefile =================================================================== --- Makefile (revision 331355) +++ Makefile (working copy) @@ -18,6 +18,8 @@ GNU_CONFIGURE= yes CONFIGURE_SCRIPT= ../configure # must be relative CONFIGURE_ENV= SVNVERSION="echo freebsd" +CONFIGURE_ARGS= --with-system-ffi +LIB_DEPENDS= ffi:${PORTSDIR}/devel/libffi MAKE_ENV= VPATH="${PYTHON_WRKSRC}" USE_LDCONFIG= yes INSTALL_TARGET= altinstall --------------010105030402060403000409--