2021-07-09T06:59:42,943 Created temporary directory: /tmp/pip-ephem-wheel-cache-3leg54ex 2021-07-09T06:59:42,946 Created temporary directory: /tmp/pip-req-tracker-5iz6vkjy 2021-07-09T06:59:42,946 Initialized build tracking at /tmp/pip-req-tracker-5iz6vkjy 2021-07-09T06:59:42,946 Created build tracker: /tmp/pip-req-tracker-5iz6vkjy 2021-07-09T06:59:42,947 Entered build tracker: /tmp/pip-req-tracker-5iz6vkjy 2021-07-09T06:59:42,947 Created temporary directory: /tmp/pip-wheel-qlc5qph6 2021-07-09T06:59:42,981 1 location(s) to search for versions of spidev: 2021-07-09T06:59:42,981 * https://pypi.org/simple/spidev/ 2021-07-09T06:59:42,981 Fetching project page and analyzing links: https://pypi.org/simple/spidev/ 2021-07-09T06:59:42,982 Getting page https://pypi.org/simple/spidev/ 2021-07-09T06:59:42,983 Found index url https://pypi.org/simple 2021-07-09T06:59:43,167 Found link https://files.pythonhosted.org/packages/bf/59/ec1104f4b9d6b64873b8470121e89abf6a731ab9209151eb75e2bad810f6/spidev-2.0.tar.gz#sha256=0b27bfa3c05c29dea3a14ed23761388c280a33381dda922d8184882b8216bd3c (from https://pypi.org/simple/spidev/), version: 2.0 2021-07-09T06:59:43,168 Found link https://files.pythonhosted.org/packages/94/c7/d7434902a367cacb975c0905b05bc3592737eadf36dce8b2320ac885bf4e/spidev-3.0.tar.gz#sha256=af3ec8bf50f2577f62407b1ff1c0be3d5dadcdc3ce0ba2f8eea15e647ff2b51e (from https://pypi.org/simple/spidev/), version: 3.0 2021-07-09T06:59:43,168 Found link https://files.pythonhosted.org/packages/9c/4f/fd0f50ca92645980ad857fccbb13b1f2e877bc1defedf6404b63f9bea4b4/spidev-3.1.tar.gz#sha256=355391e9ad3024950590626b080324394c12e75bb21923dbd56a978a1eac6ac7 (from https://pypi.org/simple/spidev/), version: 3.1 2021-07-09T06:59:43,168 Found link https://files.pythonhosted.org/packages/36/83/73748b6e1819b57d8e1df8090200195cdae33aaa22a49a91ded16785eedd/spidev-3.2.tar.gz#sha256=09d2b5122f0dd79910713a11f9a0020f71537224bf829916def4fffc0ea59456 (from https://pypi.org/simple/spidev/), version: 3.2 2021-07-09T06:59:43,169 Found link https://files.pythonhosted.org/packages/fb/14/4c2e1640f0cb04862c76d9d76ed7c945b0f67876e503ac02f7f675fe86a0/spidev-3.4.tar.gz#sha256=4314e52f573d95233c907f307558893313a8a606e197e77bb711526b0e179e80 (from https://pypi.org/simple/spidev/), version: 3.4 2021-07-09T06:59:43,169 Found link https://files.pythonhosted.org/packages/62/56/de649e7d95f9fcfaf965a6eb937b4a46bc77ef21487c99cde1a7a0546040/spidev-3.5.tar.gz#sha256=8a7f5c289f161ea2ac4697fa8a10918232c990678dd0053084b3c43b1363910d (from https://pypi.org/simple/spidev/), version: 3.5 2021-07-09T06:59:43,169 Skipping link: not a file: https://pypi.org/simple/spidev/ 2021-07-09T06:59:43,186 Given no hashes to check 1 links for project 'spidev': discarding no candidates 2021-07-09T06:59:43,204 Collecting spidev==2.0 2021-07-09T06:59:43,205 Created temporary directory: /tmp/pip-unpack-f25zzm5s 2021-07-09T06:59:43,374 Downloading spidev-2.0.tar.gz (5.0 kB) 2021-07-09T06:59:43,398 Added spidev==2.0 from https://files.pythonhosted.org/packages/bf/59/ec1104f4b9d6b64873b8470121e89abf6a731ab9209151eb75e2bad810f6/spidev-2.0.tar.gz#sha256=0b27bfa3c05c29dea3a14ed23761388c280a33381dda922d8184882b8216bd3c to build tracker '/tmp/pip-req-tracker-5iz6vkjy' 2021-07-09T06:59:43,399 Running setup.py (path:/tmp/pip-wheel-qlc5qph6/spidev_13150be5ec25441a982ac49f0a66ef03/setup.py) egg_info for package spidev 2021-07-09T06:59:43,400 Created temporary directory: /tmp/pip-pip-egg-info-mudwehaw 2021-07-09T06:59:43,400 Running command python setup.py egg_info 2021-07-09T06:59:44,185 running egg_info 2021-07-09T06:59:44,187 creating /tmp/pip-pip-egg-info-mudwehaw/spidev.egg-info 2021-07-09T06:59:44,188 writing /tmp/pip-pip-egg-info-mudwehaw/spidev.egg-info/PKG-INFO 2021-07-09T06:59:44,190 writing dependency_links to /tmp/pip-pip-egg-info-mudwehaw/spidev.egg-info/dependency_links.txt 2021-07-09T06:59:44,192 writing top-level names to /tmp/pip-pip-egg-info-mudwehaw/spidev.egg-info/top_level.txt 2021-07-09T06:59:44,194 writing manifest file '/tmp/pip-pip-egg-info-mudwehaw/spidev.egg-info/SOURCES.txt' 2021-07-09T06:59:44,376 reading manifest file '/tmp/pip-pip-egg-info-mudwehaw/spidev.egg-info/SOURCES.txt' 2021-07-09T06:59:44,379 writing manifest file '/tmp/pip-pip-egg-info-mudwehaw/spidev.egg-info/SOURCES.txt' 2021-07-09T06:59:44,449 Source in /tmp/pip-wheel-qlc5qph6/spidev_13150be5ec25441a982ac49f0a66ef03 has version 2.0, which satisfies requirement spidev==2.0 from https://files.pythonhosted.org/packages/bf/59/ec1104f4b9d6b64873b8470121e89abf6a731ab9209151eb75e2bad810f6/spidev-2.0.tar.gz#sha256=0b27bfa3c05c29dea3a14ed23761388c280a33381dda922d8184882b8216bd3c 2021-07-09T06:59:44,450 Removed spidev==2.0 from https://files.pythonhosted.org/packages/bf/59/ec1104f4b9d6b64873b8470121e89abf6a731ab9209151eb75e2bad810f6/spidev-2.0.tar.gz#sha256=0b27bfa3c05c29dea3a14ed23761388c280a33381dda922d8184882b8216bd3c from build tracker '/tmp/pip-req-tracker-5iz6vkjy' 2021-07-09T06:59:44,454 Created temporary directory: /tmp/pip-unpack-j0laz9zh 2021-07-09T06:59:44,455 Building wheels for collected packages: spidev 2021-07-09T06:59:44,459 Created temporary directory: /tmp/pip-wheel-z00z30_z 2021-07-09T06:59:44,459 Building wheel for spidev (setup.py): started 2021-07-09T06:59:44,460 Destination directory: /tmp/pip-wheel-z00z30_z 2021-07-09T06:59:44,460 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-qlc5qph6/spidev_13150be5ec25441a982ac49f0a66ef03/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-qlc5qph6/spidev_13150be5ec25441a982ac49f0a66ef03/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-z00z30_z 2021-07-09T06:59:45,230 running bdist_wheel 2021-07-09T06:59:45,387 running build 2021-07-09T06:59:45,387 running build_ext 2021-07-09T06:59:45,392 building 'spidev' extension 2021-07-09T06:59:45,392 creating build 2021-07-09T06:59:45,393 creating build/temp.linux-armv7l-3.9 2021-07-09T06:59:45,394 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 -I/usr/src/linux/include -I/usr/include/python3.9 -c spidev_module.c -o build/temp.linux-armv7l-3.9/spidev_module.o 2021-07-09T06:59:45,792 spidev_module.c: In function ‘SpiDev_dealloc’: 2021-07-09T06:59:45,792 spidev_module.c:93:6: error: ‘SpiDevObject’ has no member named ‘ob_type’ 2021-07-09T06:59:45,793 93 | self->ob_type->tp_free((PyObject *)self); 2021-07-09T06:59:45,793 | ^~ 2021-07-09T06:59:45,799 spidev_module.c: In function ‘SpiDev_writebytes’: 2021-07-09T06:59:45,799 spidev_module.c:126:8: warning: implicit declaration of function ‘PyInt_Check’; did you mean ‘PySet_Check’? [-Wimplicit-function-declaration] 2021-07-09T06:59:45,800 126 | if (!PyInt_Check(val)) { 2021-07-09T06:59:45,800 | ^~~~~~~~~~~ 2021-07-09T06:59:45,800 | PySet_Check 2021-07-09T06:59:45,809 spidev_module.c:130:19: warning: implicit declaration of function ‘PyInt_AS_LONG’; did you mean ‘PyLong_AS_LONG’? [-Wimplicit-function-declaration] 2021-07-09T06:59:45,809 130 | buf[ii] = (__u8)PyInt_AS_LONG(val); 2021-07-09T06:59:45,809 | ^~~~~~~~~~~~~ 2021-07-09T06:59:45,810 | PyLong_AS_LONG 2021-07-09T06:59:45,810 spidev_module.c: In function ‘SpiDev_readbytes’: 2021-07-09T06:59:45,811 spidev_module.c:166:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2021-07-09T06:59:45,811 166 | else if (len > sizeof(rxbuf)) 2021-07-09T06:59:45,811 | ^ 2021-07-09T06:59:45,824 spidev_module.c: In function ‘SpiDev_set_mode’: 2021-07-09T06:59:45,824 spidev_module.c:466:9: warning: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration] 2021-07-09T06:59:45,824 466 | mode = PyInt_AsLong(val); 2021-07-09T06:59:45,824 | ^~~~~~~~~~~~ 2021-07-09T06:59:45,824 | PyLong_AsLong 2021-07-09T06:59:45,830 spidev_module.c: At top level: 2021-07-09T06:59:45,830 spidev_module.c:776:40: warning: missing braces around initializer [-Wmissing-braces] 2021-07-09T06:59:45,830 776 | static PyTypeObject SpiDevObjectType = { 2021-07-09T06:59:45,830 | ^ 2021-07-09T06:59:45,831 spidev_module.c:779:2: warning: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion] 2021-07-09T06:59:45,831 779 | "SpiDev", /* tp_name */ 2021-07-09T06:59:45,831 | ^~~~~~~~ 2021-07-09T06:59:45,831 spidev_module.c:779:2: note: (near initialization for ‘SpiDevObjectType.tp_basicsize’) 2021-07-09T06:59:45,831 spidev_module.c:782:2: warning: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Wint-conversion] 2021-07-09T06:59:45,831 782 | (destructor)SpiDev_dealloc, /* tp_dealloc */ 2021-07-09T06:59:45,831 | ^ 2021-07-09T06:59:45,832 spidev_module.c:782:2: note: (near initialization for ‘SpiDevObjectType.tp_vectorcall_offset’) 2021-07-09T06:59:45,832 In file included from /usr/include/python3.9/pytime.h:6, 2021-07-09T06:59:45,832 from /usr/include/python3.9/Python.h:85, 2021-07-09T06:59:45,832 from spidev_module.c:20: 2021-07-09T06:59:45,832 /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-09T06:59:45,832 350 | #define Py_TPFLAGS_DEFAULT ( \ 2021-07-09T06:59:45,833 | ^ 2021-07-09T06:59:45,833 spidev_module.c:797:2: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 2021-07-09T06:59:45,833 797 | Py_TPFLAGS_DEFAULT, /* tp_flags */ 2021-07-09T06:59:45,833 | ^~~~~~~~~~~~~~~~~~ 2021-07-09T06:59:45,833 /usr/include/python3.9/object.h:350:29: note: (near initialization for ‘SpiDevObjectType.tp_doc’) 2021-07-09T06:59:45,833 350 | #define Py_TPFLAGS_DEFAULT ( \ 2021-07-09T06:59:45,833 | ^ 2021-07-09T06:59:45,833 spidev_module.c:797:2: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 2021-07-09T06:59:45,833 797 | Py_TPFLAGS_DEFAULT, /* tp_flags */ 2021-07-09T06:59:45,834 | ^~~~~~~~~~~~~~~~~~ 2021-07-09T06:59:45,834 spidev_module.c:798:2: 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-09T06:59:45,834 798 | SpiDevObjectType_doc, /* tp_doc */ 2021-07-09T06:59:45,834 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-09T06:59:45,834 spidev_module.c:798:2: note: (near initialization for ‘SpiDevObjectType.tp_traverse’) 2021-07-09T06:59:45,834 spidev_module.c:805:2: warning: initialization of ‘struct PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Wincompatible-pointer-types] 2021-07-09T06:59:45,834 805 | SpiDev_methods, /* tp_methods */ 2021-07-09T06:59:45,834 | ^~~~~~~~~~~~~~ 2021-07-09T06:59:45,834 spidev_module.c:805:2: note: (near initialization for ‘SpiDevObjectType.tp_members’) 2021-07-09T06:59:45,835 spidev_module.c:807:2: warning: initialization of ‘struct _typeobject *’ from incompatible pointer type ‘PyGetSetDef *’ [-Wincompatible-pointer-types] 2021-07-09T06:59:45,835 807 | SpiDev_getset, /* tp_getset */ 2021-07-09T06:59:45,835 | ^~~~~~~~~~~~~ 2021-07-09T06:59:45,835 spidev_module.c:807:2: note: (near initialization for ‘SpiDevObjectType.tp_base’) 2021-07-09T06:59:45,835 spidev_module.c:813:2: 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-09T06:59:45,835 813 | (initproc)SpiDev_init, /* tp_init */ 2021-07-09T06:59:45,835 | ^ 2021-07-09T06:59:45,835 spidev_module.c:813:2: note: (near initialization for ‘SpiDevObjectType.tp_alloc’) 2021-07-09T06:59:45,836 spidev_module.c:815:2: 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-09T06:59:45,836 815 | SpiDev_new, /* tp_new */ 2021-07-09T06:59:45,836 | ^~~~~~~~~~ 2021-07-09T06:59:45,836 spidev_module.c:815:2: note: (near initialization for ‘SpiDevObjectType.tp_free’) 2021-07-09T06:59:45,836 spidev_module.c:776:40: warning: missing braces around initializer [-Wmissing-braces] 2021-07-09T06:59:45,836 776 | static PyTypeObject SpiDevObjectType = { 2021-07-09T06:59:45,836 | ^ 2021-07-09T06:59:45,836 spidev_module.c: In function ‘initspidev’: 2021-07-09T06:59:45,836 spidev_module.c:831:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-09T06:59:45,837 831 | return; 2021-07-09T06:59:45,837 | ^~~~~~ 2021-07-09T06:59:45,837 spidev_module.c:826:1: note: declared here 2021-07-09T06:59:45,837 826 | initspidev(void) 2021-07-09T06:59:45,837 | ^~~~~~~~~~ 2021-07-09T06:59:45,844 spidev_module.c:833:6: warning: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration] 2021-07-09T06:59:45,844 833 | m = Py_InitModule3("spidev", SpiDev_module_methods, SpiDev_module_doc); 2021-07-09T06:59:45,844 | ^~~~~~~~~~~~~~ 2021-07-09T06:59:45,845 spidev_module.c:833:4: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-09T06:59:45,845 833 | m = Py_InitModule3("spidev", SpiDev_module_methods, SpiDev_module_doc); 2021-07-09T06:59:45,845 | ^ 2021-07-09T06:59:45,861 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-09T06:59:45,937 Building wheel for spidev (setup.py): finished with status 'error' 2021-07-09T06:59:45,938 ERROR: Failed building wheel for spidev 2021-07-09T06:59:45,938 Running setup.py clean for spidev 2021-07-09T06:59:45,939 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-qlc5qph6/spidev_13150be5ec25441a982ac49f0a66ef03/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-qlc5qph6/spidev_13150be5ec25441a982ac49f0a66ef03/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-09T06:59:46,682 running clean 2021-07-09T06:59:46,684 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-09T06:59:46,685 'build/lib.linux-armv7l-3.9' does not exist -- can't clean it 2021-07-09T06:59:46,685 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-09T06:59:46,686 'build/scripts-3.9' does not exist -- can't clean it 2021-07-09T06:59:46,686 removing 'build' 2021-07-09T06:59:46,741 Failed to build spidev 2021-07-09T06:59:46,742 ERROR: Failed to build one or more wheels 2021-07-09T06:59:46,743 Exception information: 2021-07-09T06:59:46,743 Traceback (most recent call last): 2021-07-09T06:59:46,743 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-09T06:59:46,743 status = self.run(options, args) 2021-07-09T06:59:46,743 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-09T06:59:46,743 return func(self, options, args) 2021-07-09T06:59:46,743 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-09T06:59:46,743 raise CommandError( 2021-07-09T06:59:46,743 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-09T06:59:46,746 Removed build tracker: '/tmp/pip-req-tracker-5iz6vkjy'