2021-07-11T15:10:39,594 Created temporary directory: /tmp/pip-ephem-wheel-cache-itxzvivg 2021-07-11T15:10:39,598 Created temporary directory: /tmp/pip-req-tracker-fgaa9klp 2021-07-11T15:10:39,598 Initialized build tracking at /tmp/pip-req-tracker-fgaa9klp 2021-07-11T15:10:39,598 Created build tracker: /tmp/pip-req-tracker-fgaa9klp 2021-07-11T15:10:39,598 Entered build tracker: /tmp/pip-req-tracker-fgaa9klp 2021-07-11T15:10:39,599 Created temporary directory: /tmp/pip-wheel-uvstajnq 2021-07-11T15:10:39,628 1 location(s) to search for versions of serbus: 2021-07-11T15:10:39,628 * https://pypi.org/simple/serbus/ 2021-07-11T15:10:39,629 Fetching project page and analyzing links: https://pypi.org/simple/serbus/ 2021-07-11T15:10:39,629 Getting page https://pypi.org/simple/serbus/ 2021-07-11T15:10:39,631 Found index url https://pypi.org/simple 2021-07-11T15:10:39,809 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 2021-07-11T15:10:39,810 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 2021-07-11T15:10:39,810 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 2021-07-11T15:10:39,810 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 2021-07-11T15:10:39,811 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 2021-07-11T15:10:39,811 Skipping link: not a file: https://pypi.org/simple/serbus/ 2021-07-11T15:10:39,829 Given no hashes to check 1 links for project 'serbus': discarding no candidates 2021-07-11T15:10:39,848 Collecting serbus==1.0.5 2021-07-11T15:10:39,849 Created temporary directory: /tmp/pip-unpack-l6wrj79x 2021-07-11T15:10:40,024 Downloading serbus-1.0.5.tar.gz (13 kB) 2021-07-11T15:10:40,086 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-fgaa9klp' 2021-07-11T15:10:40,087 Running setup.py (path:/tmp/pip-wheel-uvstajnq/serbus_52261e45f2f240b29b3eb5aa2c3f7cef/setup.py) egg_info for package serbus 2021-07-11T15:10:40,087 Created temporary directory: /tmp/pip-pip-egg-info-tc1ira78 2021-07-11T15:10:40,088 Running command python setup.py egg_info 2021-07-11T15:10:40,912 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead 2021-07-11T15:10:40,913 warnings.warn( 2021-07-11T15:10:41,028 running egg_info 2021-07-11T15:10:41,031 creating /tmp/pip-pip-egg-info-tc1ira78/serbus.egg-info 2021-07-11T15:10:41,032 writing /tmp/pip-pip-egg-info-tc1ira78/serbus.egg-info/PKG-INFO 2021-07-11T15:10:41,034 writing dependency_links to /tmp/pip-pip-egg-info-tc1ira78/serbus.egg-info/dependency_links.txt 2021-07-11T15:10:41,036 writing top-level names to /tmp/pip-pip-egg-info-tc1ira78/serbus.egg-info/top_level.txt 2021-07-11T15:10:41,038 writing manifest file '/tmp/pip-pip-egg-info-tc1ira78/serbus.egg-info/SOURCES.txt' 2021-07-11T15:10:41,362 reading manifest file '/tmp/pip-pip-egg-info-tc1ira78/serbus.egg-info/SOURCES.txt' 2021-07-11T15:10:41,364 reading manifest template 'MANIFEST.in' 2021-07-11T15:10:41,369 warning: no files found matching '*.h' under directory 'serbus' 2021-07-11T15:10:41,373 adding license file 'LICENSE.txt' 2021-07-11T15:10:41,375 writing manifest file '/tmp/pip-pip-egg-info-tc1ira78/serbus.egg-info/SOURCES.txt' 2021-07-11T15:10:41,449 Source in /tmp/pip-wheel-uvstajnq/serbus_52261e45f2f240b29b3eb5aa2c3f7cef 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 2021-07-11T15:10:41,450 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-fgaa9klp' 2021-07-11T15:10:41,454 Created temporary directory: /tmp/pip-unpack-0rgrpmbu 2021-07-11T15:10:41,455 Building wheels for collected packages: serbus 2021-07-11T15:10:41,459 Created temporary directory: /tmp/pip-wheel-_7kdgt_5 2021-07-11T15:10:41,460 Building wheel for serbus (setup.py): started 2021-07-11T15:10:41,460 Destination directory: /tmp/pip-wheel-_7kdgt_5 2021-07-11T15:10:41,460 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-uvstajnq/serbus_52261e45f2f240b29b3eb5aa2c3f7cef/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-uvstajnq/serbus_52261e45f2f240b29b3eb5aa2c3f7cef/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-_7kdgt_5 2021-07-11T15:10:42,290 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead 2021-07-11T15:10:42,291 warnings.warn( 2021-07-11T15:10:42,429 running bdist_wheel 2021-07-11T15:10:42,586 running build 2021-07-11T15:10:42,586 running build_py 2021-07-11T15:10:42,724 creating build 2021-07-11T15:10:42,724 creating build/lib.linux-armv7l-3.9 2021-07-11T15:10:42,725 creating build/lib.linux-armv7l-3.9/serbus 2021-07-11T15:10:42,725 copying serbus/__init__.py -> build/lib.linux-armv7l-3.9/serbus 2021-07-11T15:10:42,728 running build_ext 2021-07-11T15:10:42,733 building 'serbus.spidev' extension 2021-07-11T15:10:42,733 creating build/temp.linux-armv7l-3.9 2021-07-11T15:10:42,734 creating build/temp.linux-armv7l-3.9/serbus 2021-07-11T15:10:42,734 creating build/temp.linux-armv7l-3.9/src 2021-07-11T15:10:42,735 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iinclude -I/usr/include/python3.9 -c serbus/pyspidev.c -o build/temp.linux-armv7l-3.9/serbus/pyspidev.o 2021-07-11T15:10:43,203 serbus/pyspidev.c: In function ‘SPIDev_dealloc’: 2021-07-11T15:10:43,204 serbus/pyspidev.c:56:7: error: ‘SPIDev’ has no member named ‘ob_type’ 2021-07-11T15:10:43,205 56 | self->ob_type->tp_free((PyObject*)self); 2021-07-11T15:10:43,205 | ^~ 2021-07-11T15:10:43,220 serbus/pyspidev.c: In function ‘SPIDev_read’: 2021-07-11T15:10:43,220 serbus/pyspidev.c:196:16: warning: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration] 2021-07-11T15:10:43,221 196 | word_obj = PyInt_FromLong(word); 2021-07-11T15:10:43,221 | ^~~~~~~~~~~~~~ 2021-07-11T15:10:43,221 | PyLong_FromLong 2021-07-11T15:10:43,222 serbus/pyspidev.c:196:14: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-11T15:10:43,222 196 | word_obj = PyInt_FromLong(word); 2021-07-11T15:10:43,222 | ^ 2021-07-11T15:10:43,228 serbus/pyspidev.c: In function ‘SPIDev_write’: 2021-07-11T15:10:43,228 serbus/pyspidev.c:237:10: warning: implicit declaration of function ‘PyInt_Check’; did you mean ‘PySet_Check’? [-Wimplicit-function-declaration] 2021-07-11T15:10:43,228 237 | if (!PyInt_Check(word_obj)) { 2021-07-11T15:10:43,228 | ^~~~~~~~~~~ 2021-07-11T15:10:43,228 | PySet_Check 2021-07-11T15:10:43,233 serbus/pyspidev.c:243:12: warning: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration] 2021-07-11T15:10:43,234 243 | word = PyInt_AsLong(word_obj); 2021-07-11T15:10:43,234 | ^~~~~~~~~~~~ 2021-07-11T15:10:43,234 | PyLong_AsLong 2021-07-11T15:10:43,235 serbus/pyspidev.c: In function ‘SPIDev_transaction’: 2021-07-11T15:10:43,235 serbus/pyspidev.c:355:14: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-11T15:10:43,235 355 | word_obj = PyInt_FromLong(word); 2021-07-11T15:10:43,236 | ^ 2021-07-11T15:10:43,237 serbus/pyspidev.c: In function ‘SPIDev_transfer’: 2021-07-11T15:10:43,237 serbus/pyspidev.c:447:14: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-11T15:10:43,237 447 | word_obj = PyInt_FromLong(word); 2021-07-11T15:10:43,237 | ^ 2021-07-11T15:10:43,244 serbus/pyspidev.c: At top level: 2021-07-11T15:10:43,244 serbus/pyspidev.c:914:35: warning: missing braces around initializer [-Wmissing-braces] 2021-07-11T15:10:43,244 914 | static PyTypeObject SPIDev_type = { 2021-07-11T15:10:43,245 | ^ 2021-07-11T15:10:43,245 serbus/pyspidev.c:917:3: warning: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion] 2021-07-11T15:10:43,245 917 | "spidev.SPIDev", /*tp_name*/ 2021-07-11T15:10:43,245 | ^~~~~~~~~~~~~~~ 2021-07-11T15:10:43,245 serbus/pyspidev.c:917:3: note: (near initialization for ‘SPIDev_type.tp_basicsize’) 2021-07-11T15:10:43,245 serbus/pyspidev.c:920:3: warning: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Wint-conversion] 2021-07-11T15:10:43,246 920 | (destructor)SPIDev_dealloc, /*tp_dealloc*/ 2021-07-11T15:10:43,246 | ^ 2021-07-11T15:10:43,246 serbus/pyspidev.c:920:3: note: (near initialization for ‘SPIDev_type.tp_vectorcall_offset’) 2021-07-11T15:10:43,246 In file included from /usr/include/python3.9/pytime.h:6, 2021-07-11T15:10:43,247 from /usr/include/python3.9/Python.h:85, 2021-07-11T15:10:43,247 from serbus/pyspidev.c:24: 2021-07-11T15:10:43,247 /usr/include/python3.9/object.h:350:29: warning: initialization of ‘const char *’ from ‘long unsigned int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-11T15:10:43,247 350 | #define Py_TPFLAGS_DEFAULT ( \ 2021-07-11T15:10:43,247 | ^ 2021-07-11T15:10:43,247 serbus/pyspidev.c:935:3: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 2021-07-11T15:10:43,247 935 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/ 2021-07-11T15:10:43,247 | ^~~~~~~~~~~~~~~~~~ 2021-07-11T15:10:43,248 /usr/include/python3.9/object.h:350:29: note: (near initialization for ‘SPIDev_type.tp_doc’) 2021-07-11T15:10:43,248 350 | #define Py_TPFLAGS_DEFAULT ( \ 2021-07-11T15:10:43,248 | ^ 2021-07-11T15:10:43,248 serbus/pyspidev.c:935:3: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 2021-07-11T15:10:43,248 935 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/ 2021-07-11T15:10:43,248 | ^~~~~~~~~~~~~~~~~~ 2021-07-11T15:10:43,248 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 ‘const char *’ [-Wincompatible-pointer-types] 2021-07-11T15:10:43,248 936 | SPIDev_init__doc__, /* tp_doc */ 2021-07-11T15:10:43,248 | ^~~~~~~~~~~~~~~~~~ 2021-07-11T15:10:43,249 serbus/pyspidev.c:936:3: note: (near initialization for ‘SPIDev_type.tp_traverse’) 2021-07-11T15:10:43,249 serbus/pyspidev.c:943:3: warning: initialization of ‘struct PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Wincompatible-pointer-types] 2021-07-11T15:10:43,249 943 | SPIDev_methods, /* tp_methods */ 2021-07-11T15:10:43,249 | ^~~~~~~~~~~~~~ 2021-07-11T15:10:43,249 serbus/pyspidev.c:943:3: note: (near initialization for ‘SPIDev_type.tp_members’) 2021-07-11T15:10:43,249 serbus/pyspidev.c:945:3: warning: initialization of ‘struct _typeobject *’ from incompatible pointer type ‘PyGetSetDef *’ [-Wincompatible-pointer-types] 2021-07-11T15:10:43,249 945 | SPIDev_getseters, /* tp_getset */ 2021-07-11T15:10:43,249 | ^~~~~~~~~~~~~~~~ 2021-07-11T15:10:43,249 serbus/pyspidev.c:945:3: note: (near initialization for ‘SPIDev_type.tp_base’) 2021-07-11T15:10:43,250 serbus/pyspidev.c:951:3: warning: initialization of ‘PyObject * (*)(PyTypeObject *, 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] 2021-07-11T15:10:43,250 951 | (initproc)SPIDev_init, /* tp_init */ 2021-07-11T15:10:43,250 | ^ 2021-07-11T15:10:43,250 serbus/pyspidev.c:951:3: note: (near initialization for ‘SPIDev_type.tp_alloc’) 2021-07-11T15:10:43,250 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] 2021-07-11T15:10:43,250 953 | SPIDev_new, /* tp_new */ 2021-07-11T15:10:43,250 | ^~~~~~~~~~ 2021-07-11T15:10:43,250 serbus/pyspidev.c:953:3: note: (near initialization for ‘SPIDev_type.tp_free’) 2021-07-11T15:10:43,251 serbus/pyspidev.c:914:35: warning: missing braces around initializer [-Wmissing-braces] 2021-07-11T15:10:43,251 914 | static PyTypeObject SPIDev_type = { 2021-07-11T15:10:43,251 | ^ 2021-07-11T15:10:43,251 serbus/pyspidev.c: In function ‘initspidev’: 2021-07-11T15:10:43,251 serbus/pyspidev.c:964:39: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-11T15:10:43,251 964 | if (PyType_Ready(&SPIDev_type) < 0) return; 2021-07-11T15:10:43,251 | ^~~~~~ 2021-07-11T15:10:43,251 serbus/pyspidev.c:960:16: note: declared here 2021-07-11T15:10:43,251 960 | PyMODINIT_FUNC initspidev(void) { 2021-07-11T15:10:43,252 | ^~~~~~~~~~ 2021-07-11T15:10:43,259 serbus/pyspidev.c:966:7: warning: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration] 2021-07-11T15:10:43,259 966 | m = Py_InitModule3("spidev", SPIDev_methods, SPIDev_module__doc__); 2021-07-11T15:10:43,259 | ^~~~~~~~~~~~~~ 2021-07-11T15:10:43,260 serbus/pyspidev.c:966:5: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-11T15:10:43,260 966 | m = Py_InitModule3("spidev", SPIDev_methods, SPIDev_module__doc__); 2021-07-11T15:10:43,260 | ^ 2021-07-11T15:10:43,278 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-11T15:10:43,358 Building wheel for serbus (setup.py): finished with status 'error' 2021-07-11T15:10:43,359 ERROR: Failed building wheel for serbus 2021-07-11T15:10:43,359 Running setup.py clean for serbus 2021-07-11T15:10:43,360 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-uvstajnq/serbus_52261e45f2f240b29b3eb5aa2c3f7cef/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-uvstajnq/serbus_52261e45f2f240b29b3eb5aa2c3f7cef/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2021-07-11T15:10:44,167 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead 2021-07-11T15:10:44,167 warnings.warn( 2021-07-11T15:10:44,273 running clean 2021-07-11T15:10:44,276 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-11T15:10:44,278 removing 'build/lib.linux-armv7l-3.9' (and everything under it) 2021-07-11T15:10:44,280 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-11T15:10:44,281 'build/scripts-3.9' does not exist -- can't clean it 2021-07-11T15:10:44,281 removing 'build' 2021-07-11T15:10:44,336 Failed to build serbus 2021-07-11T15:10:44,337 ERROR: Failed to build one or more wheels 2021-07-11T15:10:44,338 Exception information: 2021-07-11T15:10:44,338 Traceback (most recent call last): 2021-07-11T15:10:44,338 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-11T15:10:44,338 status = self.run(options, args) 2021-07-11T15:10:44,338 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-11T15:10:44,338 return func(self, options, args) 2021-07-11T15:10:44,338 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-11T15:10:44,338 raise CommandError( 2021-07-11T15:10:44,338 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-11T15:10:44,340 Removed build tracker: '/tmp/pip-req-tracker-fgaa9klp'