2025-09-08T04:53:16,755 Created temporary directory: /tmp/pip-build-tracker-14xpdbnz 2025-09-08T04:53:16,756 Initialized build tracking at /tmp/pip-build-tracker-14xpdbnz 2025-09-08T04:53:16,756 Created build tracker: /tmp/pip-build-tracker-14xpdbnz 2025-09-08T04:53:16,756 Entered build tracker: /tmp/pip-build-tracker-14xpdbnz 2025-09-08T04:53:16,757 Created temporary directory: /tmp/pip-wheel-hke51xnq 2025-09-08T04:53:16,760 Created temporary directory: /tmp/pip-ephem-wheel-cache-vxwsd8ia 2025-09-08T04:53:16,816 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-08T04:53:16,819 2 location(s) to search for versions of serbus: 2025-09-08T04:53:16,819 * https://pypi.org/simple/serbus/ 2025-09-08T04:53:16,819 * https://www.piwheels.org/simple/serbus/ 2025-09-08T04:53:16,819 Fetching project page and analyzing links: https://pypi.org/simple/serbus/ 2025-09-08T04:53:16,819 Getting page https://pypi.org/simple/serbus/ 2025-09-08T04:53:16,821 Found index url https://pypi.org/simple/ 2025-09-08T04:53:16,890 Fetched page https://pypi.org/simple/serbus/ as application/vnd.pypi.simple.v1+json 2025-09-08T04:53:16,891 Found link https://files.pythonhosted.org/packages/84/fb/ebb29362be207de1b947f0a12073281856e41f042dfb3a38641a9fed7ef7/serbus-1.0.1.tar.gz (from https://pypi.org/simple/serbus/), version: 1.0.1 2025-09-08T04:53:16,891 Found link https://files.pythonhosted.org/packages/e9/4a/e7fa4d96825f3b4d0ce2b4270a87bee96bf12b5838579fa3d34c3cec8b87/serbus-1.0.2.tar.gz (from https://pypi.org/simple/serbus/), version: 1.0.2 2025-09-08T04:53:16,891 Found link https://files.pythonhosted.org/packages/d5/80/023c87783f163707d3488cebda9975048fc6dd00740307cf727951817edd/serbus-1.0.3.tar.gz (from https://pypi.org/simple/serbus/), version: 1.0.3 2025-09-08T04:53:16,892 Found link https://files.pythonhosted.org/packages/f5/5e/2499161978316f60bfe4323bebb566c7fe68d05c70440eb2b957d9f9fb1c/serbus-1.0.4.tar.gz (from https://pypi.org/simple/serbus/), version: 1.0.4 2025-09-08T04:53:16,892 Found link https://files.pythonhosted.org/packages/5e/81/3b32ec5631066177c73d7ea5888ff116e31e59f0e77077437a87cc597562/serbus-1.0.5.tar.gz (from https://pypi.org/simple/serbus/), version: 1.0.5 2025-09-08T04:53:16,892 Fetching project page and analyzing links: https://www.piwheels.org/simple/serbus/ 2025-09-08T04:53:16,892 Getting page https://www.piwheels.org/simple/serbus/ 2025-09-08T04:53:16,893 Found index url https://www.piwheels.org/simple/ 2025-09-08T04:53:16,976 Fetched page https://www.piwheels.org/simple/serbus/ as text/html 2025-09-08T04:53:16,977 Skipping link: not a file: https://www.piwheels.org/simple/serbus/ 2025-09-08T04:53:16,977 Skipping link: not a file: https://pypi.org/simple/serbus/ 2025-09-08T04:53:17,004 Given no hashes to check 1 links for project 'serbus': discarding no candidates 2025-09-08T04:53:17,005 Collecting serbus==1.0.5 2025-09-08T04:53:17,006 Created temporary directory: /tmp/pip-unpack-l53g6p7u 2025-09-08T04:53:17,144 Downloading serbus-1.0.5.tar.gz (13 kB) 2025-09-08T04:53:17,177 Added serbus==1.0.5 from https://files.pythonhosted.org/packages/5e/81/3b32ec5631066177c73d7ea5888ff116e31e59f0e77077437a87cc597562/serbus-1.0.5.tar.gz to build tracker '/tmp/pip-build-tracker-14xpdbnz' 2025-09-08T04:53:17,178 Running setup.py (path:/tmp/pip-wheel-hke51xnq/serbus_9bb4d0148a604ec89591036df300678d/setup.py) egg_info for package serbus 2025-09-08T04:53:17,178 Created temporary directory: /tmp/pip-pip-egg-info-xnvc5wvm 2025-09-08T04:53:17,178 Preparing metadata (setup.py): started 2025-09-08T04:53:17,179 Running command python setup.py egg_info 2025-09-08T04:53:17,794 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. 2025-09-08T04:53:17,794 !! 2025-09-08T04:53:17,794 ******************************************************************************** 2025-09-08T04:53:17,794 Usage of dash-separated 'description-file' will not be supported in future 2025-09-08T04:53:17,794 versions. Please use the underscore name 'description_file' instead. 2025-09-08T04:53:17,795 By 2026-Mar-03, you need to update your project and remove deprecated calls 2025-09-08T04:53:17,795 or your builds will no longer be supported. 2025-09-08T04:53:17,795 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2025-09-08T04:53:17,795 ******************************************************************************** 2025-09-08T04:53:17,795 !! 2025-09-08T04:53:17,795 opt = self._enforce_underscore(opt, section) 2025-09-08T04:53:18,269 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. 2025-09-08T04:53:18,269 !! 2025-09-08T04:53:18,269 ******************************************************************************** 2025-09-08T04:53:18,269 Usage of dash-separated 'description-file' will not be supported in future 2025-09-08T04:53:18,269 versions. Please use the underscore name 'description_file' instead. 2025-09-08T04:53:18,269 (Affected: serbus). 2025-09-08T04:53:18,269 By 2026-Mar-03, you need to update your project and remove deprecated calls 2025-09-08T04:53:18,269 or your builds will no longer be supported. 2025-09-08T04:53:18,270 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2025-09-08T04:53:18,270 ******************************************************************************** 2025-09-08T04:53:18,270 !! 2025-09-08T04:53:18,270 opt = self._enforce_underscore(opt, section) 2025-09-08T04:53:18,270 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-09-08T04:53:18,270 !! 2025-09-08T04:53:18,270 ******************************************************************************** 2025-09-08T04:53:18,271 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-09-08T04:53:18,271 License :: OSI Approved :: MIT License 2025-09-08T04:53:18,271 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-09-08T04:53:18,271 ******************************************************************************** 2025-09-08T04:53:18,271 !! 2025-09-08T04:53:18,271 self._finalize_license_expression() 2025-09-08T04:53:18,345 running egg_info 2025-09-08T04:53:18,422 creating /tmp/pip-pip-egg-info-xnvc5wvm/serbus.egg-info 2025-09-08T04:53:18,422 writing /tmp/pip-pip-egg-info-xnvc5wvm/serbus.egg-info/PKG-INFO 2025-09-08T04:53:18,423 writing dependency_links to /tmp/pip-pip-egg-info-xnvc5wvm/serbus.egg-info/dependency_links.txt 2025-09-08T04:53:18,424 writing top-level names to /tmp/pip-pip-egg-info-xnvc5wvm/serbus.egg-info/top_level.txt 2025-09-08T04:53:18,424 writing manifest file '/tmp/pip-pip-egg-info-xnvc5wvm/serbus.egg-info/SOURCES.txt' 2025-09-08T04:53:18,725 reading manifest file '/tmp/pip-pip-egg-info-xnvc5wvm/serbus.egg-info/SOURCES.txt' 2025-09-08T04:53:18,726 reading manifest template 'MANIFEST.in' 2025-09-08T04:53:18,728 warning: no files found matching '*.h' under directory 'serbus' 2025-09-08T04:53:18,729 adding license file 'LICENSE.txt' 2025-09-08T04:53:18,731 writing manifest file '/tmp/pip-pip-egg-info-xnvc5wvm/serbus.egg-info/SOURCES.txt' 2025-09-08T04:53:18,848 Preparing metadata (setup.py): finished with status 'done' 2025-09-08T04:53:18,853 Source in /tmp/pip-wheel-hke51xnq/serbus_9bb4d0148a604ec89591036df300678d 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 2025-09-08T04:53:18,853 Removed serbus==1.0.5 from https://files.pythonhosted.org/packages/5e/81/3b32ec5631066177c73d7ea5888ff116e31e59f0e77077437a87cc597562/serbus-1.0.5.tar.gz from build tracker '/tmp/pip-build-tracker-14xpdbnz' 2025-09-08T04:53:18,856 Created temporary directory: /tmp/pip-unpack-g9bu10t2 2025-09-08T04:53:18,857 Created temporary directory: /tmp/pip-unpack-5gsddfs8 2025-09-08T04:53:18,857 Building wheels for collected packages: serbus 2025-09-08T04:53:18,858 Created temporary directory: /tmp/pip-wheel-fct2w76_ 2025-09-08T04:53:18,858 DEPRECATION: Building 'serbus' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'serbus'. Discussion can be found at https://github.com/pypa/pip/issues/6334 2025-09-08T04:53:18,859 Building wheel for serbus (setup.py): started 2025-09-08T04:53:18,860 Destination directory: /tmp/pip-wheel-fct2w76_ 2025-09-08T04:53:18,860 Running command python setup.py bdist_wheel 2025-09-08T04:53:19,469 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. 2025-09-08T04:53:19,469 !! 2025-09-08T04:53:19,469 ******************************************************************************** 2025-09-08T04:53:19,469 Usage of dash-separated 'description-file' will not be supported in future 2025-09-08T04:53:19,469 versions. Please use the underscore name 'description_file' instead. 2025-09-08T04:53:19,469 By 2026-Mar-03, you need to update your project and remove deprecated calls 2025-09-08T04:53:19,469 or your builds will no longer be supported. 2025-09-08T04:53:19,470 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2025-09-08T04:53:19,470 ******************************************************************************** 2025-09-08T04:53:19,470 !! 2025-09-08T04:53:19,470 opt = self._enforce_underscore(opt, section) 2025-09-08T04:53:19,925 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. 2025-09-08T04:53:19,925 !! 2025-09-08T04:53:19,925 ******************************************************************************** 2025-09-08T04:53:19,926 Usage of dash-separated 'description-file' will not be supported in future 2025-09-08T04:53:19,926 versions. Please use the underscore name 'description_file' instead. 2025-09-08T04:53:19,926 (Affected: serbus). 2025-09-08T04:53:19,926 By 2026-Mar-03, you need to update your project and remove deprecated calls 2025-09-08T04:53:19,926 or your builds will no longer be supported. 2025-09-08T04:53:19,926 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2025-09-08T04:53:19,926 ******************************************************************************** 2025-09-08T04:53:19,926 !! 2025-09-08T04:53:19,926 opt = self._enforce_underscore(opt, section) 2025-09-08T04:53:19,927 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-09-08T04:53:19,927 !! 2025-09-08T04:53:19,927 ******************************************************************************** 2025-09-08T04:53:19,927 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-09-08T04:53:19,927 License :: OSI Approved :: MIT License 2025-09-08T04:53:19,927 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-09-08T04:53:19,927 ******************************************************************************** 2025-09-08T04:53:19,928 !! 2025-09-08T04:53:19,928 self._finalize_license_expression() 2025-09-08T04:53:19,928 running bdist_wheel 2025-09-08T04:53:20,299 running build 2025-09-08T04:53:20,299 running build_py 2025-09-08T04:53:20,376 creating build/lib.linux-armv7l-cpython-313/serbus 2025-09-08T04:53:20,376 copying serbus/__init__.py -> build/lib.linux-armv7l-cpython-313/serbus 2025-09-08T04:53:20,378 running build_ext 2025-09-08T04:53:20,704 building 'serbus.spidev' extension 2025-09-08T04:53:20,705 creating build/temp.linux-armv7l-cpython-313/serbus 2025-09-08T04:53:20,706 creating build/temp.linux-armv7l-cpython-313/src 2025-09-08T04:53:20,706 arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -Iinclude -I/usr/include/python3.13 -c serbus/pyspidev.c -o build/temp.linux-armv7l-cpython-313/serbus/pyspidev.o 2025-09-08T04:53:21,059 serbus/pyspidev.c: In function ‘SPIDev_dealloc’: 2025-09-08T04:53:21,060 serbus/pyspidev.c:56:7: error: ‘SPIDev’ has no member named ‘ob_type’ 2025-09-08T04:53:21,060 56 | self->ob_type->tp_free((PyObject*)self); 2025-09-08T04:53:21,060 | ^~ 2025-09-08T04:53:21,073 serbus/pyspidev.c: In function ‘SPIDev_read’: 2025-09-08T04:53:21,074 serbus/pyspidev.c:196:16: error: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration] 2025-09-08T04:53:21,074 196 | word_obj = PyInt_FromLong(word); 2025-09-08T04:53:21,074 | ^~~~~~~~~~~~~~ 2025-09-08T04:53:21,074 | PyLong_FromLong 2025-09-08T04:53:21,074 serbus/pyspidev.c:196:14: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-08T04:53:21,074 196 | word_obj = PyInt_FromLong(word); 2025-09-08T04:53:21,074 | ^ 2025-09-08T04:53:21,082 serbus/pyspidev.c: In function ‘SPIDev_write’: 2025-09-08T04:53:21,082 serbus/pyspidev.c:237:10: error: implicit declaration of function ‘PyInt_Check’; did you mean ‘PySet_Check’? [-Wimplicit-function-declaration] 2025-09-08T04:53:21,082 237 | if (!PyInt_Check(word_obj)) { 2025-09-08T04:53:21,082 | ^~~~~~~~~~~ 2025-09-08T04:53:21,082 | PySet_Check 2025-09-08T04:53:21,091 serbus/pyspidev.c:243:12: error: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration] 2025-09-08T04:53:21,092 243 | word = PyInt_AsLong(word_obj); 2025-09-08T04:53:21,092 | ^~~~~~~~~~~~ 2025-09-08T04:53:21,092 | PyLong_AsLong 2025-09-08T04:53:21,093 serbus/pyspidev.c: In function ‘SPIDev_transaction’: 2025-09-08T04:53:21,094 serbus/pyspidev.c:355:14: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-08T04:53:21,094 355 | word_obj = PyInt_FromLong(word); 2025-09-08T04:53:21,094 | ^ 2025-09-08T04:53:21,095 serbus/pyspidev.c: In function ‘SPIDev_transfer’: 2025-09-08T04:53:21,096 serbus/pyspidev.c:447:14: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-08T04:53:21,096 447 | word_obj = PyInt_FromLong(word); 2025-09-08T04:53:21,096 | ^ 2025-09-08T04:53:21,104 serbus/pyspidev.c: At top level: 2025-09-08T04:53:21,105 serbus/pyspidev.c:914:35: warning: missing braces around initializer [-Wmissing-braces] 2025-09-08T04:53:21,105 914 | static PyTypeObject SPIDev_type = { 2025-09-08T04:53:21,105 | ^ 2025-09-08T04:53:21,106 In file included from /usr/include/python3.13/Python.h:72, 2025-09-08T04:53:21,106 from serbus/pyspidev.c:24: 2025-09-08T04:53:21,106 /usr/include/python3.13/object.h:138:9: error: initialization of ‘int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] 2025-09-08T04:53:21,107 138 | (type) \ 2025-09-08T04:53:21,107 | ^ 2025-09-08T04:53:21,107 serbus/pyspidev.c:915:3: note: in expansion of macro ‘PyObject_HEAD_INIT’ 2025-09-08T04:53:21,107 915 | PyObject_HEAD_INIT(NULL) 2025-09-08T04:53:21,107 | ^~~~~~~~~~~~~~~~~~ 2025-09-08T04:53:21,107 /usr/include/python3.13/object.h:138:9: note: (near initialization for ‘SPIDev_type.ob_base.ob_size’) 2025-09-08T04:53:21,107 138 | (type) \ 2025-09-08T04:53:21,107 | ^ 2025-09-08T04:53:21,107 serbus/pyspidev.c:915:3: note: in expansion of macro ‘PyObject_HEAD_INIT’ 2025-09-08T04:53:21,107 915 | PyObject_HEAD_INIT(NULL) 2025-09-08T04:53:21,107 | ^~~~~~~~~~~~~~~~~~ 2025-09-08T04:53:21,108 serbus/pyspidev.c:914:35: warning: missing braces around initializer [-Wmissing-braces] 2025-09-08T04:53:21,108 914 | static PyTypeObject SPIDev_type = { 2025-09-08T04:53:21,108 | ^ 2025-09-08T04:53:21,109 serbus/pyspidev.c:917:3: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion] 2025-09-08T04:53:21,109 917 | "spidev.SPIDev", /*tp_name*/ 2025-09-08T04:53:21,109 | ^~~~~~~~~~~~~~~ 2025-09-08T04:53:21,109 serbus/pyspidev.c:917:3: note: (near initialization for ‘SPIDev_type.tp_basicsize’) 2025-09-08T04:53:21,110 serbus/pyspidev.c:920:3: error: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Wint-conversion] 2025-09-08T04:53:21,110 920 | (destructor)SPIDev_dealloc, /*tp_dealloc*/ 2025-09-08T04:53:21,110 | ^ 2025-09-08T04:53:21,110 serbus/pyspidev.c:920:3: note: (near initialization for ‘SPIDev_type.tp_vectorcall_offset’) 2025-09-08T04:53:21,111 /usr/include/python3.13/object.h:729:29: error: initialization of ‘const char *’ from ‘long unsigned int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-08T04:53:21,111 729 | #define Py_TPFLAGS_DEFAULT ( \ 2025-09-08T04:53:21,111 | ^ 2025-09-08T04:53:21,111 serbus/pyspidev.c:935:3: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 2025-09-08T04:53:21,111 935 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/ 2025-09-08T04:53:21,111 | ^~~~~~~~~~~~~~~~~~ 2025-09-08T04:53:21,112 /usr/include/python3.13/object.h:729:29: note: (near initialization for ‘SPIDev_type.tp_doc’) 2025-09-08T04:53:21,112 729 | #define Py_TPFLAGS_DEFAULT ( \ 2025-09-08T04:53:21,112 | ^ 2025-09-08T04:53:21,112 serbus/pyspidev.c:935:3: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 2025-09-08T04:53:21,112 935 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/ 2025-09-08T04:53:21,112 | ^~~~~~~~~~~~~~~~~~ 2025-09-08T04:53:21,113 serbus/pyspidev.c:936:3: error: 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] 2025-09-08T04:53:21,113 936 | SPIDev_init__doc__, /* tp_doc */ 2025-09-08T04:53:21,113 | ^~~~~~~~~~~~~~~~~~ 2025-09-08T04:53:21,113 serbus/pyspidev.c:936:3: note: (near initialization for ‘SPIDev_type.tp_traverse’) 2025-09-08T04:53:21,114 serbus/pyspidev.c:943:3: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Wincompatible-pointer-types] 2025-09-08T04:53:21,114 943 | SPIDev_methods, /* tp_methods */ 2025-09-08T04:53:21,114 | ^~~~~~~~~~~~~~ 2025-09-08T04:53:21,114 serbus/pyspidev.c:943:3: note: (near initialization for ‘SPIDev_type.tp_members’) 2025-09-08T04:53:21,115 serbus/pyspidev.c:945:3: error: initialization of ‘PyTypeObject *’ {aka ‘struct _typeobject *’} from incompatible pointer type ‘PyGetSetDef *’ [-Wincompatible-pointer-types] 2025-09-08T04:53:21,115 945 | SPIDev_getseters, /* tp_getset */ 2025-09-08T04:53:21,115 | ^~~~~~~~~~~~~~~~ 2025-09-08T04:53:21,115 serbus/pyspidev.c:945:3: note: (near initialization for ‘SPIDev_type.tp_base’) 2025-09-08T04:53:21,116 serbus/pyspidev.c:951:3: error: 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] 2025-09-08T04:53:21,116 951 | (initproc)SPIDev_init, /* tp_init */ 2025-09-08T04:53:21,116 | ^ 2025-09-08T04:53:21,116 serbus/pyspidev.c:951:3: note: (near initialization for ‘SPIDev_type.tp_alloc’) 2025-09-08T04:53:21,117 serbus/pyspidev.c:953:3: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘PyObject * (*)(PyTypeObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _typeobject *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types] 2025-09-08T04:53:21,117 953 | SPIDev_new, /* tp_new */ 2025-09-08T04:53:21,117 | ^~~~~~~~~~ 2025-09-08T04:53:21,117 serbus/pyspidev.c:953:3: note: (near initialization for ‘SPIDev_type.tp_free’) 2025-09-08T04:53:21,118 serbus/pyspidev.c:914:35: warning: missing braces around initializer [-Wmissing-braces] 2025-09-08T04:53:21,118 914 | static PyTypeObject SPIDev_type = { 2025-09-08T04:53:21,118 | ^ 2025-09-08T04:53:21,118 serbus/pyspidev.c: In function ‘initspidev’: 2025-09-08T04:53:21,119 serbus/pyspidev.c:964:39: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 2025-09-08T04:53:21,119 964 | if (PyType_Ready(&SPIDev_type) < 0) return; 2025-09-08T04:53:21,120 | ^~~~~~ 2025-09-08T04:53:21,120 serbus/pyspidev.c:960:16: note: declared here 2025-09-08T04:53:21,121 960 | PyMODINIT_FUNC initspidev(void) { 2025-09-08T04:53:21,121 | ^~~~~~~~~~ 2025-09-08T04:53:21,134 serbus/pyspidev.c:966:7: error: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration] 2025-09-08T04:53:21,134 966 | m = Py_InitModule3("spidev", SPIDev_methods, SPIDev_module__doc__); 2025-09-08T04:53:21,134 | ^~~~~~~~~~~~~~ 2025-09-08T04:53:21,135 serbus/pyspidev.c:966:5: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-08T04:53:21,135 966 | m = Py_InitModule3("spidev", SPIDev_methods, SPIDev_module__doc__); 2025-09-08T04:53:21,135 | ^ 2025-09-08T04:53:21,152 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2025-09-08T04:53:21,302 ERROR: python setup.py bdist_wheel exited with 1 2025-09-08T04:53:21,315 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-09-08T04:53:21,315 exec(compile('"'"''"'"''"'"' 2025-09-08T04:53:21,315 # This is -- a caller that pip uses to run setup.py 2025-09-08T04:53:21,315 # 2025-09-08T04:53:21,315 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-08T04:53:21,315 # import from `distutils.core` to work with newer packaging standards. 2025-09-08T04:53:21,315 # - It provides a clear error message when setuptools is not installed. 2025-09-08T04:53:21,315 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-08T04:53:21,315 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-08T04:53:21,315 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-08T04:53:21,315 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-08T04:53:21,315 import os, sys, tokenize, traceback 2025-09-08T04:53:21,315 2025-09-08T04:53:21,315 try: 2025-09-08T04:53:21,315 import setuptools 2025-09-08T04:53:21,315 except ImportError: 2025-09-08T04:53:21,315 print( 2025-09-08T04:53:21,315 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-08T04:53:21,315 "the build environment with exception:", 2025-09-08T04:53:21,315 file=sys.stderr, 2025-09-08T04:53:21,315 ) 2025-09-08T04:53:21,315 traceback.print_exc() 2025-09-08T04:53:21,315 sys.exit(1) 2025-09-08T04:53:21,315 2025-09-08T04:53:21,315 __file__ = %r 2025-09-08T04:53:21,315 sys.argv[0] = __file__ 2025-09-08T04:53:21,315 2025-09-08T04:53:21,315 if os.path.exists(__file__): 2025-09-08T04:53:21,315 filename = __file__ 2025-09-08T04:53:21,315 with tokenize.open(__file__) as f: 2025-09-08T04:53:21,315 setup_py_code = f.read() 2025-09-08T04:53:21,315 else: 2025-09-08T04:53:21,315 filename = "" 2025-09-08T04:53:21,315 setup_py_code = "from setuptools import setup; setup()" 2025-09-08T04:53:21,315 2025-09-08T04:53:21,315 exec(compile(setup_py_code, filename, "exec")) 2025-09-08T04:53:21,315 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-hke51xnq/serbus_9bb4d0148a604ec89591036df300678d/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-fct2w76_[/] 2025-09-08T04:53:21,316 [bold magenta]cwd[/]: /tmp/pip-wheel-hke51xnq/serbus_9bb4d0148a604ec89591036df300678d/ 2025-09-08T04:53:21,316 Building wheel for serbus (setup.py): finished with status 'error' 2025-09-08T04:53:21,317 ERROR: Failed building wheel for serbus 2025-09-08T04:53:21,318 Running setup.py clean for serbus 2025-09-08T04:53:21,318 Running command python setup.py clean 2025-09-08T04:53:21,932 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. 2025-09-08T04:53:21,932 !! 2025-09-08T04:53:21,932 ******************************************************************************** 2025-09-08T04:53:21,933 Usage of dash-separated 'description-file' will not be supported in future 2025-09-08T04:53:21,933 versions. Please use the underscore name 'description_file' instead. 2025-09-08T04:53:21,933 By 2026-Mar-03, you need to update your project and remove deprecated calls 2025-09-08T04:53:21,933 or your builds will no longer be supported. 2025-09-08T04:53:21,933 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2025-09-08T04:53:21,933 ******************************************************************************** 2025-09-08T04:53:21,933 !! 2025-09-08T04:53:21,933 opt = self._enforce_underscore(opt, section) 2025-09-08T04:53:22,392 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. 2025-09-08T04:53:22,393 !! 2025-09-08T04:53:22,393 ******************************************************************************** 2025-09-08T04:53:22,393 Usage of dash-separated 'description-file' will not be supported in future 2025-09-08T04:53:22,393 versions. Please use the underscore name 'description_file' instead. 2025-09-08T04:53:22,393 (Affected: serbus). 2025-09-08T04:53:22,393 By 2026-Mar-03, you need to update your project and remove deprecated calls 2025-09-08T04:53:22,393 or your builds will no longer be supported. 2025-09-08T04:53:22,394 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2025-09-08T04:53:22,394 ******************************************************************************** 2025-09-08T04:53:22,394 !! 2025-09-08T04:53:22,394 opt = self._enforce_underscore(opt, section) 2025-09-08T04:53:22,394 /usr/local/lib/python3.13/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. 2025-09-08T04:53:22,394 !! 2025-09-08T04:53:22,394 ******************************************************************************** 2025-09-08T04:53:22,394 Please consider removing the following classifiers in favor of a SPDX license expression: 2025-09-08T04:53:22,395 License :: OSI Approved :: MIT License 2025-09-08T04:53:22,395 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. 2025-09-08T04:53:22,395 ******************************************************************************** 2025-09-08T04:53:22,395 !! 2025-09-08T04:53:22,395 self._finalize_license_expression() 2025-09-08T04:53:22,471 running clean 2025-09-08T04:53:22,617 removing 'build/temp.linux-armv7l-cpython-313' (and everything under it) 2025-09-08T04:53:22,618 removing 'build/lib.linux-armv7l-cpython-313' (and everything under it) 2025-09-08T04:53:22,618 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-09-08T04:53:22,618 'build/scripts-3.13' does not exist -- can't clean it 2025-09-08T04:53:22,618 removing 'build' 2025-09-08T04:53:22,731 Failed to build serbus 2025-09-08T04:53:22,732 ERROR: Failed to build one or more wheels 2025-09-08T04:53:22,733 Exception information: 2025-09-08T04:53:22,733 Traceback (most recent call last): 2025-09-08T04:53:22,733 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-08T04:53:22,733 status = _inner_run() 2025-09-08T04:53:22,733 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-08T04:53:22,733 return self.run(options, args) 2025-09-08T04:53:22,733 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-08T04:53:22,733 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-08T04:53:22,733 return func(self, options, args) 2025-09-08T04:53:22,733 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-09-08T04:53:22,733 raise CommandError("Failed to build one or more wheels") 2025-09-08T04:53:22,733 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-09-08T04:53:22,737 Removed build tracker: '/tmp/pip-build-tracker-14xpdbnz'