2023-09-08T18:46:31,956 Created temporary directory: /tmp/pip-build-tracker-zggp36b0 2023-09-08T18:46:31,957 Initialized build tracking at /tmp/pip-build-tracker-zggp36b0 2023-09-08T18:46:31,958 Created build tracker: /tmp/pip-build-tracker-zggp36b0 2023-09-08T18:46:31,958 Entered build tracker: /tmp/pip-build-tracker-zggp36b0 2023-09-08T18:46:31,959 Created temporary directory: /tmp/pip-wheel-6vvxbk_2 2023-09-08T18:46:31,962 Created temporary directory: /tmp/pip-ephem-wheel-cache-4t5o8hfm 2023-09-08T18:46:31,983 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T18:46:31,987 2 location(s) to search for versions of fte: 2023-09-08T18:46:31,987 * https://pypi.org/simple/fte/ 2023-09-08T18:46:31,987 * https://www.piwheels.org/simple/fte/ 2023-09-08T18:46:31,988 Fetching project page and analyzing links: https://pypi.org/simple/fte/ 2023-09-08T18:46:31,988 Getting page https://pypi.org/simple/fte/ 2023-09-08T18:46:31,990 Found index url https://pypi.org/simple/ 2023-09-08T18:46:32,129 Fetched page https://pypi.org/simple/fte/ as application/vnd.pypi.simple.v1+json 2023-09-08T18:46:32,132 Found link https://files.pythonhosted.org/packages/ee/61/943f83d8d59188c73b6924b7519e8f9660d34e01e6e56ac636712d2197a1/fte-0.0.1.tar.gz (from https://pypi.org/simple/fte/), version: 0.0.1 2023-09-08T18:46:32,132 Found link https://files.pythonhosted.org/packages/1f/58/3227e6241b9847eb64427c5266dbfe701fff4b127bd7ea183be6b65732a9/fte-0.0.2.tar.gz (from https://pypi.org/simple/fte/), version: 0.0.2 2023-09-08T18:46:32,133 Found link https://files.pythonhosted.org/packages/9a/a0/e0b0ee40184fabd4eee8fff0f5e4c9f8c59311b3597db904d153e3f40ca5/fte-0.0.3.tar.gz (from https://pypi.org/simple/fte/), version: 0.0.3 2023-09-08T18:46:32,133 Found link https://files.pythonhosted.org/packages/00/a2/26c7cab5b0b81166d781693859d8581871f7a8ebdf9374ef3c35d2a9dc31/fte-0.0.4.tar.gz (from https://pypi.org/simple/fte/), version: 0.0.4 2023-09-08T18:46:32,134 Found link https://files.pythonhosted.org/packages/aa/28/f2b9f0715c71c2b5fe66c009efcf6901540650a8dee809ad8880b50bd5f9/fte-0.0.5.tar.gz (from https://pypi.org/simple/fte/), version: 0.0.5 2023-09-08T18:46:32,135 Found link https://files.pythonhosted.org/packages/0a/31/bf05adb5977aa59c34dcbd61849a41e53ca94107f27b9985049a9029c6fa/fte-0.1.0.tar.gz (from https://pypi.org/simple/fte/), version: 0.1.0 2023-09-08T18:46:32,135 Found link https://files.pythonhosted.org/packages/c2/bb/8f9beab6555355cac67115afd5a05c4a6b51881bdcf34570d55c96770164/fte-0.1.1.tar.gz (from https://pypi.org/simple/fte/), version: 0.1.1 2023-09-08T18:46:32,136 Found link https://files.pythonhosted.org/packages/8c/95/7dfcc0431fa1579965ffaa65e4b50095bf2c66593544fddd5e4e3aeec977/fte-0.1.2.tar.gz (from https://pypi.org/simple/fte/), version: 0.1.2 2023-09-08T18:46:32,137 Found link https://files.pythonhosted.org/packages/a1/0f/3c535bd0783f116113b103284550d2a904e5bfb5c6e728709cf7abd71b34/fte-0.1.3.tar.gz (from https://pypi.org/simple/fte/), version: 0.1.3 2023-09-08T18:46:32,138 Fetching project page and analyzing links: https://www.piwheels.org/simple/fte/ 2023-09-08T18:46:32,138 Getting page https://www.piwheels.org/simple/fte/ 2023-09-08T18:46:32,140 Found index url https://www.piwheels.org/simple/ 2023-09-08T18:46:32,455 Fetched page https://www.piwheels.org/simple/fte/ as text/html 2023-09-08T18:46:32,456 Skipping link: not a file: https://www.piwheels.org/simple/fte/ 2023-09-08T18:46:32,456 Skipping link: not a file: https://pypi.org/simple/fte/ 2023-09-08T18:46:32,476 Given no hashes to check 1 links for project 'fte': discarding no candidates 2023-09-08T18:46:32,494 Collecting fte==0.1.1 2023-09-08T18:46:32,496 Created temporary directory: /tmp/pip-unpack-sh4cfka_ 2023-09-08T18:46:32,711 Downloading fte-0.1.1.tar.gz (13 kB) 2023-09-08T18:46:32,752 Added fte==0.1.1 from https://files.pythonhosted.org/packages/c2/bb/8f9beab6555355cac67115afd5a05c4a6b51881bdcf34570d55c96770164/fte-0.1.1.tar.gz to build tracker '/tmp/pip-build-tracker-zggp36b0' 2023-09-08T18:46:32,754 Running setup.py (path:/tmp/pip-wheel-6vvxbk_2/fte_704b187ae13149e5ac07a9fca16aa97c/setup.py) egg_info for package fte 2023-09-08T18:46:32,755 Created temporary directory: /tmp/pip-pip-egg-info-nayr1ott 2023-09-08T18:46:32,756 Preparing metadata (setup.py): started 2023-09-08T18:46:32,757 Running command python setup.py egg_info 2023-09-08T18:46:33,794 running egg_info 2023-09-08T18:46:33,796 creating /tmp/pip-pip-egg-info-nayr1ott/fte.egg-info 2023-09-08T18:46:33,821 writing /tmp/pip-pip-egg-info-nayr1ott/fte.egg-info/PKG-INFO 2023-09-08T18:46:33,823 writing dependency_links to /tmp/pip-pip-egg-info-nayr1ott/fte.egg-info/dependency_links.txt 2023-09-08T18:46:33,825 writing requirements to /tmp/pip-pip-egg-info-nayr1ott/fte.egg-info/requires.txt 2023-09-08T18:46:33,826 writing top-level names to /tmp/pip-pip-egg-info-nayr1ott/fte.egg-info/top_level.txt 2023-09-08T18:46:33,827 writing manifest file '/tmp/pip-pip-egg-info-nayr1ott/fte.egg-info/SOURCES.txt' 2023-09-08T18:46:33,923 reading manifest file '/tmp/pip-pip-egg-info-nayr1ott/fte.egg-info/SOURCES.txt' 2023-09-08T18:46:33,924 reading manifest template 'MANIFEST.in' 2023-09-08T18:46:33,930 writing manifest file '/tmp/pip-pip-egg-info-nayr1ott/fte.egg-info/SOURCES.txt' 2023-09-08T18:46:34,041 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T18:46:34,045 Source in /tmp/pip-wheel-6vvxbk_2/fte_704b187ae13149e5ac07a9fca16aa97c has version 0.1.1, which satisfies requirement fte==0.1.1 from https://files.pythonhosted.org/packages/c2/bb/8f9beab6555355cac67115afd5a05c4a6b51881bdcf34570d55c96770164/fte-0.1.1.tar.gz 2023-09-08T18:46:34,046 Removed fte==0.1.1 from https://files.pythonhosted.org/packages/c2/bb/8f9beab6555355cac67115afd5a05c4a6b51881bdcf34570d55c96770164/fte-0.1.1.tar.gz from build tracker '/tmp/pip-build-tracker-zggp36b0' 2023-09-08T18:46:34,050 Created temporary directory: /tmp/pip-unpack-2trz5swk 2023-09-08T18:46:34,051 Created temporary directory: /tmp/pip-unpack-q7ea8td6 2023-09-08T18:46:34,054 Building wheels for collected packages: fte 2023-09-08T18:46:34,058 Created temporary directory: /tmp/pip-wheel-zvp8ouyt 2023-09-08T18:46:34,059 Building wheel for fte (setup.py): started 2023-09-08T18:46:34,060 Destination directory: /tmp/pip-wheel-zvp8ouyt 2023-09-08T18:46:34,060 Running command python setup.py bdist_wheel 2023-09-08T18:46:35,051 running bdist_wheel 2023-09-08T18:46:35,142 running build 2023-09-08T18:46:35,143 running build_py 2023-09-08T18:46:35,166 creating build 2023-09-08T18:46:35,167 creating build/lib.linux-armv7l-cpython-311 2023-09-08T18:46:35,168 creating build/lib.linux-armv7l-cpython-311/fte 2023-09-08T18:46:35,169 copying fte/__init__.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T18:46:35,170 copying fte/bit_ops.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T18:46:35,172 copying fte/encoder.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T18:46:35,175 copying fte/conf.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T18:46:35,176 copying fte/encrypter.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T18:46:35,178 copying fte/dfa.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T18:46:35,180 copying fte/VERSION -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T18:46:35,183 running build_ext 2023-09-08T18:46:35,686 building 'fte.cDFA' extension 2023-09-08T18:46:35,687 creating build/temp.linux-armv7l-cpython-311 2023-09-08T18:46:35,688 creating build/temp.linux-armv7l-cpython-311/fte 2023-09-08T18:46:35,689 arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Ifte -Ithirdparty/gmp/include -I/usr/include/python3.11 -c fte/cDFA.cc -o build/temp.linux-armv7l-cpython-311/fte/cDFA.o -O3 -fPIC 2023-09-08T18:46:38,117 fte/cDFA.cc: In function ‘PyObject* DFA__unrank(PyObject*, PyObject*)’: 2023-09-08T18:46:38,118 fte/cDFA.cc:81:29: error: ‘PyString_AsString’ was not declared in this scope 2023-09-08T18:46:38,119 81 | const char* the_c_str = PyString_AsString(b64); 2023-09-08T18:46:38,120 | ^~~~~~~~~~~~~~~~~ 2023-09-08T18:46:38,147 fte/cDFA.cc: In function ‘int DFA_init(DFAObject*, PyObject*, PyObject*)’: 2023-09-08T18:46:38,148 fte/cDFA.cc:168:10: error: ‘PyString_Check’ was not declared in this scope; did you mean ‘PyMapping_Check’? 2023-09-08T18:46:38,148 168 | if (!PyString_Check(arg0)) { 2023-09-08T18:46:38,149 | ^~~~~~~~~~~~~~ 2023-09-08T18:46:38,150 | PyMapping_Check 2023-09-08T18:46:38,175 fte/cDFA.cc:172:25: error: ‘PyString_AsString’ was not declared in this scope 2023-09-08T18:46:38,175 172 | const char* regex = PyString_AsString(arg0); 2023-09-08T18:46:38,176 | ^~~~~~~~~~~~~~~~~ 2023-09-08T18:46:38,192 fte/cDFA.cc:175:10: error: ‘PyInt_Check’ was not declared in this scope; did you mean ‘PySet_Check’? 2023-09-08T18:46:38,193 175 | if (!PyInt_Check(arg1)) { 2023-09-08T18:46:38,194 | ^~~~~~~~~~~ 2023-09-08T18:46:38,194 | PySet_Check 2023-09-08T18:46:38,213 fte/cDFA.cc:179:24: error: ‘PyInt_AsLong’ was not declared in this scope; did you mean ‘PyLong_AsLong’? 2023-09-08T18:46:38,213 179 | uint32_t max_len = PyInt_AsLong(arg1); 2023-09-08T18:46:38,214 | ^~~~~~~~~~~~ 2023-09-08T18:46:38,214 | PyLong_AsLong 2023-09-08T18:46:38,219 fte/cDFA.cc: At global scope: 2023-09-08T18:46:38,220 fte/cDFA.cc:210:5: error: invalid conversion from ‘const char*’ to ‘Py_ssize_t’ {aka ‘int’} [-fpermissive] 2023-09-08T18:46:38,220 210 | "DFA", 2023-09-08T18:46:38,221 | ^~~~~ 2023-09-08T18:46:38,221 | | 2023-09-08T18:46:38,222 | const char* 2023-09-08T18:46:38,223 fte/cDFA.cc:213:5: error: invalid conversion from ‘void (*)(PyObject*)’ {aka ‘void (*)(_object*)’} to ‘Py_ssize_t’ {aka ‘int’} [-fpermissive] 2023-09-08T18:46:38,224 213 | DFA_dealloc, /*tp_dealloc*/ 2023-09-08T18:46:38,224 | ^~~~~~~~~~~ 2023-09-08T18:46:38,225 | | 2023-09-08T18:46:38,226 | void (*)(PyObject*) {aka void (*)(_object*)} 2023-09-08T18:46:38,226 fte/cDFA.cc:228:24: error: invalid conversion from ‘long unsigned int’ to ‘const char*’ [-fpermissive] 2023-09-08T18:46:38,227 228 | Py_TPFLAGS_DEFAULT | 2023-09-08T18:46:38,228 fte/cDFA.cc:237:5: error: cannot convert ‘PyMethodDef*’ to ‘PyMemberDef*’ in initialization 2023-09-08T18:46:38,229 237 | DFA_methods, /* tp_methods */ 2023-09-08T18:46:38,229 | ^~~~~~~~~~~ 2023-09-08T18:46:38,230 | | 2023-09-08T18:46:38,231 | PyMethodDef* 2023-09-08T18:46:38,231 fte/cDFA.cc: In function ‘PyObject* initcDFA()’: 2023-09-08T18:46:38,232 fte/cDFA.cc:266:9: error: return-statement with no value, in function returning ‘PyObject*’ {aka ‘_object*’} [-fpermissive] 2023-09-08T18:46:38,232 266 | return; 2023-09-08T18:46:38,233 | ^~~~~~ 2023-09-08T18:46:38,245 fte/cDFA.cc:269:9: error: ‘Py_InitModule’ was not declared in this scope 2023-09-08T18:46:38,246 269 | m = Py_InitModule("cDFA", ftecDFAMethods); 2023-09-08T18:46:38,246 | ^~~~~~~~~~~~~ 2023-09-08T18:46:38,247 fte/cDFA.cc:271:9: error: return-statement with no value, in function returning ‘PyObject*’ {aka ‘_object*’} [-fpermissive] 2023-09-08T18:46:38,248 271 | return; 2023-09-08T18:46:38,248 | ^~~~~~ 2023-09-08T18:46:38,656 fte/cDFA.cc:274:23: warning: control reaches end of non-void function [-Wreturn-type] 2023-09-08T18:46:38,657 274 | PyModule_AddObject(m, "DFA", (PyObject *)&DFAType); 2023-09-08T18:46:38,658 | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T18:46:38,658 fte/cDFA.cc: At global scope: 2023-09-08T18:46:38,659 fte/cDFA.cc:146:1: warning: ‘PyObject* DFA_new(PyTypeObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 2023-09-08T18:46:38,660 146 | DFA_new(PyTypeObject *type, PyObject *args, PyObject *kwds) 2023-09-08T18:46:38,661 | ^~~~~~~ 2023-09-08T18:46:38,670 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T18:46:38,814 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T18:46:38,828 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T18:46:38,828 exec(compile('"'"''"'"''"'"' 2023-09-08T18:46:38,828 # This is -- a caller that pip uses to run setup.py 2023-09-08T18:46:38,828 # 2023-09-08T18:46:38,828 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T18:46:38,828 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T18:46:38,828 # - It provides a clear error message when setuptools is not installed. 2023-09-08T18:46:38,828 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T18:46:38,828 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T18:46:38,828 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T18:46:38,828 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T18:46:38,828 import os, sys, tokenize 2023-09-08T18:46:38,828 2023-09-08T18:46:38,828 try: 2023-09-08T18:46:38,828 import setuptools 2023-09-08T18:46:38,828 except ImportError as error: 2023-09-08T18:46:38,828 print( 2023-09-08T18:46:38,828 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T18:46:38,828 "the build environment.", 2023-09-08T18:46:38,828 file=sys.stderr, 2023-09-08T18:46:38,828 ) 2023-09-08T18:46:38,828 sys.exit(1) 2023-09-08T18:46:38,828 2023-09-08T18:46:38,828 __file__ = %r 2023-09-08T18:46:38,828 sys.argv[0] = __file__ 2023-09-08T18:46:38,828 2023-09-08T18:46:38,828 if os.path.exists(__file__): 2023-09-08T18:46:38,828 filename = __file__ 2023-09-08T18:46:38,828 with tokenize.open(__file__) as f: 2023-09-08T18:46:38,828 setup_py_code = f.read() 2023-09-08T18:46:38,828 else: 2023-09-08T18:46:38,828 filename = "" 2023-09-08T18:46:38,828 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T18:46:38,828 2023-09-08T18:46:38,828 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T18:46:38,828 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-6vvxbk_2/fte_704b187ae13149e5ac07a9fca16aa97c/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-zvp8ouyt[/] 2023-09-08T18:46:38,828 [bold magenta]cwd[/]: /tmp/pip-wheel-6vvxbk_2/fte_704b187ae13149e5ac07a9fca16aa97c/ 2023-09-08T18:46:38,829 Building wheel for fte (setup.py): finished with status 'error' 2023-09-08T18:46:38,830 ERROR: Failed building wheel for fte 2023-09-08T18:46:38,831 Running setup.py clean for fte 2023-09-08T18:46:38,832 Running command python setup.py clean 2023-09-08T18:46:39,834 running clean 2023-09-08T18:46:39,879 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-08T18:46:39,881 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2023-09-08T18:46:39,884 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T18:46:39,884 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T18:46:39,885 removing 'build' 2023-09-08T18:46:39,995 Failed to build fte 2023-09-08T18:46:39,996 ERROR: Failed to build one or more wheels 2023-09-08T18:46:39,997 Exception information: 2023-09-08T18:46:39,997 Traceback (most recent call last): 2023-09-08T18:46:39,997 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T18:46:39,997 status = run_func(*args) 2023-09-08T18:46:39,997 ^^^^^^^^^^^^^^^ 2023-09-08T18:46:39,997 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T18:46:39,997 return func(self, options, args) 2023-09-08T18:46:39,997 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T18:46:39,997 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T18:46:39,997 raise CommandError("Failed to build one or more wheels") 2023-09-08T18:46:39,997 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T18:46:40,001 Removed build tracker: '/tmp/pip-build-tracker-zggp36b0'