From 254da39e633a8854102b162024b5274333fb05a6 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 28 Sep 2017 20:11:11 +0200 Subject: [PATCH] =?UTF-8?q?libftdi1:=20Don=E2=80=99t=20build=20Python=20bi?= =?UTF-8?q?ndings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` […] Scanning dependencies of target find_all_pp [ 87%] Building CXX object examples/CMakeFiles/find_all_pp.dir/find_all_pp.cpp.o [ 90%] Linking CXX executable find_all_pp [ 90%] Built target find_all_pp [ 92%] Linking CXX executable test_libftdi1 [ 92%] Built target test_libftdi1 [ 92%] Built target doc_i [ 95%] Swig source /dev/shm/bee-root/libftdi1/libftdi1-1.4-0/source/src/ftdi.h:270: Warning 451: Setting a const char * variable may leak memory. /dev/shm/bee-root/libftdi1/libftdi1-1.4-0/source/src/ftdi_i.h:131: Warning 451: Setting a const char * variable may leak memory. Scanning dependencies of target _ftdi1 [ 97%] Building C object python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c.o /dev/shm/bee-root/libftdi1/libftdi1-1.4-0/build/python/ftdi1PYTHON_wrap.c: In function ‘PyInit__ftdi1’: /dev/shm/bee-root/libftdi1/libftdi1-1.4-0/build/python/ftdi1PYTHON_wrap.c:13548:21: warning: variable ‘md’ set but not used [-Wunused-but-set-variable] PyObject *m, *d, *md; ^ [100%] Linking C shared module _ftdi1.so /usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64/libpython3.3m.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64/libpython3.3m.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status python/CMakeFiles/_ftdi1.dir/build.make:106: recipe for target 'python/_ftdi1.so' failed make[2]: *** [python/_ftdi1.so] Error 1 CMakeFiles/Makefile2:346: recipe for target 'python/CMakeFiles/_ftdi1.dir/all' failed make[1]: *** [python/CMakeFiles/_ftdi1.dir/all] Error 2 Makefile:151: recipe for target 'all' failed make: *** [all] Error 2 ``` --- libftdi1.be0 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libftdi1.be0 b/libftdi1.be0 index 852c2c365..85418330b 100755 --- a/libftdi1.be0 +++ b/libftdi1.be0 @@ -53,9 +53,9 @@ SRCURL[0]="https://www.intra2net.com/en/developer/libftdi/download/libftdi1-${PK # bee_patch "${@}" #} -#mee_configure() { -# bee_configure -#} +mee_configure() { + bee_configure -DPYTHON_BINDINGS=off +} #mee_build() { # bee_build