2019-07-02T07:00:28 Created temporary directory: /tmp/pip-ephem-wheel-cache-ko73vjnh 2019-07-02T07:00:28 Created temporary directory: /tmp/pip-req-tracker-l67r4vr1 2019-07-02T07:00:28 Created requirements tracker '/tmp/pip-req-tracker-l67r4vr1' 2019-07-02T07:00:28 Created temporary directory: /tmp/pip-wheel-874s73as 2019-07-02T07:00:28 Collecting serbus==1.0.5 2019-07-02T07:00:28 1 location(s) to search for versions of serbus: 2019-07-02T07:00:28 * https://pypi.org/simple/serbus/ 2019-07-02T07:00:28 Getting page https://pypi.org/simple/serbus/ 2019-07-02T07:00:28 Analyzing links from page https://pypi.org/simple/serbus/ 2019-07-02T07:00:28 Found link https://files.pythonhosted.org/packages/84/fb/ebb29362be207de1b947f0a12073281856e41f042dfb3a38641a9fed7ef7/serbus-1.0.1.tar.gz#sha256=9f79201e1a9a77a1461dd37f8915f61e4de559ba816d0beb0979684edddf5078 (from https://pypi.org/simple/serbus/), version: 1.0.1 2019-07-02T07:00:28 Found link https://files.pythonhosted.org/packages/e9/4a/e7fa4d96825f3b4d0ce2b4270a87bee96bf12b5838579fa3d34c3cec8b87/serbus-1.0.2.tar.gz#sha256=61816fc44dcd56749413c4e704766d033ce77f8eecd48f556495dd815168c349 (from https://pypi.org/simple/serbus/), version: 1.0.2 2019-07-02T07:00:28 Found link https://files.pythonhosted.org/packages/d5/80/023c87783f163707d3488cebda9975048fc6dd00740307cf727951817edd/serbus-1.0.3.tar.gz#sha256=fe0e6784acd95be76bbe444e7b4b547577adf3c324e0a522be20fc017f5e0de0 (from https://pypi.org/simple/serbus/), version: 1.0.3 2019-07-02T07:00:28 Found link https://files.pythonhosted.org/packages/f5/5e/2499161978316f60bfe4323bebb566c7fe68d05c70440eb2b957d9f9fb1c/serbus-1.0.4.tar.gz#sha256=b0756a72cf8e07cf44b71cd0b8798271c42d668b803daf2d0f116aa9c1553058 (from https://pypi.org/simple/serbus/), version: 1.0.4 2019-07-02T07:00:28 Found link https://files.pythonhosted.org/packages/5e/81/3b32ec5631066177c73d7ea5888ff116e31e59f0e77077437a87cc597562/serbus-1.0.5.tar.gz#sha256=68f83991fe9bf8ebfb6866869db46a1a3b27eb0eace63d3f5bb0037f2c659d26 (from https://pypi.org/simple/serbus/), version: 1.0.5 2019-07-02T07:00:28 Using version 1.0.5 (newest of versions: 1.0.5) 2019-07-02T07:00:28 Created temporary directory: /tmp/pip-unpack-dugx8pl1 2019-07-02T07:00:29 Downloading https://files.pythonhosted.org/packages/5e/81/3b32ec5631066177c73d7ea5888ff116e31e59f0e77077437a87cc597562/serbus-1.0.5.tar.gz 2019-07-02T07:00:29 Downloading from URL https://files.pythonhosted.org/packages/5e/81/3b32ec5631066177c73d7ea5888ff116e31e59f0e77077437a87cc597562/serbus-1.0.5.tar.gz#sha256=68f83991fe9bf8ebfb6866869db46a1a3b27eb0eace63d3f5bb0037f2c659d26 (from https://pypi.org/simple/serbus/) 2019-07-02T07:00:29 Added serbus==1.0.5 from https://files.pythonhosted.org/packages/5e/81/3b32ec5631066177c73d7ea5888ff116e31e59f0e77077437a87cc597562/serbus-1.0.5.tar.gz#sha256=68f83991fe9bf8ebfb6866869db46a1a3b27eb0eace63d3f5bb0037f2c659d26 to build tracker '/tmp/pip-req-tracker-l67r4vr1' 2019-07-02T07:00:29 Running setup.py (path:/tmp/pip-wheel-874s73as/serbus/setup.py) egg_info for package serbus 2019-07-02T07:00:29 Running command python setup.py egg_info 2019-07-02T07:00:30 running egg_info 2019-07-02T07:00:30 creating pip-egg-info/serbus.egg-info 2019-07-02T07:00:30 writing pip-egg-info/serbus.egg-info/PKG-INFO 2019-07-02T07:00:30 writing dependency_links to pip-egg-info/serbus.egg-info/dependency_links.txt 2019-07-02T07:00:30 writing top-level names to pip-egg-info/serbus.egg-info/top_level.txt 2019-07-02T07:00:30 writing manifest file 'pip-egg-info/serbus.egg-info/SOURCES.txt' 2019-07-02T07:00:31 reading manifest file 'pip-egg-info/serbus.egg-info/SOURCES.txt' 2019-07-02T07:00:31 reading manifest template 'MANIFEST.in' 2019-07-02T07:00:31 warning: no files found matching '*.h' under directory 'serbus' 2019-07-02T07:00:31 writing manifest file 'pip-egg-info/serbus.egg-info/SOURCES.txt' 2019-07-02T07:00:31 Source in /tmp/pip-wheel-874s73as/serbus has version 1.0.5, which satisfies requirement serbus==1.0.5 from https://files.pythonhosted.org/packages/5e/81/3b32ec5631066177c73d7ea5888ff116e31e59f0e77077437a87cc597562/serbus-1.0.5.tar.gz#sha256=68f83991fe9bf8ebfb6866869db46a1a3b27eb0eace63d3f5bb0037f2c659d26 2019-07-02T07:00:31 Removed serbus==1.0.5 from https://files.pythonhosted.org/packages/5e/81/3b32ec5631066177c73d7ea5888ff116e31e59f0e77077437a87cc597562/serbus-1.0.5.tar.gz#sha256=68f83991fe9bf8ebfb6866869db46a1a3b27eb0eace63d3f5bb0037f2c659d26 from build tracker '/tmp/pip-req-tracker-l67r4vr1' 2019-07-02T07:00:31 Building wheels for collected packages: serbus 2019-07-02T07:00:31 Created temporary directory: /tmp/pip-wheel-1_c0fwjq 2019-07-02T07:00:31 Building wheel for serbus (setup.py): started 2019-07-02T07:00:31 Destination directory: /tmp/pip-wheel-1_c0fwjq 2019-07-02T07:00:31 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-874s73as/serbus/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-1_c0fwjq 2019-07-02T07:00:32 running bdist_wheel 2019-07-02T07:00:32 running build 2019-07-02T07:00:32 running build_py 2019-07-02T07:00:33 creating build 2019-07-02T07:00:33 creating build/lib.linux-armv7l-3.7 2019-07-02T07:00:33 creating build/lib.linux-armv7l-3.7/serbus 2019-07-02T07:00:33 copying serbus/__init__.py -> build/lib.linux-armv7l-3.7/serbus 2019-07-02T07:00:33 running build_ext 2019-07-02T07:00:33 building 'serbus.spidev' extension 2019-07-02T07:00:33 creating build/temp.linux-armv7l-3.7 2019-07-02T07:00:33 creating build/temp.linux-armv7l-3.7/serbus 2019-07-02T07:00:33 creating build/temp.linux-armv7l-3.7/src 2019-07-02T07:00:33 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iinclude -I/usr/include/python3.7m -c serbus/pyspidev.c -o build/temp.linux-armv7l-3.7/serbus/pyspidev.o 2019-07-02T07:00:33 serbus/pyspidev.c: In function ‘SPIDev_dealloc’: 2019-07-02T07:00:33 serbus/pyspidev.c:56:9: error: ‘SPIDev’ {aka ‘struct ’} has no member named ‘ob_type’; did you mean ‘ob_base’? 2019-07-02T07:00:33 self->ob_type->tp_free((PyObject*)self); 2019-07-02T07:00:33 ^~~~~~~ 2019-07-02T07:00:33 ob_base 2019-07-02T07:00:33 serbus/pyspidev.c: In function ‘SPIDev_read’: 2019-07-02T07:00:33 serbus/pyspidev.c:196:16: warning: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration] 2019-07-02T07:00:33 word_obj = PyInt_FromLong(word); 2019-07-02T07:00:33 ^~~~~~~~~~~~~~ 2019-07-02T07:00:33 PyLong_FromLong 2019-07-02T07:00:33 serbus/pyspidev.c:196:14: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2019-07-02T07:00:33 word_obj = PyInt_FromLong(word); 2019-07-02T07:00:33 ^ 2019-07-02T07:00:33 serbus/pyspidev.c: In function ‘SPIDev_write’: 2019-07-02T07:00:33 serbus/pyspidev.c:237:10: warning: implicit declaration of function ‘PyInt_Check’; did you mean ‘PySet_Check’? [-Wimplicit-function-declaration] 2019-07-02T07:00:33 if (!PyInt_Check(word_obj)) { 2019-07-02T07:00:33 ^~~~~~~~~~~ 2019-07-02T07:00:33 PySet_Check 2019-07-02T07:00:33 serbus/pyspidev.c:243:12: warning: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration] 2019-07-02T07:00:33 word = PyInt_AsLong(word_obj); 2019-07-02T07:00:33 ^~~~~~~~~~~~ 2019-07-02T07:00:33 PyLong_AsLong 2019-07-02T07:00:33 serbus/pyspidev.c: In function ‘SPIDev_transaction’: 2019-07-02T07:00:33 serbus/pyspidev.c:355:14: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2019-07-02T07:00:33 word_obj = PyInt_FromLong(word); 2019-07-02T07:00:33 ^ 2019-07-02T07:00:33 serbus/pyspidev.c: In function ‘SPIDev_transfer’: 2019-07-02T07:00:33 serbus/pyspidev.c:447:14: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2019-07-02T07:00:33 word_obj = PyInt_FromLong(word); 2019-07-02T07:00:33 ^ 2019-07-02T07:00:33 serbus/pyspidev.c: At top level: 2019-07-02T07:00:33 serbus/pyspidev.c:914:35: warning: missing braces around initializer [-Wmissing-braces] 2019-07-02T07:00:33 static PyTypeObject SPIDev_type = { 2019-07-02T07:00:33 ^ 2019-07-02T07:00:33 serbus/pyspidev.c:917:3: warning: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion] 2019-07-02T07:00:33 "spidev.SPIDev", /*tp_name*/ 2019-07-02T07:00:33 ^~~~~~~~~~~~~~~ 2019-07-02T07:00:33 serbus/pyspidev.c:917:3: note: (near initialization for ‘SPIDev_type.tp_basicsize’) 2019-07-02T07:00:33 serbus/pyspidev.c:920:3: warning: initialization of ‘int (*)(PyObject *, FILE *, int)’ {aka ‘int (*)(struct _object *, struct _IO_FILE *, int)’} from incompatible pointer type ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} [-Wincompatible-pointer-types] 2019-07-02T07:00:33 (destructor)SPIDev_dealloc, /*tp_dealloc*/ 2019-07-02T07:00:33 ^ 2019-07-02T07:00:33 serbus/pyspidev.c:920:3: note: (near initialization for ‘SPIDev_type.tp_print’) 2019-07-02T07:00:33 In file included from /usr/include/python3.7m/pytime.h:6, 2019-07-02T07:00:33 from /usr/include/python3.7m/Python.h:87, 2019-07-02T07:00:33 from serbus/pyspidev.c:24: 2019-07-02T07:00:33 /usr/include/python3.7m/object.h:671:29: warning: initialization of ‘const char *’ from ‘long unsigned int’ makes pointer from integer without a cast [-Wint-conversion] 2019-07-02T07:00:33 #define Py_TPFLAGS_DEFAULT ( \ 2019-07-02T07:00:33 ^ 2019-07-02T07:00:33 serbus/pyspidev.c:935:3: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 2019-07-02T07:00:33 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/ 2019-07-02T07:00:33 ^~~~~~~~~~~~~~~~~~ 2019-07-02T07:00:33 /usr/include/python3.7m/object.h:671:29: note: (near initialization for ‘SPIDev_type.tp_doc’) 2019-07-02T07:00:33 #define Py_TPFLAGS_DEFAULT ( \ 2019-07-02T07:00:33 ^ 2019-07-02T07:00:33 serbus/pyspidev.c:935:3: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 2019-07-02T07:00:33 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/ 2019-07-02T07:00:33 ^~~~~~~~~~~~~~~~~~ 2019-07-02T07:00:33 serbus/pyspidev.c:936:3: warning: initialization of ‘int (*)(PyObject *, int (*)(PyObject *, void *), void *)’ {aka ‘int (*)(struct _object *, int (*)(struct _object *, void *), void *)’} from incompatible pointer type ‘char *’ [-Wincompatible-pointer-types] 2019-07-02T07:00:33 SPIDev_init__doc__, /* tp_doc */ 2019-07-02T07:00:33 ^~~~~~~~~~~~~~~~~~ 2019-07-02T07:00:33 serbus/pyspidev.c:936:3: note: (near initialization for ‘SPIDev_type.tp_traverse’) 2019-07-02T07:00:33 serbus/pyspidev.c:943:3: warning: initialization of ‘struct PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ {aka ‘struct PyMethodDef *’} [-Wincompatible-pointer-types] 2019-07-02T07:00:33 SPIDev_methods, /* tp_methods */ 2019-07-02T07:00:33 ^~~~~~~~~~~~~~ 2019-07-02T07:00:33 serbus/pyspidev.c:943:3: note: (near initialization for ‘SPIDev_type.tp_members’) 2019-07-02T07:00:33 serbus/pyspidev.c:945:3: warning: initialization of ‘struct _typeobject *’ from incompatible pointer type ‘PyGetSetDef *’ {aka ‘struct PyGetSetDef *’} [-Wincompatible-pointer-types] 2019-07-02T07:00:33 SPIDev_getseters, /* tp_getset */ 2019-07-02T07:00:33 ^~~~~~~~~~~~~~~~ 2019-07-02T07:00:33 serbus/pyspidev.c:945:3: note: (near initialization for ‘SPIDev_type.tp_base’) 2019-07-02T07:00:33 serbus/pyspidev.c:951:3: warning: initialization of ‘PyObject * (*)(struct _typeobject *, Py_ssize_t)’ {aka ‘struct _object * (*)(struct _typeobject *, int)’} from incompatible pointer type ‘int (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘int (*)(struct _object *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types] 2019-07-02T07:00:33 (initproc)SPIDev_init, /* tp_init */ 2019-07-02T07:00:33 ^ 2019-07-02T07:00:33 serbus/pyspidev.c:951:3: note: (near initialization for ‘SPIDev_type.tp_alloc’) 2019-07-02T07:00:33 serbus/pyspidev.c:953:3: warning: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘PyObject * (*)(PyTypeObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _typeobject *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types] 2019-07-02T07:00:33 SPIDev_new, /* tp_new */ 2019-07-02T07:00:33 ^~~~~~~~~~ 2019-07-02T07:00:33 serbus/pyspidev.c:953:3: note: (near initialization for ‘SPIDev_type.tp_free’) 2019-07-02T07:00:33 serbus/pyspidev.c:914:35: warning: missing braces around initializer [-Wmissing-braces] 2019-07-02T07:00:33 static PyTypeObject SPIDev_type = { 2019-07-02T07:00:33 ^ 2019-07-02T07:00:33 serbus/pyspidev.c: In function ‘initspidev’: 2019-07-02T07:00:33 serbus/pyspidev.c:964:39: warning: ‘return’ with no value, in function returning non-void 2019-07-02T07:00:33 if (PyType_Ready(&SPIDev_type) < 0) return; 2019-07-02T07:00:33 ^~~~~~ 2019-07-02T07:00:33 serbus/pyspidev.c:960:16: note: declared here 2019-07-02T07:00:33 PyMODINIT_FUNC initspidev(void) { 2019-07-02T07:00:33 ^~~~~~~~~~ 2019-07-02T07:00:33 serbus/pyspidev.c:966:7: warning: implicit declaration of function ‘Py_InitModule3’; did you mean ‘Py_Initialize’? [-Wimplicit-function-declaration] 2019-07-02T07:00:33 m = Py_InitModule3("spidev", SPIDev_methods, SPIDev_module__doc__); 2019-07-02T07:00:33 ^~~~~~~~~~~~~~ 2019-07-02T07:00:33 Py_Initialize 2019-07-02T07:00:33 serbus/pyspidev.c:966:5: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2019-07-02T07:00:33 m = Py_InitModule3("spidev", SPIDev_methods, SPIDev_module__doc__); 2019-07-02T07:00:33 ^ 2019-07-02T07:00:33 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 2019-07-02T07:00:34 Building wheel for serbus (setup.py): finished with status 'error' 2019-07-02T07:00:34 ERROR: Failed building wheel for serbus 2019-07-02T07:00:34 Running setup.py clean for serbus 2019-07-02T07:00:34 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-874s73as/serbus/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2019-07-02T07:00:35 running clean 2019-07-02T07:00:35 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-07-02T07:00:35 removing 'build/lib.linux-armv7l-3.7' (and everything under it) 2019-07-02T07:00:35 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-07-02T07:00:35 'build/scripts-3.7' does not exist -- can't clean it 2019-07-02T07:00:35 removing 'build' 2019-07-02T07:00:35 Failed to build serbus 2019-07-02T07:00:35 Cleaning up... 2019-07-02T07:00:35 Removing source in /tmp/pip-wheel-874s73as/serbus 2019-07-02T07:00:35 Removed build tracker '/tmp/pip-req-tracker-l67r4vr1' 2019-07-02T07:00:35 ERROR: Failed to build one or more wheels 2019-07-02T07:00:35 Exception information: 2019-07-02T07:00:35 Traceback (most recent call last): 2019-07-02T07:00:35 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-07-02T07:00:35 status = self.run(options, args) 2019-07-02T07:00:35 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-07-02T07:00:35 "Failed to build one or more wheels" 2019-07-02T07:00:35 pip._internal.exceptions.CommandError: Failed to build one or more wheels