Date: Thu, 24 Oct 2013 00:20:01 GMT From: Kubilay Kocak <koobs.freebsd@gmail.com> To: freebsd-python@FreeBSD.org Subject: Re: ports/149167: lang/python26 fails to build _ctypes on Sheevaplug (ARM) Message-ID: <201310240020.r9O0K1aA090468@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/149167; it has been noted by GNATS. From: Kubilay Kocak <koobs.freebsd@gmail.com> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310240020.r9O0K1aA090468>