This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rkuska
Recipients rkuska
Date 2016-03-29.10:09:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459246152.22.0.57778057602.issue26661@psf.upfronthosting.co.za>
In-reply-to
Content
Python fails to locate system version of ffi when building. We delete bundled version of ffi and build process fail with following error: error: [Errno 2] No such file or directory: '/builddir/build/BUILD/Python-3.5.1/Modules/_ctypes/libffi' This is caused by setup.py@1993 checking only for '#define LIBFFI_H' within ffi.h. Content of /usr/include/ffi.h: > $ cat /usr/include/ffi.h /* This file is here to prevent a file conflict on multiarch systems. */ #ifdef ffi_wrapper_h #error "Do not define ffi_wrapper_h!" #endif #define ffi_wrapper_h #if defined(__i386__) #include "ffi-i386.h" #elif defined(__powerpc64__) #include "ffi-ppc64.h" #elif defined(__powerpc__) #include "ffi-ppc.h" #elif defined(__s390x__) #include "ffi-s390x.h" #elif defined(__s390__) #include "ffi-s390.h" #elif defined(__x86_64__) #include "ffi-x86_64.h" #else #error "The libffi-devel package is not usable with the architecture." #endif #undef ffi_wrapper_h It is important to note that this content is Fedora specific. As a workaround we (Fedora) use attached patch. Would it be plausible to accept this patch in upstream?
History
Date User Action Args
2016-03-29 10:09:12rkuskasetrecipients: + rkuska
2016-03-29 10:09:12rkuskasetmessageid: <1459246152.22.0.57778057602.issue26661@psf.upfronthosting.co.za>
2016-03-29 10:09:11rkuskalinkissue26661 messages
2016-03-29 10:09:11rkuskacreate