[New-bugs-announce] [issue31710] setup.py: _ctypes won't getbuilt when system ffi is only in $PREFIX

pmpp report at bugs.python.org
Fri Oct 6 01:14:44 EDT 2017


New submission from pmpp <pmpp.pub at gmail.com>:

--with-system-ffi is mandatory for linux build but no way is provided ( eg --with-ffi-includes= --with-ffi-libs= ) so setup.py can detect libffi already built in $PREFIX and $EPREFIX/lib.

even if cflags/ldflags are ok , _ctypes build will be skipped with reason:
INFO: Could not locate ffi libs and/or headers

test condition: crystax-ndk toward android-19 on ubuntu xenial 32 bits

----------
components: Cross-Build
messages: 303799
nosy: Alex.Willmer, pmpp
priority: normal
severity: normal
status: open
title: setup.py: _ctypes won't getbuilt when system ffi is only in $PREFIX
type: compile error
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31710>
_______________________________________


More information about the New-bugs-announce mailing list