2023-09-08T18:26:32,740 Created temporary directory: /tmp/pip-build-tracker-ej9pxuf0 2023-09-08T18:26:32,741 Initialized build tracking at /tmp/pip-build-tracker-ej9pxuf0 2023-09-08T18:26:32,742 Created build tracker: /tmp/pip-build-tracker-ej9pxuf0 2023-09-08T18:26:32,742 Entered build tracker: /tmp/pip-build-tracker-ej9pxuf0 2023-09-08T18:26:32,743 Created temporary directory: /tmp/pip-wheel-5u22s1jt 2023-09-08T18:26:32,746 Created temporary directory: /tmp/pip-ephem-wheel-cache-otahjy9b 2023-09-08T18:26:32,768 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T18:26:32,772 2 location(s) to search for versions of pyprimesieve: 2023-09-08T18:26:32,772 * https://pypi.org/simple/pyprimesieve/ 2023-09-08T18:26:32,772 * https://www.piwheels.org/simple/pyprimesieve/ 2023-09-08T18:26:32,772 Fetching project page and analyzing links: https://pypi.org/simple/pyprimesieve/ 2023-09-08T18:26:32,773 Getting page https://pypi.org/simple/pyprimesieve/ 2023-09-08T18:26:32,775 Found index url https://pypi.org/simple/ 2023-09-08T18:26:33,054 Fetched page https://pypi.org/simple/pyprimesieve/ as application/vnd.pypi.simple.v1+json 2023-09-08T18:26:33,055 Found link https://files.pythonhosted.org/packages/29/f1/7dbe32beaabcac77cfd4870d0fdf6bac9749f024055f86b30d92aae2d44c/pyprimesieve-0.1.5.tar.gz (from https://pypi.org/simple/pyprimesieve/), version: 0.1.5 2023-09-08T18:26:33,056 Found link https://files.pythonhosted.org/packages/71/65/df0f953cfda5aa6dba56bcbeac5707f544bf0ad5b649a6a7807c5e09966e/pyprimesieve-0.1.6.tar.gz (from https://pypi.org/simple/pyprimesieve/), version: 0.1.6 2023-09-08T18:26:33,057 Fetching project page and analyzing links: https://www.piwheels.org/simple/pyprimesieve/ 2023-09-08T18:26:33,057 Getting page https://www.piwheels.org/simple/pyprimesieve/ 2023-09-08T18:26:33,059 Found index url https://www.piwheels.org/simple/ 2023-09-08T18:26:33,317 Fetched page https://www.piwheels.org/simple/pyprimesieve/ as text/html 2023-09-08T18:26:33,320 Skipping link: No binaries permitted for pyprimesieve: https://www.piwheels.org/simple/pyprimesieve/pyprimesieve-0.1.6-cp35-cp35m-linux_armv6l.whl#sha256=e89450fdd8b60dda5233f3281a8793f3d519b97ff90dde682137c71cfbfd3fbf (from https://www.piwheels.org/simple/pyprimesieve/) 2023-09-08T18:26:33,321 Skipping link: No binaries permitted for pyprimesieve: https://www.piwheels.org/simple/pyprimesieve/pyprimesieve-0.1.6-cp35-cp35m-linux_armv7l.whl#sha256=e89450fdd8b60dda5233f3281a8793f3d519b97ff90dde682137c71cfbfd3fbf (from https://www.piwheels.org/simple/pyprimesieve/) 2023-09-08T18:26:33,321 Skipping link: No binaries permitted for pyprimesieve: https://www.piwheels.org/simple/pyprimesieve/pyprimesieve-0.1.6-cp37-cp37m-linux_armv6l.whl#sha256=39318bc6e9ec8f29fe4f34ed6f2e41e403c534ff936344ef63b78fbf532ffffc (from https://www.piwheels.org/simple/pyprimesieve/) 2023-09-08T18:26:33,322 Skipping link: No binaries permitted for pyprimesieve: https://www.piwheels.org/simple/pyprimesieve/pyprimesieve-0.1.6-cp37-cp37m-linux_armv7l.whl#sha256=39318bc6e9ec8f29fe4f34ed6f2e41e403c534ff936344ef63b78fbf532ffffc (from https://www.piwheels.org/simple/pyprimesieve/) 2023-09-08T18:26:33,323 Skipping link: No binaries permitted for pyprimesieve: https://www.piwheels.org/simple/pyprimesieve/pyprimesieve-0.1.6-cp39-cp39-linux_armv6l.whl#sha256=7a85606573e8540aca685633eb362ad762404c5d4106eb14a0fc0c6561d1bab8 (from https://www.piwheels.org/simple/pyprimesieve/) 2023-09-08T18:26:33,323 Skipping link: No binaries permitted for pyprimesieve: https://www.piwheels.org/simple/pyprimesieve/pyprimesieve-0.1.6-cp39-cp39-linux_armv7l.whl#sha256=7a85606573e8540aca685633eb362ad762404c5d4106eb14a0fc0c6561d1bab8 (from https://www.piwheels.org/simple/pyprimesieve/) 2023-09-08T18:26:33,324 Skipping link: not a file: https://www.piwheels.org/simple/pyprimesieve/ 2023-09-08T18:26:33,324 Skipping link: not a file: https://pypi.org/simple/pyprimesieve/ 2023-09-08T18:26:33,348 Given no hashes to check 1 links for project 'pyprimesieve': discarding no candidates 2023-09-08T18:26:33,374 Collecting pyprimesieve==0.1.5 2023-09-08T18:26:33,377 Created temporary directory: /tmp/pip-unpack-c272f8iv 2023-09-08T18:26:33,611 Downloading pyprimesieve-0.1.5.tar.gz (32 kB) 2023-09-08T18:26:33,703 Added pyprimesieve==0.1.5 from https://files.pythonhosted.org/packages/29/f1/7dbe32beaabcac77cfd4870d0fdf6bac9749f024055f86b30d92aae2d44c/pyprimesieve-0.1.5.tar.gz to build tracker '/tmp/pip-build-tracker-ej9pxuf0' 2023-09-08T18:26:33,705 Running setup.py (path:/tmp/pip-wheel-5u22s1jt/pyprimesieve_441ba670fe9c48c8899cb860b35eccbc/setup.py) egg_info for package pyprimesieve 2023-09-08T18:26:33,706 Created temporary directory: /tmp/pip-pip-egg-info-yqeyryeg 2023-09-08T18:26:33,706 Preparing metadata (setup.py): started 2023-09-08T18:26:33,708 Running command python setup.py egg_info 2023-09-08T18:26:34,870 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T18:26:34,874 Source in /tmp/pip-wheel-5u22s1jt/pyprimesieve_441ba670fe9c48c8899cb860b35eccbc has version 0.1.5, which satisfies requirement pyprimesieve==0.1.5 from https://files.pythonhosted.org/packages/29/f1/7dbe32beaabcac77cfd4870d0fdf6bac9749f024055f86b30d92aae2d44c/pyprimesieve-0.1.5.tar.gz 2023-09-08T18:26:34,875 Removed pyprimesieve==0.1.5 from https://files.pythonhosted.org/packages/29/f1/7dbe32beaabcac77cfd4870d0fdf6bac9749f024055f86b30d92aae2d44c/pyprimesieve-0.1.5.tar.gz from build tracker '/tmp/pip-build-tracker-ej9pxuf0' 2023-09-08T18:26:34,880 Created temporary directory: /tmp/pip-unpack-59_cwyb_ 2023-09-08T18:26:34,881 Created temporary directory: /tmp/pip-unpack-lad_4ors 2023-09-08T18:26:34,884 Building wheels for collected packages: pyprimesieve 2023-09-08T18:26:34,888 Created temporary directory: /tmp/pip-wheel-glpj5zwp 2023-09-08T18:26:34,888 Building wheel for pyprimesieve (setup.py): started 2023-09-08T18:26:34,889 Destination directory: /tmp/pip-wheel-glpj5zwp 2023-09-08T18:26:34,890 Running command python setup.py bdist_wheel 2023-09-08T18:27:02,068 In file included from /usr/include/python3.11/Python.h:38, 2023-09-08T18:27:02,069 from pyprimesieve/pyprimesieve.cpp:6: 2023-09-08T18:27:02,070 pyprimesieve/pyprimesieve.cpp: In member function ‘virtual void PrimePyList::callback(uint64_t)’: 2023-09-08T18:27:02,070 pyprimesieve/pyprimesieve.cpp:34:43: error: ‘PyInt_FromSize_t’ was not declared in this scope; did you mean ‘PyLong_FromSize_t’? 2023-09-08T18:27:02,071 34 | PyList_SET_ITEM(list, (*i)++, PyInt_FromSize_t(prime)); 2023-09-08T18:27:02,072 | ^~~~~~~~~~~~~~~~ 2023-09-08T18:27:02,073 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T18:27:02,073 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T18:27:02,074 | ^~~~ 2023-09-08T18:27:02,075 /usr/include/python3.11/cpython/listobject.h:50:48: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T18:27:02,075 50 | PyList_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T18:27:02,076 | ^~~~~~~~~~~~~~ 2023-09-08T18:27:02,077 pyprimesieve/pyprimesieve.cpp:34:13: note: in expansion of macro ‘PyList_SET_ITEM’ 2023-09-08T18:27:02,077 34 | PyList_SET_ITEM(list, (*i)++, PyInt_FromSize_t(prime)); 2023-09-08T18:27:02,078 | ^~~~~~~~~~~~~~~ 2023-09-08T18:27:02,107 pyprimesieve/pyprimesieve.cpp:36:33: error: ‘PyInt_FromSize_t’ was not declared in this scope; did you mean ‘PyLong_FromSize_t’? 2023-09-08T18:27:02,108 36 | PyObject* pyprime = PyInt_FromSize_t(prime); 2023-09-08T18:27:02,109 | ^~~~~~~~~~~~~~~~ 2023-09-08T18:27:02,109 | PyLong_FromSize_t 2023-09-08T18:27:02,130 pyprimesieve/pyprimesieve.cpp: In function ‘PyObject* primes(PyObject*, PyObject*)’: 2023-09-08T18:27:02,131 pyprimesieve/pyprimesieve.cpp:58:38: error: ‘PyInt_FromLong’ was not declared in this scope; did you mean ‘PyLong_FromLong’? 2023-09-08T18:27:02,132 58 | PyList_SET_ITEM(just_two, 0, PyInt_FromLong(2)); 2023-09-08T18:27:02,133 | ^~~~~~~~~~~~~~ 2023-09-08T18:27:02,133 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T18:27:02,133 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T18:27:02,134 | ^~~~ 2023-09-08T18:27:02,134 /usr/include/python3.11/cpython/listobject.h:50:48: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T18:27:02,135 50 | PyList_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T18:27:02,135 | ^~~~~~~~~~~~~~ 2023-09-08T18:27:02,136 pyprimesieve/pyprimesieve.cpp:58:9: note: in expansion of macro ‘PyList_SET_ITEM’ 2023-09-08T18:27:02,136 58 | PyList_SET_ITEM(just_two, 0, PyInt_FromLong(2)); 2023-09-08T18:27:02,137 | ^~~~~~~~~~~~~~~ 2023-09-08T18:27:02,157 pyprimesieve/pyprimesieve.cpp: In function ‘PyObject* factorize(PyObject*, PyObject*)’: 2023-09-08T18:27:02,158 pyprimesieve/pyprimesieve.cpp:88:43: error: ‘PyInt_FromLong’ was not declared in this scope; did you mean ‘PyLong_FromLong’? 2023-09-08T18:27:02,159 88 | PyObject* tuple = PyTuple_Pack(2, PyInt_FromLong(2), PyInt_FromSize_t(i)); 2023-09-08T18:27:02,159 | ^~~~~~~~~~~~~~ 2023-09-08T18:27:02,160 | PyLong_FromLong 2023-09-08T18:27:02,180 pyprimesieve/pyprimesieve.cpp:88:62: error: ‘PyInt_FromSize_t’ was not declared in this scope; did you mean ‘PyLong_FromSize_t’? 2023-09-08T18:27:02,181 88 | PyObject* tuple = PyTuple_Pack(2, PyInt_FromLong(2), PyInt_FromSize_t(i)); 2023-09-08T18:27:02,182 | ^~~~~~~~~~~~~~~~ 2023-09-08T18:27:02,182 | PyLong_FromSize_t 2023-09-08T18:27:02,204 pyprimesieve/pyprimesieve.cpp:100:47: error: ‘PyInt_FromSsize_t’ was not declared in this scope; did you mean ‘PyLong_FromSsize_t’? 2023-09-08T18:27:02,205 100 | PyObject* tuple = PyTuple_Pack(2, PyInt_FromSsize_t(p), PyInt_FromSize_t(i)); 2023-09-08T18:27:02,205 | ^~~~~~~~~~~~~~~~~ 2023-09-08T18:27:02,206 | PyLong_FromSsize_t 2023-09-08T18:27:02,227 pyprimesieve/pyprimesieve.cpp:100:69: error: ‘PyInt_FromSize_t’ was not declared in this scope; did you mean ‘PyLong_FromSize_t’? 2023-09-08T18:27:02,227 100 | PyObject* tuple = PyTuple_Pack(2, PyInt_FromSsize_t(p), PyInt_FromSize_t(i)); 2023-09-08T18:27:02,228 | ^~~~~~~~~~~~~~~~ 2023-09-08T18:27:02,229 | PyLong_FromSize_t 2023-09-08T18:27:02,250 pyprimesieve/pyprimesieve.cpp:107:43: error: ‘PyInt_FromSsize_t’ was not declared in this scope; did you mean ‘PyLong_FromSsize_t’? 2023-09-08T18:27:02,251 107 | PyObject* tuple = PyTuple_Pack(2, PyInt_FromSsize_t(n), PyInt_FromLong(1)); 2023-09-08T18:27:02,251 | ^~~~~~~~~~~~~~~~~ 2023-09-08T18:27:02,252 | PyLong_FromSsize_t 2023-09-08T18:27:02,271 pyprimesieve/pyprimesieve.cpp:107:65: error: ‘PyInt_FromLong’ was not declared in this scope; did you mean ‘PyLong_FromLong’? 2023-09-08T18:27:02,272 107 | PyObject* tuple = PyTuple_Pack(2, PyInt_FromSsize_t(n), PyInt_FromLong(1)); 2023-09-08T18:27:02,273 | ^~~~~~~~~~~~~~ 2023-09-08T18:27:02,273 | PyLong_FromLong 2023-09-08T18:27:02,278 pyprimesieve/pyprimesieve.cpp: In function ‘PyObject* primes_sum(PyObject*, PyObject*)’: 2023-09-08T18:27:02,279 pyprimesieve/pyprimesieve.cpp:130:23: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 2023-09-08T18:27:02,279 130 | PyEval_InitThreads(); 2023-09-08T18:27:02,279 | ~~~~~~~~~~~~~~~~~~^~ 2023-09-08T18:27:02,280 In file included from /usr/include/python3.11/Python.h:95: 2023-09-08T18:27:02,280 /usr/include/python3.11/ceval.h:132:37: note: declared here 2023-09-08T18:27:02,281 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2023-09-08T18:27:02,281 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T18:27:02,302 pyprimesieve/pyprimesieve.cpp:138:62: error: ‘PyInt_FromLong’ was not declared in this scope; did you mean ‘PyLong_FromLong’? 2023-09-08T18:27:02,302 138 | if (n < 3 || start > n) return PyErr_Occurred() ? NULL : PyInt_FromLong(0); 2023-09-08T18:27:02,303 | ^~~~~~~~~~~~~~ 2023-09-08T18:27:02,303 | PyLong_FromLong 2023-09-08T18:27:02,339 pyprimesieve/pyprimesieve.cpp: In member function ‘virtual void NthPrime::callback(uint64_t)’: 2023-09-08T18:27:02,339 pyprimesieve/pyprimesieve.cpp:165:21: error: ‘PyInt_FromSize_t’ was not declared in this scope; did you mean ‘PyLong_FromSize_t’? 2023-09-08T18:27:02,340 165 | prime = PyInt_FromSize_t(p); 2023-09-08T18:27:02,340 | ^~~~~~~~~~~~~~~~ 2023-09-08T18:27:02,341 | PyLong_FromSize_t 2023-09-08T18:27:02,362 pyprimesieve/pyprimesieve.cpp: In function ‘PyObject* primes_nth(PyObject*, PyObject*)’: 2023-09-08T18:27:02,363 pyprimesieve/pyprimesieve.cpp:183:24: error: ‘PyInt_FromLong’ was not declared in this scope; did you mean ‘PyLong_FromLong’? 2023-09-08T18:27:02,363 183 | case 1: return PyInt_FromLong(2); 2023-09-08T18:27:02,364 | ^~~~~~~~~~~~~~ 2023-09-08T18:27:02,365 | PyLong_FromLong 2023-09-08T18:27:02,388 pyprimesieve/pyprimesieve.cpp: In function ‘PyObject* initpyprimesieve()’: 2023-09-08T18:27:02,389 pyprimesieve/pyprimesieve.cpp:207:5: error: ‘Py_InitModule3’ was not declared in this scope 2023-09-08T18:27:02,390 207 | Py_InitModule3("pyprimesieve", module_methods, DOCSTRING); 2023-09-08T18:27:02,391 | ^~~~~~~~~~~~~~ 2023-09-08T18:27:02,391 pyprimesieve/pyprimesieve.cpp:208:1: warning: no return statement in function returning non-void [-Wreturn-type] 2023-09-08T18:27:02,392 208 | } 2023-09-08T18:27:02,393 | ^ 2023-09-08T18:27:02,711 error: command '/usr/bin/g++' failed with exit code 1 2023-09-08T18:27:02,851 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T18:27:02,864 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T18:27:02,864 exec(compile('"'"''"'"''"'"' 2023-09-08T18:27:02,864 # This is -- a caller that pip uses to run setup.py 2023-09-08T18:27:02,864 # 2023-09-08T18:27:02,864 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T18:27:02,864 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T18:27:02,864 # - It provides a clear error message when setuptools is not installed. 2023-09-08T18:27:02,864 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T18:27:02,864 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T18:27:02,864 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T18:27:02,864 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T18:27:02,864 import os, sys, tokenize 2023-09-08T18:27:02,864 2023-09-08T18:27:02,864 try: 2023-09-08T18:27:02,864 import setuptools 2023-09-08T18:27:02,864 except ImportError as error: 2023-09-08T18:27:02,864 print( 2023-09-08T18:27:02,864 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T18:27:02,864 "the build environment.", 2023-09-08T18:27:02,864 file=sys.stderr, 2023-09-08T18:27:02,864 ) 2023-09-08T18:27:02,864 sys.exit(1) 2023-09-08T18:27:02,864 2023-09-08T18:27:02,864 __file__ = %r 2023-09-08T18:27:02,864 sys.argv[0] = __file__ 2023-09-08T18:27:02,864 2023-09-08T18:27:02,864 if os.path.exists(__file__): 2023-09-08T18:27:02,864 filename = __file__ 2023-09-08T18:27:02,864 with tokenize.open(__file__) as f: 2023-09-08T18:27:02,864 setup_py_code = f.read() 2023-09-08T18:27:02,864 else: 2023-09-08T18:27:02,864 filename = "" 2023-09-08T18:27:02,864 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T18:27:02,864 2023-09-08T18:27:02,864 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T18:27:02,864 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-5u22s1jt/pyprimesieve_441ba670fe9c48c8899cb860b35eccbc/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-glpj5zwp[/] 2023-09-08T18:27:02,865 [bold magenta]cwd[/]: /tmp/pip-wheel-5u22s1jt/pyprimesieve_441ba670fe9c48c8899cb860b35eccbc/ 2023-09-08T18:27:02,866 Building wheel for pyprimesieve (setup.py): finished with status 'error' 2023-09-08T18:27:02,867 ERROR: Failed building wheel for pyprimesieve 2023-09-08T18:27:02,868 Running setup.py clean for pyprimesieve 2023-09-08T18:27:02,869 Running command python setup.py clean 2023-09-08T18:27:03,923 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-08T18:27:03,924 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T18:27:03,924 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T18:27:04,031 Failed to build pyprimesieve 2023-09-08T18:27:04,032 ERROR: Failed to build one or more wheels 2023-09-08T18:27:04,034 Exception information: 2023-09-08T18:27:04,034 Traceback (most recent call last): 2023-09-08T18:27:04,034 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T18:27:04,034 status = run_func(*args) 2023-09-08T18:27:04,034 ^^^^^^^^^^^^^^^ 2023-09-08T18:27:04,034 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T18:27:04,034 return func(self, options, args) 2023-09-08T18:27:04,034 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T18:27:04,034 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T18:27:04,034 raise CommandError("Failed to build one or more wheels") 2023-09-08T18:27:04,034 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T18:27:04,037 Removed build tracker: '/tmp/pip-build-tracker-ej9pxuf0'