2025-09-07T22:37:38,751 Created temporary directory: /tmp/pip-build-tracker-3bn1jlcy 2025-09-07T22:37:38,752 Initialized build tracking at /tmp/pip-build-tracker-3bn1jlcy 2025-09-07T22:37:38,752 Created build tracker: /tmp/pip-build-tracker-3bn1jlcy 2025-09-07T22:37:38,752 Entered build tracker: /tmp/pip-build-tracker-3bn1jlcy 2025-09-07T22:37:38,752 Created temporary directory: /tmp/pip-wheel-i2e27ytz 2025-09-07T22:37:38,755 Created temporary directory: /tmp/pip-ephem-wheel-cache-y3v9ekkw 2025-09-07T22:37:38,813 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-07T22:37:38,815 2 location(s) to search for versions of pthread-event: 2025-09-07T22:37:38,815 * https://pypi.org/simple/pthread-event/ 2025-09-07T22:37:38,815 * https://www.piwheels.org/simple/pthread-event/ 2025-09-07T22:37:38,816 Fetching project page and analyzing links: https://pypi.org/simple/pthread-event/ 2025-09-07T22:37:38,816 Getting page https://pypi.org/simple/pthread-event/ 2025-09-07T22:37:38,817 Found index url https://pypi.org/simple/ 2025-09-07T22:37:38,964 Fetched page https://pypi.org/simple/pthread-event/ as application/vnd.pypi.simple.v1+json 2025-09-07T22:37:38,966 Found link https://files.pythonhosted.org/packages/36/b4/652dd2f8cc09d779087bceb77a179537f73caf975aef7de5414b3703727d/pthread_event-0.1.tar.gz (from https://pypi.org/simple/pthread-event/), version: 0.1 2025-09-07T22:37:38,966 Found link https://files.pythonhosted.org/packages/1d/f7/7fbc5684afeb10984b1c4d2d2f60610ba6ac51457c620cd96ea8fff9147b/pthread_event-0.2.tar.gz (from https://pypi.org/simple/pthread-event/), version: 0.2 2025-09-07T22:37:38,967 Fetching project page and analyzing links: https://www.piwheels.org/simple/pthread-event/ 2025-09-07T22:37:38,968 Getting page https://www.piwheels.org/simple/pthread-event/ 2025-09-07T22:37:38,969 Found index url https://www.piwheels.org/simple/ 2025-09-07T22:37:39,061 Fetched page https://www.piwheels.org/simple/pthread-event/ as text/html 2025-09-07T22:37:39,066 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.2-cp34-cp34m-linux_armv7l.whl#sha256=c2140f195f68e937d916e8363e46ac328090d5651d4652dfccd6e0ccd1ec3914 (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,066 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.2-cp34-cp34m-linux_armv6l.whl#sha256=c2140f195f68e937d916e8363e46ac328090d5651d4652dfccd6e0ccd1ec3914 (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,066 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.2-cp35-cp35m-linux_armv7l.whl#sha256=9d8a7f634b02299adfdef77f177202f54c41cd37653cb2217a48e7438a74fa6c (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,066 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.2-cp35-cp35m-linux_armv6l.whl#sha256=9d8a7f634b02299adfdef77f177202f54c41cd37653cb2217a48e7438a74fa6c (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,066 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.2-cp37-cp37m-linux_armv6l.whl#sha256=b724d5afd1a9a2ae5232ff8d91de40443989ecc83f182351ca48f7e8031d5c92 (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,066 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.2-cp37-cp37m-linux_armv7l.whl#sha256=b724d5afd1a9a2ae5232ff8d91de40443989ecc83f182351ca48f7e8031d5c92 (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,067 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.2-cp311-cp311-linux_armv6l.whl#sha256=bfe6307adbd6eecea1080bd107d942c951f9075b5f9e04352c84c990c73dcbda (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,067 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.2-cp311-cp311-linux_armv7l.whl#sha256=bfe6307adbd6eecea1080bd107d942c951f9075b5f9e04352c84c990c73dcbda (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,067 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.2-cp39-cp39-linux_armv6l.whl#sha256=302e587757f3f105e71e4bf918420b7166105a99eca276e03fd1fce765282bef (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,067 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.2-cp39-cp39-linux_armv7l.whl#sha256=302e587757f3f105e71e4bf918420b7166105a99eca276e03fd1fce765282bef (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,067 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.1-cp34-cp34m-linux_armv7l.whl#sha256=1ee31025ab460e3d0257e8c03b1379d604ced5320a26bb5893242aa7601394b1 (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,067 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.1-cp34-cp34m-linux_armv6l.whl#sha256=1ee31025ab460e3d0257e8c03b1379d604ced5320a26bb5893242aa7601394b1 (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,067 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.1-cp37-cp37m-linux_armv6l.whl#sha256=aaeb9e9d2e61d2c91be2711d4d7eb1ce4709d1004b73475c92bef9aca2f5b8d9 (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,068 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.1-cp37-cp37m-linux_armv7l.whl#sha256=aaeb9e9d2e61d2c91be2711d4d7eb1ce4709d1004b73475c92bef9aca2f5b8d9 (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,068 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.1-cp35-cp35m-linux_armv7l.whl#sha256=f1d4e45c6de6d750e214a4b2d3022df8309655b7db0ce5d15f87e385f41e6271 (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,068 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.1-cp35-cp35m-linux_armv6l.whl#sha256=f1d4e45c6de6d750e214a4b2d3022df8309655b7db0ce5d15f87e385f41e6271 (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,068 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.1-cp311-cp311-linux_armv6l.whl#sha256=5fecef73484f9c5334ad437b6ae2e68aded9de9e62fd41dd33c51d51dddf1179 (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,068 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.1-cp311-cp311-linux_armv7l.whl#sha256=5fecef73484f9c5334ad437b6ae2e68aded9de9e62fd41dd33c51d51dddf1179 (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,068 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.1-cp39-cp39-linux_armv6l.whl#sha256=13826e48dab7a11d7980850830d21f389c04e4cccb31c659baaf3bbf53e29887 (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,068 Skipping link: No binaries permitted for pthread-event: https://archive1.piwheels.org/simple/pthread-event/pthread_event-0.1-cp39-cp39-linux_armv7l.whl#sha256=13826e48dab7a11d7980850830d21f389c04e4cccb31c659baaf3bbf53e29887 (from https://www.piwheels.org/simple/pthread-event/) 2025-09-07T22:37:39,069 Skipping link: not a file: https://www.piwheels.org/simple/pthread-event/ 2025-09-07T22:37:39,069 Skipping link: not a file: https://pypi.org/simple/pthread-event/ 2025-09-07T22:37:39,093 Given no hashes to check 1 links for project 'pthread-event': discarding no candidates 2025-09-07T22:37:39,095 Collecting pthread-event==0.1 2025-09-07T22:37:39,096 Created temporary directory: /tmp/pip-unpack-emjlrv39 2025-09-07T22:37:39,340 Downloading pthread_event-0.1.tar.gz (2.9 kB) 2025-09-07T22:37:39,363 Added pthread-event==0.1 from https://files.pythonhosted.org/packages/36/b4/652dd2f8cc09d779087bceb77a179537f73caf975aef7de5414b3703727d/pthread_event-0.1.tar.gz to build tracker '/tmp/pip-build-tracker-3bn1jlcy' 2025-09-07T22:37:39,364 Running setup.py (path:/tmp/pip-wheel-i2e27ytz/pthread-event_9304369e8f3c4e828c43ce89602ad6ae/setup.py) egg_info for package pthread-event 2025-09-07T22:37:39,365 Created temporary directory: /tmp/pip-pip-egg-info-qvaodgew 2025-09-07T22:37:39,365 Preparing metadata (setup.py): started 2025-09-07T22:37:39,367 Running command python setup.py egg_info 2025-09-07T22:37:40,491 running egg_info 2025-09-07T22:37:40,567 creating /tmp/pip-pip-egg-info-qvaodgew/pthread_event.egg-info 2025-09-07T22:37:40,567 writing /tmp/pip-pip-egg-info-qvaodgew/pthread_event.egg-info/PKG-INFO 2025-09-07T22:37:40,568 writing dependency_links to /tmp/pip-pip-egg-info-qvaodgew/pthread_event.egg-info/dependency_links.txt 2025-09-07T22:37:40,569 writing top-level names to /tmp/pip-pip-egg-info-qvaodgew/pthread_event.egg-info/top_level.txt 2025-09-07T22:37:40,569 writing manifest file '/tmp/pip-pip-egg-info-qvaodgew/pthread_event.egg-info/SOURCES.txt' 2025-09-07T22:37:40,866 reading manifest file '/tmp/pip-pip-egg-info-qvaodgew/pthread_event.egg-info/SOURCES.txt' 2025-09-07T22:37:40,867 reading manifest template 'MANIFEST.in' 2025-09-07T22:37:40,870 writing manifest file '/tmp/pip-pip-egg-info-qvaodgew/pthread_event.egg-info/SOURCES.txt' 2025-09-07T22:37:40,983 Preparing metadata (setup.py): finished with status 'done' 2025-09-07T22:37:40,987 Source in /tmp/pip-wheel-i2e27ytz/pthread-event_9304369e8f3c4e828c43ce89602ad6ae has version 0.1, which satisfies requirement pthread-event==0.1 from https://files.pythonhosted.org/packages/36/b4/652dd2f8cc09d779087bceb77a179537f73caf975aef7de5414b3703727d/pthread_event-0.1.tar.gz 2025-09-07T22:37:40,988 Removed pthread-event==0.1 from https://files.pythonhosted.org/packages/36/b4/652dd2f8cc09d779087bceb77a179537f73caf975aef7de5414b3703727d/pthread_event-0.1.tar.gz from build tracker '/tmp/pip-build-tracker-3bn1jlcy' 2025-09-07T22:37:40,990 Created temporary directory: /tmp/pip-unpack-hpdfe3ux 2025-09-07T22:37:40,991 Created temporary directory: /tmp/pip-unpack-0golulo7 2025-09-07T22:37:40,991 Building wheels for collected packages: pthread-event 2025-09-07T22:37:40,992 Created temporary directory: /tmp/pip-wheel-ansgad4n 2025-09-07T22:37:40,993 DEPRECATION: Building 'pthread-event' 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 'pthread-event'. Discussion can be found at https://github.com/pypa/pip/issues/6334 2025-09-07T22:37:40,994 Building wheel for pthread-event (setup.py): started 2025-09-07T22:37:40,994 Destination directory: /tmp/pip-wheel-ansgad4n 2025-09-07T22:37:40,994 Running command python setup.py bdist_wheel 2025-09-07T22:37:42,050 running bdist_wheel 2025-09-07T22:37:42,413 running build 2025-09-07T22:37:42,413 running build_py 2025-09-07T22:37:42,488 creating build/lib.linux-armv7l-cpython-313/tests 2025-09-07T22:37:42,488 copying tests/test_test_event.py -> build/lib.linux-armv7l-cpython-313/tests 2025-09-07T22:37:42,489 copying tests/__init__.py -> build/lib.linux-armv7l-cpython-313/tests 2025-09-07T22:37:42,490 running build_ext 2025-09-07T22:37:42,841 building 'pthread_event' extension 2025-09-07T22:37:42,841 creating build/temp.linux-armv7l-cpython-313 2025-09-07T22:37:42,842 arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.13 -c pthread_event.c -o build/temp.linux-armv7l-cpython-313/pthread_event.o -O2 2025-09-07T22:37:43,197 pthread_event.c: In function ‘parse_timeout’: 2025-09-07T22:37:43,198 pthread_event.c:108:9: error: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration] 2025-09-07T22:37:43,198 108 | if (gettimeofday(&now, NULL)) { 2025-09-07T22:37:43,198 | ^~~~~~~~~~~~ 2025-09-07T22:37:43,216 pthread_event.c:113:5: error: implicit declaration of function ‘TIMEVAL_TO_TIMESPEC’ [-Wimplicit-function-declaration] 2025-09-07T22:37:43,217 113 | TIMEVAL_TO_TIMESPEC(&now, timeout); 2025-09-07T22:37:43,217 | ^~~~~~~~~~~~~~~~~~~ 2025-09-07T22:37:43,218 pthread_event.c: At top level: 2025-09-07T22:37:43,219 pthread_event.c:178:33: warning: missing braces around initializer [-Wmissing-braces] 2025-09-07T22:37:43,219 178 | static PyTypeObject EventType = { 2025-09-07T22:37:43,219 | ^ 2025-09-07T22:37:43,220 In file included from /usr/include/python3.13/Python.h:72, 2025-09-07T22:37:43,220 from pthread_event.c:1: 2025-09-07T22:37:43,220 /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-07T22:37:43,220 138 | (type) \ 2025-09-07T22:37:43,220 | ^ 2025-09-07T22:37:43,220 pthread_event.c:179:5: note: in expansion of macro ‘PyObject_HEAD_INIT’ 2025-09-07T22:37:43,220 179 | PyObject_HEAD_INIT(NULL) 2025-09-07T22:37:43,220 | ^~~~~~~~~~~~~~~~~~ 2025-09-07T22:37:43,221 /usr/include/python3.13/object.h:138:9: note: (near initialization for ‘EventType.ob_base.ob_size’) 2025-09-07T22:37:43,221 138 | (type) \ 2025-09-07T22:37:43,221 | ^ 2025-09-07T22:37:43,221 pthread_event.c:179:5: note: in expansion of macro ‘PyObject_HEAD_INIT’ 2025-09-07T22:37:43,221 179 | PyObject_HEAD_INIT(NULL) 2025-09-07T22:37:43,221 | ^~~~~~~~~~~~~~~~~~ 2025-09-07T22:37:43,221 pthread_event.c:178:33: warning: missing braces around initializer [-Wmissing-braces] 2025-09-07T22:37:43,222 178 | static PyTypeObject EventType = { 2025-09-07T22:37:43,222 | ^ 2025-09-07T22:37:43,222 pthread_event.c:181:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion] 2025-09-07T22:37:43,222 181 | "pthread_event.Event", /*tp_name*/ 2025-09-07T22:37:43,222 | ^~~~~~~~~~~~~~~~~~~~~ 2025-09-07T22:37:43,222 pthread_event.c:181:5: note: (near initialization for ‘EventType.tp_basicsize’) 2025-09-07T22:37:43,223 pthread_event.c:184:5: error: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Wint-conversion] 2025-09-07T22:37:43,223 184 | (destructor)Event_dealloc, /*tp_dealloc*/ 2025-09-07T22:37:43,223 | ^ 2025-09-07T22:37:43,223 pthread_event.c:184:5: note: (near initialization for ‘EventType.tp_vectorcall_offset’) 2025-09-07T22:37:43,224 /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-07T22:37:43,224 729 | #define Py_TPFLAGS_DEFAULT ( \ 2025-09-07T22:37:43,224 | ^ 2025-09-07T22:37:43,224 pthread_event.c:199:5: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 2025-09-07T22:37:43,224 199 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/ 2025-09-07T22:37:43,224 | ^~~~~~~~~~~~~~~~~~ 2025-09-07T22:37:43,224 /usr/include/python3.13/object.h:729:29: note: (near initialization for ‘EventType.tp_doc’) 2025-09-07T22:37:43,224 729 | #define Py_TPFLAGS_DEFAULT ( \ 2025-09-07T22:37:43,225 | ^ 2025-09-07T22:37:43,225 pthread_event.c:199:5: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 2025-09-07T22:37:43,225 199 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/ 2025-09-07T22:37:43,225 | ^~~~~~~~~~~~~~~~~~ 2025-09-07T22:37:43,225 pthread_event.c:200:5: error: 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] 2025-09-07T22:37:43,225 200 | "", /* tp_doc */ 2025-09-07T22:37:43,225 | ^~ 2025-09-07T22:37:43,226 pthread_event.c:200:5: note: (near initialization for ‘EventType.tp_traverse’) 2025-09-07T22:37:43,226 pthread_event.c:207:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Wincompatible-pointer-types] 2025-09-07T22:37:43,226 207 | Event_methods, /* tp_methods */ 2025-09-07T22:37:43,226 | ^~~~~~~~~~~~~ 2025-09-07T22:37:43,226 pthread_event.c:207:5: note: (near initialization for ‘EventType.tp_members’) 2025-09-07T22:37:43,227 pthread_event.c:217:5: 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-07T22:37:43,227 217 | Event_new, /* tp_new */ 2025-09-07T22:37:43,227 | ^~~~~~~~~ 2025-09-07T22:37:43,227 pthread_event.c:217:5: note: (near initialization for ‘EventType.tp_free’) 2025-09-07T22:37:43,227 pthread_event.c:178:33: warning: missing braces around initializer [-Wmissing-braces] 2025-09-07T22:37:43,227 178 | static PyTypeObject EventType = { 2025-09-07T22:37:43,227 | ^ 2025-09-07T22:37:43,228 pthread_event.c: In function ‘initpthread_event’: 2025-09-07T22:37:43,228 pthread_event.c:225:9: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 2025-09-07T22:37:43,228 225 | return; 2025-09-07T22:37:43,228 | ^~~~~~ 2025-09-07T22:37:43,229 pthread_event.c:221:1: note: declared here 2025-09-07T22:37:43,229 221 | initpthread_event(void) { 2025-09-07T22:37:43,229 | ^~~~~~~~~~~~~~~~~ 2025-09-07T22:37:43,240 pthread_event.c:228:14: error: implicit declaration of function ‘Py_InitModule’ [-Wimplicit-function-declaration] 2025-09-07T22:37:43,240 228 | module = Py_InitModule("pthread_event", NULL); 2025-09-07T22:37:43,240 | ^~~~~~~~~~~~~ 2025-09-07T22:37:43,241 pthread_event.c:228:12: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2025-09-07T22:37:43,241 228 | module = Py_InitModule("pthread_event", NULL); 2025-09-07T22:37:43,241 | ^ 2025-09-07T22:37:43,241 pthread_event.c:230:9: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 2025-09-07T22:37:43,242 230 | return; 2025-09-07T22:37:43,242 | ^~~~~~ 2025-09-07T22:37:43,242 pthread_event.c:221:1: note: declared here 2025-09-07T22:37:43,242 221 | initpthread_event(void) { 2025-09-07T22:37:43,242 | ^~~~~~~~~~~~~~~~~ 2025-09-07T22:37:43,252 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2025-09-07T22:37:43,397 ERROR: python setup.py bdist_wheel exited with 1 2025-09-07T22:37:43,409 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-09-07T22:37:43,409 exec(compile('"'"''"'"''"'"' 2025-09-07T22:37:43,409 # This is -- a caller that pip uses to run setup.py 2025-09-07T22:37:43,409 # 2025-09-07T22:37:43,409 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-07T22:37:43,409 # import from `distutils.core` to work with newer packaging standards. 2025-09-07T22:37:43,409 # - It provides a clear error message when setuptools is not installed. 2025-09-07T22:37:43,409 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-07T22:37:43,409 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-07T22:37:43,409 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-07T22:37:43,409 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-07T22:37:43,409 import os, sys, tokenize, traceback 2025-09-07T22:37:43,409 2025-09-07T22:37:43,409 try: 2025-09-07T22:37:43,409 import setuptools 2025-09-07T22:37:43,409 except ImportError: 2025-09-07T22:37:43,409 print( 2025-09-07T22:37:43,409 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-07T22:37:43,409 "the build environment with exception:", 2025-09-07T22:37:43,409 file=sys.stderr, 2025-09-07T22:37:43,409 ) 2025-09-07T22:37:43,409 traceback.print_exc() 2025-09-07T22:37:43,409 sys.exit(1) 2025-09-07T22:37:43,409 2025-09-07T22:37:43,409 __file__ = %r 2025-09-07T22:37:43,409 sys.argv[0] = __file__ 2025-09-07T22:37:43,409 2025-09-07T22:37:43,409 if os.path.exists(__file__): 2025-09-07T22:37:43,409 filename = __file__ 2025-09-07T22:37:43,409 with tokenize.open(__file__) as f: 2025-09-07T22:37:43,409 setup_py_code = f.read() 2025-09-07T22:37:43,409 else: 2025-09-07T22:37:43,409 filename = "" 2025-09-07T22:37:43,409 setup_py_code = "from setuptools import setup; setup()" 2025-09-07T22:37:43,409 2025-09-07T22:37:43,409 exec(compile(setup_py_code, filename, "exec")) 2025-09-07T22:37:43,409 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-i2e27ytz/pthread-event_9304369e8f3c4e828c43ce89602ad6ae/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-ansgad4n[/] 2025-09-07T22:37:43,409 [bold magenta]cwd[/]: /tmp/pip-wheel-i2e27ytz/pthread-event_9304369e8f3c4e828c43ce89602ad6ae/ 2025-09-07T22:37:43,410 Building wheel for pthread-event (setup.py): finished with status 'error' 2025-09-07T22:37:43,410 ERROR: Failed building wheel for pthread-event 2025-09-07T22:37:43,411 Running setup.py clean for pthread-event 2025-09-07T22:37:43,412 Running command python setup.py clean 2025-09-07T22:37:44,538 running clean 2025-09-07T22:37:44,680 removing 'build/temp.linux-armv7l-cpython-313' (and everything under it) 2025-09-07T22:37:44,680 removing 'build/lib.linux-armv7l-cpython-313' (and everything under it) 2025-09-07T22:37:44,681 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-09-07T22:37:44,681 'build/scripts-3.13' does not exist -- can't clean it 2025-09-07T22:37:44,681 removing 'build' 2025-09-07T22:37:44,793 Failed to build pthread-event 2025-09-07T22:37:44,793 ERROR: Failed to build one or more wheels 2025-09-07T22:37:44,794 Exception information: 2025-09-07T22:37:44,794 Traceback (most recent call last): 2025-09-07T22:37:44,794 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-07T22:37:44,794 status = _inner_run() 2025-09-07T22:37:44,794 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-07T22:37:44,794 return self.run(options, args) 2025-09-07T22:37:44,794 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-07T22:37:44,794 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-07T22:37:44,794 return func(self, options, args) 2025-09-07T22:37:44,794 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-09-07T22:37:44,794 raise CommandError("Failed to build one or more wheels") 2025-09-07T22:37:44,794 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-09-07T22:37:44,798 Removed build tracker: '/tmp/pip-build-tracker-3bn1jlcy'