2023-09-08T14:54:20,005 Created temporary directory: /tmp/pip-build-tracker-zhewzg1i 2023-09-08T14:54:20,006 Initialized build tracking at /tmp/pip-build-tracker-zhewzg1i 2023-09-08T14:54:20,007 Created build tracker: /tmp/pip-build-tracker-zhewzg1i 2023-09-08T14:54:20,007 Entered build tracker: /tmp/pip-build-tracker-zhewzg1i 2023-09-08T14:54:20,008 Created temporary directory: /tmp/pip-wheel-5gfe87qh 2023-09-08T14:54:20,011 Created temporary directory: /tmp/pip-ephem-wheel-cache-avqa24vb 2023-09-08T14:54:20,032 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T14:54:20,036 2 location(s) to search for versions of pnpoly: 2023-09-08T14:54:20,036 * https://pypi.org/simple/pnpoly/ 2023-09-08T14:54:20,036 * https://www.piwheels.org/simple/pnpoly/ 2023-09-08T14:54:20,036 Fetching project page and analyzing links: https://pypi.org/simple/pnpoly/ 2023-09-08T14:54:20,037 Getting page https://pypi.org/simple/pnpoly/ 2023-09-08T14:54:20,039 Found index url https://pypi.org/simple/ 2023-09-08T14:54:20,254 Fetched page https://pypi.org/simple/pnpoly/ as application/vnd.pypi.simple.v1+json 2023-09-08T14:54:20,256 Found link https://files.pythonhosted.org/packages/b2/00/4e46a13ffb8f3bc1ea7238ca28c201159dc1bbe95b34f7ef4f04805813cc/pnpoly-0.0.1.linux-x86_64.tar.gz (from https://pypi.org/simple/pnpoly/), version: 0.0.1.linux-x86_64 2023-09-08T14:54:20,257 Found link https://files.pythonhosted.org/packages/37/e5/567b0e0fc470cd86af3c8b4053fc13ba940e9e3265c07ae8d3f7cf823126/pnpoly-0.0.1.tar.gz (from https://pypi.org/simple/pnpoly/), version: 0.0.1 2023-09-08T14:54:20,257 Fetching project page and analyzing links: https://www.piwheels.org/simple/pnpoly/ 2023-09-08T14:54:20,258 Getting page https://www.piwheels.org/simple/pnpoly/ 2023-09-08T14:54:20,260 Found index url https://www.piwheels.org/simple/ 2023-09-08T14:54:20,510 Fetched page https://www.piwheels.org/simple/pnpoly/ as text/html 2023-09-08T14:54:20,511 Skipping link: not a file: https://www.piwheels.org/simple/pnpoly/ 2023-09-08T14:54:20,512 Skipping link: not a file: https://pypi.org/simple/pnpoly/ 2023-09-08T14:54:20,530 Given no hashes to check 1 links for project 'pnpoly': discarding no candidates 2023-09-08T14:54:20,548 Collecting pnpoly==0.0.1 2023-09-08T14:54:20,550 Created temporary directory: /tmp/pip-unpack-kf3woggb 2023-09-08T14:54:20,765 Downloading pnpoly-0.0.1.tar.gz (1.8 kB) 2023-09-08T14:54:20,776 Added pnpoly==0.0.1 from https://files.pythonhosted.org/packages/37/e5/567b0e0fc470cd86af3c8b4053fc13ba940e9e3265c07ae8d3f7cf823126/pnpoly-0.0.1.tar.gz to build tracker '/tmp/pip-build-tracker-zhewzg1i' 2023-09-08T14:54:20,778 Running setup.py (path:/tmp/pip-wheel-5gfe87qh/pnpoly_8f4c81a25e984447b96bfffd1be1f05f/setup.py) egg_info for package pnpoly 2023-09-08T14:54:20,779 Created temporary directory: /tmp/pip-pip-egg-info-hf194mdo 2023-09-08T14:54:20,780 Preparing metadata (setup.py): started 2023-09-08T14:54:20,781 Running command python setup.py egg_info 2023-09-08T14:54:21,926 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T14:54:21,929 Source in /tmp/pip-wheel-5gfe87qh/pnpoly_8f4c81a25e984447b96bfffd1be1f05f has version 0.0.1, which satisfies requirement pnpoly==0.0.1 from https://files.pythonhosted.org/packages/37/e5/567b0e0fc470cd86af3c8b4053fc13ba940e9e3265c07ae8d3f7cf823126/pnpoly-0.0.1.tar.gz 2023-09-08T14:54:21,930 Removed pnpoly==0.0.1 from https://files.pythonhosted.org/packages/37/e5/567b0e0fc470cd86af3c8b4053fc13ba940e9e3265c07ae8d3f7cf823126/pnpoly-0.0.1.tar.gz from build tracker '/tmp/pip-build-tracker-zhewzg1i' 2023-09-08T14:54:21,934 Created temporary directory: /tmp/pip-unpack-otxbc5vt 2023-09-08T14:54:21,935 Created temporary directory: /tmp/pip-unpack-ud51upkc 2023-09-08T14:54:21,937 Building wheels for collected packages: pnpoly 2023-09-08T14:54:21,941 Created temporary directory: /tmp/pip-wheel-xgebtny5 2023-09-08T14:54:21,942 Building wheel for pnpoly (setup.py): started 2023-09-08T14:54:21,943 Destination directory: /tmp/pip-wheel-xgebtny5 2023-09-08T14:54:21,943 Running command python setup.py bdist_wheel 2023-09-08T14:54:23,832 pnpoly.c: In function ‘pnpoly_dealloc’: 2023-09-08T14:54:23,833 pnpoly.c:34:9: error: ‘pnpoly_object’ has no member named ‘ob_type’ 2023-09-08T14:54:23,833 34 | self->ob_type->tp_free((PyObject *) self); 2023-09-08T14:54:23,834 | ^~ 2023-09-08T14:54:23,834 pnpoly.c: In function ‘pnpoly_init’: 2023-09-08T14:54:23,835 pnpoly.c:73:19: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 2023-09-08T14:54:23,835 73 | for (i = 0; i < self->nvert; i++) { 2023-09-08T14:54:23,836 | ^ 2023-09-08T14:54:23,836 pnpoly.c: In function ‘pnpoly_contains’: 2023-09-08T14:54:23,837 pnpoly.c:107:16: warning: returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T14:54:23,837 107 | return -1; 2023-09-08T14:54:23,838 | ^ 2023-09-08T14:54:23,838 pnpoly.c: At top level: 2023-09-08T14:54:23,839 pnpoly.c:132:35: warning: missing braces around initializer [-Wmissing-braces] 2023-09-08T14:54:23,839 132 | static PyTypeObject pnpoly_type = { 2023-09-08T14:54:23,840 | ^ 2023-09-08T14:54:23,840 pnpoly.c:135:5: warning: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion] 2023-09-08T14:54:23,841 135 | "Polygon", /*tp_name*/ 2023-09-08T14:54:23,841 | ^~~~~~~~~ 2023-09-08T14:54:23,842 pnpoly.c:135:5: note: (near initialization for ‘pnpoly_type.tp_basicsize’) 2023-09-08T14:54:23,842 pnpoly.c:138:5: warning: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Wint-conversion] 2023-09-08T14:54:23,843 138 | (destructor)pnpoly_dealloc, /*tp_dealloc*/ 2023-09-08T14:54:23,843 | ^ 2023-09-08T14:54:23,844 pnpoly.c:138:5: note: (near initialization for ‘pnpoly_type.tp_vectorcall_offset’) 2023-09-08T14:54:23,845 In file included from /usr/include/python3.11/Python.h:44, 2023-09-08T14:54:23,845 from pnpoly.c:1: 2023-09-08T14:54:23,846 /usr/include/python3.11/object.h:422:29: warning: initialization of ‘const char *’ from ‘long unsigned int’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T14:54:23,847 422 | #define Py_TPFLAGS_DEFAULT ( \ 2023-09-08T14:54:23,847 | ^ 2023-09-08T14:54:23,848 pnpoly.c:153:5: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 2023-09-08T14:54:23,849 153 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/ 2023-09-08T14:54:23,849 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T14:54:23,850 /usr/include/python3.11/object.h:422:29: note: (near initialization for ‘pnpoly_type.tp_doc’) 2023-09-08T14:54:23,850 422 | #define Py_TPFLAGS_DEFAULT ( \ 2023-09-08T14:54:23,851 | ^ 2023-09-08T14:54:23,851 pnpoly.c:153:5: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’ 2023-09-08T14:54:23,852 153 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/ 2023-09-08T14:54:23,852 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T14:54:23,853 pnpoly.c:154:5: 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] 2023-09-08T14:54:23,853 154 | "a polygon", /* tp_doc */ 2023-09-08T14:54:23,854 | ^~~~~~~~~~~ 2023-09-08T14:54:23,854 pnpoly.c:154:5: note: (near initialization for ‘pnpoly_type.tp_traverse’) 2023-09-08T14:54:23,855 pnpoly.c:161:5: warning: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Wincompatible-pointer-types] 2023-09-08T14:54:23,857 161 | pnpoly_methods, /* tp_methods */ 2023-09-08T14:54:23,859 | ^~~~~~~~~~~~~~ 2023-09-08T14:54:23,859 pnpoly.c:161:5: note: (near initialization for ‘pnpoly_type.tp_members’) 2023-09-08T14:54:23,860 pnpoly.c:169:5: 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] 2023-09-08T14:54:23,860 169 | (initproc) pnpoly_init, /* tp_init */ 2023-09-08T14:54:23,861 | ^ 2023-09-08T14:54:23,861 pnpoly.c:169:5: note: (near initialization for ‘pnpoly_type.tp_alloc’) 2023-09-08T14:54:23,862 pnpoly.c:171:5: 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] 2023-09-08T14:54:23,862 171 | pnpoly_new, 2023-09-08T14:54:23,863 | ^~~~~~~~~~ 2023-09-08T14:54:23,863 pnpoly.c:171:5: note: (near initialization for ‘pnpoly_type.tp_free’) 2023-09-08T14:54:23,864 pnpoly.c:132:35: warning: missing braces around initializer [-Wmissing-braces] 2023-09-08T14:54:23,864 132 | static PyTypeObject pnpoly_type = { 2023-09-08T14:54:23,865 | ^ 2023-09-08T14:54:23,865 pnpoly.c: In function ‘initpnpoly’: 2023-09-08T14:54:23,866 pnpoly.c:188:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2023-09-08T14:54:23,867 188 | return; 2023-09-08T14:54:23,868 | ^~~~~~ 2023-09-08T14:54:23,869 pnpoly.c:183:1: note: declared here 2023-09-08T14:54:23,870 183 | initpnpoly(void) 2023-09-08T14:54:23,871 | ^~~~~~~~~~ 2023-09-08T14:54:23,872 pnpoly.c:191:9: warning: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration] 2023-09-08T14:54:23,873 191 | m = Py_InitModule3("pnpoly", module_methods, 2023-09-08T14:54:23,873 | ^~~~~~~~~~~~~~ 2023-09-08T14:54:23,874 pnpoly.c:191:7: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T14:54:23,875 191 | m = Py_InitModule3("pnpoly", module_methods, 2023-09-08T14:54:23,876 | ^ 2023-09-08T14:54:23,877 pnpoly.c:195:7: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2023-09-08T14:54:23,878 195 | return; 2023-09-08T14:54:23,879 | ^~~~~~ 2023-09-08T14:54:23,879 pnpoly.c:183:1: note: declared here 2023-09-08T14:54:23,880 183 | initpnpoly(void) 2023-09-08T14:54:23,881 | ^~~~~~~~~~ 2023-09-08T14:54:23,882 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T14:54:24,012 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T14:54:24,025 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T14:54:24,025 exec(compile('"'"''"'"''"'"' 2023-09-08T14:54:24,025 # This is -- a caller that pip uses to run setup.py 2023-09-08T14:54:24,025 # 2023-09-08T14:54:24,025 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T14:54:24,025 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T14:54:24,025 # - It provides a clear error message when setuptools is not installed. 2023-09-08T14:54:24,025 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T14:54:24,025 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T14:54:24,025 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T14:54:24,025 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T14:54:24,025 import os, sys, tokenize 2023-09-08T14:54:24,025 2023-09-08T14:54:24,025 try: 2023-09-08T14:54:24,025 import setuptools 2023-09-08T14:54:24,025 except ImportError as error: 2023-09-08T14:54:24,025 print( 2023-09-08T14:54:24,025 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T14:54:24,025 "the build environment.", 2023-09-08T14:54:24,025 file=sys.stderr, 2023-09-08T14:54:24,025 ) 2023-09-08T14:54:24,025 sys.exit(1) 2023-09-08T14:54:24,025 2023-09-08T14:54:24,025 __file__ = %r 2023-09-08T14:54:24,025 sys.argv[0] = __file__ 2023-09-08T14:54:24,025 2023-09-08T14:54:24,025 if os.path.exists(__file__): 2023-09-08T14:54:24,025 filename = __file__ 2023-09-08T14:54:24,025 with tokenize.open(__file__) as f: 2023-09-08T14:54:24,025 setup_py_code = f.read() 2023-09-08T14:54:24,025 else: 2023-09-08T14:54:24,025 filename = "" 2023-09-08T14:54:24,025 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T14:54:24,025 2023-09-08T14:54:24,025 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T14:54:24,025 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-5gfe87qh/pnpoly_8f4c81a25e984447b96bfffd1be1f05f/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-xgebtny5[/] 2023-09-08T14:54:24,025 [bold magenta]cwd[/]: /tmp/pip-wheel-5gfe87qh/pnpoly_8f4c81a25e984447b96bfffd1be1f05f/ 2023-09-08T14:54:24,026 Building wheel for pnpoly (setup.py): finished with status 'error' 2023-09-08T14:54:24,027 ERROR: Failed building wheel for pnpoly 2023-09-08T14:54:24,028 Running setup.py clean for pnpoly 2023-09-08T14:54:24,030 Running command python setup.py clean 2023-09-08T14:54:25,059 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-08T14:54:25,059 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T14:54:25,060 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T14:54:25,169 Failed to build pnpoly 2023-09-08T14:54:25,170 ERROR: Failed to build one or more wheels 2023-09-08T14:54:25,171 Exception information: 2023-09-08T14:54:25,171 Traceback (most recent call last): 2023-09-08T14:54:25,171 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T14:54:25,171 status = run_func(*args) 2023-09-08T14:54:25,171 ^^^^^^^^^^^^^^^ 2023-09-08T14:54:25,171 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T14:54:25,171 return func(self, options, args) 2023-09-08T14:54:25,171 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T14:54:25,171 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T14:54:25,171 raise CommandError("Failed to build one or more wheels") 2023-09-08T14:54:25,171 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T14:54:25,175 Removed build tracker: '/tmp/pip-build-tracker-zhewzg1i'