2023-09-08T16:18:35,701 Created temporary directory: /tmp/pip-build-tracker-d9f3weq4 2023-09-08T16:18:35,703 Initialized build tracking at /tmp/pip-build-tracker-d9f3weq4 2023-09-08T16:18:35,703 Created build tracker: /tmp/pip-build-tracker-d9f3weq4 2023-09-08T16:18:35,704 Entered build tracker: /tmp/pip-build-tracker-d9f3weq4 2023-09-08T16:18:35,704 Created temporary directory: /tmp/pip-wheel-tl_8xb7a 2023-09-08T16:18:35,707 Created temporary directory: /tmp/pip-ephem-wheel-cache-92dwp2cd 2023-09-08T16:18:35,729 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T16:18:35,733 2 location(s) to search for versions of fte: 2023-09-08T16:18:35,733 * https://pypi.org/simple/fte/ 2023-09-08T16:18:35,733 * https://www.piwheels.org/simple/fte/ 2023-09-08T16:18:35,734 Fetching project page and analyzing links: https://pypi.org/simple/fte/ 2023-09-08T16:18:35,734 Getting page https://pypi.org/simple/fte/ 2023-09-08T16:18:35,736 Found index url https://pypi.org/simple/ 2023-09-08T16:18:35,877 Fetched page https://pypi.org/simple/fte/ as application/vnd.pypi.simple.v1+json 2023-09-08T16:18:35,880 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-08T16:18:35,881 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-08T16:18:35,881 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-08T16:18:35,882 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-08T16:18:35,883 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-08T16:18:35,883 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-08T16:18:35,884 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-08T16:18:35,884 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-08T16:18:35,885 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-08T16:18:35,886 Fetching project page and analyzing links: https://www.piwheels.org/simple/fte/ 2023-09-08T16:18:35,887 Getting page https://www.piwheels.org/simple/fte/ 2023-09-08T16:18:35,888 Found index url https://www.piwheels.org/simple/ 2023-09-08T16:18:36,259 Fetched page https://www.piwheels.org/simple/fte/ as text/html 2023-09-08T16:18:36,261 Skipping link: not a file: https://www.piwheels.org/simple/fte/ 2023-09-08T16:18:36,262 Skipping link: not a file: https://pypi.org/simple/fte/ 2023-09-08T16:18:36,293 Given no hashes to check 1 links for project 'fte': discarding no candidates 2023-09-08T16:18:36,322 Collecting fte==0.1.0 2023-09-08T16:18:36,326 Created temporary directory: /tmp/pip-unpack-i1huzlvk 2023-09-08T16:18:36,552 Downloading fte-0.1.0.tar.gz (12 kB) 2023-09-08T16:18:36,599 Added fte==0.1.0 from https://files.pythonhosted.org/packages/0a/31/bf05adb5977aa59c34dcbd61849a41e53ca94107f27b9985049a9029c6fa/fte-0.1.0.tar.gz to build tracker '/tmp/pip-build-tracker-d9f3weq4' 2023-09-08T16:18:36,601 Running setup.py (path:/tmp/pip-wheel-tl_8xb7a/fte_ebcb176b98914217977124ed2c0df87f/setup.py) egg_info for package fte 2023-09-08T16:18:36,602 Created temporary directory: /tmp/pip-pip-egg-info-19q67xf0 2023-09-08T16:18:36,603 Preparing metadata (setup.py): started 2023-09-08T16:18:36,604 Running command python setup.py egg_info 2023-09-08T16:18:37,611 running egg_info 2023-09-08T16:18:37,613 creating /tmp/pip-pip-egg-info-19q67xf0/fte.egg-info 2023-09-08T16:18:37,638 writing /tmp/pip-pip-egg-info-19q67xf0/fte.egg-info/PKG-INFO 2023-09-08T16:18:37,640 writing dependency_links to /tmp/pip-pip-egg-info-19q67xf0/fte.egg-info/dependency_links.txt 2023-09-08T16:18:37,642 writing requirements to /tmp/pip-pip-egg-info-19q67xf0/fte.egg-info/requires.txt 2023-09-08T16:18:37,643 writing top-level names to /tmp/pip-pip-egg-info-19q67xf0/fte.egg-info/top_level.txt 2023-09-08T16:18:37,645 writing manifest file '/tmp/pip-pip-egg-info-19q67xf0/fte.egg-info/SOURCES.txt' 2023-09-08T16:18:37,742 reading manifest file '/tmp/pip-pip-egg-info-19q67xf0/fte.egg-info/SOURCES.txt' 2023-09-08T16:18:37,743 reading manifest template 'MANIFEST.in' 2023-09-08T16:18:37,746 warning: no files found matching '*' under directory 'thirdparty' 2023-09-08T16:18:37,746 warning: no files found matching 'Makefile' 2023-09-08T16:18:37,750 writing manifest file '/tmp/pip-pip-egg-info-19q67xf0/fte.egg-info/SOURCES.txt' 2023-09-08T16:18:37,861 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T16:18:37,865 Source in /tmp/pip-wheel-tl_8xb7a/fte_ebcb176b98914217977124ed2c0df87f has version 0.1.0, which satisfies requirement fte==0.1.0 from https://files.pythonhosted.org/packages/0a/31/bf05adb5977aa59c34dcbd61849a41e53ca94107f27b9985049a9029c6fa/fte-0.1.0.tar.gz 2023-09-08T16:18:37,866 Removed fte==0.1.0 from https://files.pythonhosted.org/packages/0a/31/bf05adb5977aa59c34dcbd61849a41e53ca94107f27b9985049a9029c6fa/fte-0.1.0.tar.gz from build tracker '/tmp/pip-build-tracker-d9f3weq4' 2023-09-08T16:18:37,870 Created temporary directory: /tmp/pip-unpack-gdut7b3r 2023-09-08T16:18:37,871 Created temporary directory: /tmp/pip-unpack-br0jsuip 2023-09-08T16:18:37,875 Building wheels for collected packages: fte 2023-09-08T16:18:37,879 Created temporary directory: /tmp/pip-wheel-ngub6r3u 2023-09-08T16:18:37,879 Building wheel for fte (setup.py): started 2023-09-08T16:18:37,881 Destination directory: /tmp/pip-wheel-ngub6r3u 2023-09-08T16:18:37,881 Running command python setup.py bdist_wheel 2023-09-08T16:18:38,882 running bdist_wheel 2023-09-08T16:18:38,974 running build 2023-09-08T16:18:38,975 running build_py 2023-09-08T16:18:38,998 creating build 2023-09-08T16:18:38,999 creating build/lib.linux-armv7l-cpython-311 2023-09-08T16:18:39,000 creating build/lib.linux-armv7l-cpython-311/fte 2023-09-08T16:18:39,001 copying fte/bit_ops.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T16:18:39,003 copying fte/conf.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T16:18:39,005 copying fte/encrypter.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T16:18:39,007 copying fte/dfa.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T16:18:39,008 copying fte/encoder.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T16:18:39,010 copying fte/__init__.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T16:18:39,012 copying fte/VERSION -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T16:18:39,014 running build_ext 2023-09-08T16:18:39,518 building 'fte.cDFA' extension 2023-09-08T16:18:39,519 creating build/temp.linux-armv7l-cpython-311 2023-09-08T16:18:39,519 creating build/temp.linux-armv7l-cpython-311/fte 2023-09-08T16:18:39,520 arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Ifte -I/usr/include/python3.11 -c fte/cDFA.cc -o build/temp.linux-armv7l-cpython-311/fte/cDFA.o -O3 -fPIC 2023-09-08T16:18:42,201 fte/cDFA.cc: In function ‘PyObject* DFA__unrank(PyObject*, PyObject*)’: 2023-09-08T16:18:42,202 fte/cDFA.cc:81:29: error: ‘PyString_AsString’ was not declared in this scope 2023-09-08T16:18:42,203 81 | const char* the_c_str = PyString_AsString(b64); 2023-09-08T16:18:42,203 | ^~~~~~~~~~~~~~~~~ 2023-09-08T16:18:42,231 fte/cDFA.cc: In function ‘int DFA_init(DFAObject*, PyObject*, PyObject*)’: 2023-09-08T16:18:42,232 fte/cDFA.cc:168:10: error: ‘PyString_Check’ was not declared in this scope; did you mean ‘PyMapping_Check’? 2023-09-08T16:18:42,232 168 | if (!PyString_Check(arg0)) { 2023-09-08T16:18:42,233 | ^~~~~~~~~~~~~~ 2023-09-08T16:18:42,233 | PyMapping_Check 2023-09-08T16:18:42,259 fte/cDFA.cc:172:25: error: ‘PyString_AsString’ was not declared in this scope 2023-09-08T16:18:42,260 172 | const char* regex = PyString_AsString(arg0); 2023-09-08T16:18:42,260 | ^~~~~~~~~~~~~~~~~ 2023-09-08T16:18:42,277 fte/cDFA.cc:175:10: error: ‘PyInt_Check’ was not declared in this scope; did you mean ‘PySet_Check’? 2023-09-08T16:18:42,278 175 | if (!PyInt_Check(arg1)) { 2023-09-08T16:18:42,279 | ^~~~~~~~~~~ 2023-09-08T16:18:42,279 | PySet_Check 2023-09-08T16:18:42,298 fte/cDFA.cc:179:24: error: ‘PyInt_AsLong’ was not declared in this scope; did you mean ‘PyLong_AsLong’? 2023-09-08T16:18:42,298 179 | uint32_t max_len = PyInt_AsLong(arg1); 2023-09-08T16:18:42,299 | ^~~~~~~~~~~~ 2023-09-08T16:18:42,299 | PyLong_AsLong 2023-09-08T16:18:42,304 fte/cDFA.cc: At global scope: 2023-09-08T16:18:42,305 fte/cDFA.cc:210:5: error: invalid conversion from ‘const char*’ to ‘Py_ssize_t’ {aka ‘int’} [-fpermissive] 2023-09-08T16:18:42,305 210 | "DFA", 2023-09-08T16:18:42,306 | ^~~~~ 2023-09-08T16:18:42,307 | | 2023-09-08T16:18:42,308 | const char* 2023-09-08T16:18:42,308 fte/cDFA.cc:213:5: error: invalid conversion from ‘void (*)(PyObject*)’ {aka ‘void (*)(_object*)’} to ‘Py_ssize_t’ {aka ‘int’} [-fpermissive] 2023-09-08T16:18:42,309 213 | DFA_dealloc, /*tp_dealloc*/ 2023-09-08T16:18:42,310 | ^~~~~~~~~~~ 2023-09-08T16:18:42,311 | | 2023-09-08T16:18:42,311 | void (*)(PyObject*) {aka void (*)(_object*)} 2023-09-08T16:18:42,312 fte/cDFA.cc:228:24: error: invalid conversion from ‘long unsigned int’ to ‘const char*’ [-fpermissive] 2023-09-08T16:18:42,313 228 | Py_TPFLAGS_DEFAULT | 2023-09-08T16:18:42,314 fte/cDFA.cc:237:5: error: cannot convert ‘PyMethodDef*’ to ‘PyMemberDef*’ in initialization 2023-09-08T16:18:42,315 237 | DFA_methods, /* tp_methods */ 2023-09-08T16:18:42,315 | ^~~~~~~~~~~ 2023-09-08T16:18:42,316 | | 2023-09-08T16:18:42,317 | PyMethodDef* 2023-09-08T16:18:42,317 fte/cDFA.cc: In function ‘PyObject* initcDFA()’: 2023-09-08T16:18:42,318 fte/cDFA.cc:266:9: error: return-statement with no value, in function returning ‘PyObject*’ {aka ‘_object*’} [-fpermissive] 2023-09-08T16:18:42,319 266 | return; 2023-09-08T16:18:42,320 | ^~~~~~ 2023-09-08T16:18:42,330 fte/cDFA.cc:269:9: error: ‘Py_InitModule’ was not declared in this scope 2023-09-08T16:18:42,331 269 | m = Py_InitModule("cDFA", ftecDFAMethods); 2023-09-08T16:18:42,332 | ^~~~~~~~~~~~~ 2023-09-08T16:18:42,332 fte/cDFA.cc:271:9: error: return-statement with no value, in function returning ‘PyObject*’ {aka ‘_object*’} [-fpermissive] 2023-09-08T16:18:42,333 271 | return; 2023-09-08T16:18:42,334 | ^~~~~~ 2023-09-08T16:18:42,740 fte/cDFA.cc:274:23: warning: control reaches end of non-void function [-Wreturn-type] 2023-09-08T16:18:42,741 274 | PyModule_AddObject(m, "DFA", (PyObject *)&DFAType); 2023-09-08T16:18:42,742 | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:18:42,743 fte/cDFA.cc: At global scope: 2023-09-08T16:18:42,744 fte/cDFA.cc:146:1: warning: ‘PyObject* DFA_new(PyTypeObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 2023-09-08T16:18:42,745 146 | DFA_new(PyTypeObject *type, PyObject *args, PyObject *kwds) 2023-09-08T16:18:42,745 | ^~~~~~~ 2023-09-08T16:18:42,755 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T16:18:42,899 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T16:18:42,912 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T16:18:42,912 exec(compile('"'"''"'"''"'"' 2023-09-08T16:18:42,912 # This is -- a caller that pip uses to run setup.py 2023-09-08T16:18:42,912 # 2023-09-08T16:18:42,912 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T16:18:42,912 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T16:18:42,912 # - It provides a clear error message when setuptools is not installed. 2023-09-08T16:18:42,912 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T16:18:42,912 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T16:18:42,912 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T16:18:42,912 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T16:18:42,912 import os, sys, tokenize 2023-09-08T16:18:42,912 2023-09-08T16:18:42,912 try: 2023-09-08T16:18:42,912 import setuptools 2023-09-08T16:18:42,912 except ImportError as error: 2023-09-08T16:18:42,912 print( 2023-09-08T16:18:42,912 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T16:18:42,912 "the build environment.", 2023-09-08T16:18:42,912 file=sys.stderr, 2023-09-08T16:18:42,912 ) 2023-09-08T16:18:42,912 sys.exit(1) 2023-09-08T16:18:42,912 2023-09-08T16:18:42,912 __file__ = %r 2023-09-08T16:18:42,912 sys.argv[0] = __file__ 2023-09-08T16:18:42,912 2023-09-08T16:18:42,912 if os.path.exists(__file__): 2023-09-08T16:18:42,912 filename = __file__ 2023-09-08T16:18:42,912 with tokenize.open(__file__) as f: 2023-09-08T16:18:42,912 setup_py_code = f.read() 2023-09-08T16:18:42,912 else: 2023-09-08T16:18:42,912 filename = "" 2023-09-08T16:18:42,912 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T16:18:42,912 2023-09-08T16:18:42,912 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T16:18:42,912 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-tl_8xb7a/fte_ebcb176b98914217977124ed2c0df87f/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-ngub6r3u[/] 2023-09-08T16:18:42,913 [bold magenta]cwd[/]: /tmp/pip-wheel-tl_8xb7a/fte_ebcb176b98914217977124ed2c0df87f/ 2023-09-08T16:18:42,913 Building wheel for fte (setup.py): finished with status 'error' 2023-09-08T16:18:42,914 ERROR: Failed building wheel for fte 2023-09-08T16:18:42,916 Running setup.py clean for fte 2023-09-08T16:18:42,917 Running command python setup.py clean 2023-09-08T16:18:43,930 running clean 2023-09-08T16:18:43,976 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-08T16:18:43,978 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2023-09-08T16:18:43,983 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T16:18:43,984 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T16:18:43,985 removing 'build' 2023-09-08T16:18:44,095 Failed to build fte 2023-09-08T16:18:44,096 ERROR: Failed to build one or more wheels 2023-09-08T16:18:44,097 Exception information: 2023-09-08T16:18:44,097 Traceback (most recent call last): 2023-09-08T16:18:44,097 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T16:18:44,097 status = run_func(*args) 2023-09-08T16:18:44,097 ^^^^^^^^^^^^^^^ 2023-09-08T16:18:44,097 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T16:18:44,097 return func(self, options, args) 2023-09-08T16:18:44,097 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T16:18:44,097 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T16:18:44,097 raise CommandError("Failed to build one or more wheels") 2023-09-08T16:18:44,097 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T16:18:44,101 Removed build tracker: '/tmp/pip-build-tracker-d9f3weq4'