2023-09-08T19:00:56,972 Created temporary directory: /tmp/pip-build-tracker-ugqy0m7j 2023-09-08T19:00:56,973 Initialized build tracking at /tmp/pip-build-tracker-ugqy0m7j 2023-09-08T19:00:56,973 Created build tracker: /tmp/pip-build-tracker-ugqy0m7j 2023-09-08T19:00:56,974 Entered build tracker: /tmp/pip-build-tracker-ugqy0m7j 2023-09-08T19:00:56,975 Created temporary directory: /tmp/pip-wheel-n8a8uz39 2023-09-08T19:00:56,978 Created temporary directory: /tmp/pip-ephem-wheel-cache-84o_9x0b 2023-09-08T19:00:56,999 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T19:00:57,003 2 location(s) to search for versions of fte: 2023-09-08T19:00:57,003 * https://pypi.org/simple/fte/ 2023-09-08T19:00:57,003 * https://www.piwheels.org/simple/fte/ 2023-09-08T19:00:57,004 Fetching project page and analyzing links: https://pypi.org/simple/fte/ 2023-09-08T19:00:57,005 Getting page https://pypi.org/simple/fte/ 2023-09-08T19:00:57,006 Found index url https://pypi.org/simple/ 2023-09-08T19:00:57,144 Fetched page https://pypi.org/simple/fte/ as application/vnd.pypi.simple.v1+json 2023-09-08T19:00:57,147 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-08T19:00:57,148 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-08T19:00:57,149 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-08T19:00:57,149 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-08T19:00:57,150 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-08T19:00:57,151 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-08T19:00:57,151 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-08T19:00:57,152 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-08T19:00:57,153 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-08T19:00:57,154 Fetching project page and analyzing links: https://www.piwheels.org/simple/fte/ 2023-09-08T19:00:57,155 Getting page https://www.piwheels.org/simple/fte/ 2023-09-08T19:00:57,156 Found index url https://www.piwheels.org/simple/ 2023-09-08T19:00:57,453 Fetched page https://www.piwheels.org/simple/fte/ as text/html 2023-09-08T19:00:57,454 Skipping link: not a file: https://www.piwheels.org/simple/fte/ 2023-09-08T19:00:57,454 Skipping link: not a file: https://pypi.org/simple/fte/ 2023-09-08T19:00:57,473 Given no hashes to check 1 links for project 'fte': discarding no candidates 2023-09-08T19:00:57,491 Collecting fte==0.1.3 2023-09-08T19:00:57,494 Created temporary directory: /tmp/pip-unpack-6sebbg3l 2023-09-08T19:00:57,706 Downloading fte-0.1.3.tar.gz (13 kB) 2023-09-08T19:00:57,747 Added fte==0.1.3 from https://files.pythonhosted.org/packages/a1/0f/3c535bd0783f116113b103284550d2a904e5bfb5c6e728709cf7abd71b34/fte-0.1.3.tar.gz to build tracker '/tmp/pip-build-tracker-ugqy0m7j' 2023-09-08T19:00:57,748 Running setup.py (path:/tmp/pip-wheel-n8a8uz39/fte_e8cae81c1e6e4e5a8b3ceb7c60c88b81/setup.py) egg_info for package fte 2023-09-08T19:00:57,749 Created temporary directory: /tmp/pip-pip-egg-info-ae_jime0 2023-09-08T19:00:57,750 Preparing metadata (setup.py): started 2023-09-08T19:00:57,752 Running command python setup.py egg_info 2023-09-08T19:00:58,781 running egg_info 2023-09-08T19:00:58,783 creating /tmp/pip-pip-egg-info-ae_jime0/fte.egg-info 2023-09-08T19:00:58,807 writing /tmp/pip-pip-egg-info-ae_jime0/fte.egg-info/PKG-INFO 2023-09-08T19:00:58,810 writing dependency_links to /tmp/pip-pip-egg-info-ae_jime0/fte.egg-info/dependency_links.txt 2023-09-08T19:00:58,812 writing requirements to /tmp/pip-pip-egg-info-ae_jime0/fte.egg-info/requires.txt 2023-09-08T19:00:58,813 writing top-level names to /tmp/pip-pip-egg-info-ae_jime0/fte.egg-info/top_level.txt 2023-09-08T19:00:58,814 writing manifest file '/tmp/pip-pip-egg-info-ae_jime0/fte.egg-info/SOURCES.txt' 2023-09-08T19:00:58,911 reading manifest file '/tmp/pip-pip-egg-info-ae_jime0/fte.egg-info/SOURCES.txt' 2023-09-08T19:00:58,912 reading manifest template 'MANIFEST.in' 2023-09-08T19:00:58,918 writing manifest file '/tmp/pip-pip-egg-info-ae_jime0/fte.egg-info/SOURCES.txt' 2023-09-08T19:00:59,030 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T19:00:59,034 Source in /tmp/pip-wheel-n8a8uz39/fte_e8cae81c1e6e4e5a8b3ceb7c60c88b81 has version 0.1.3, which satisfies requirement fte==0.1.3 from https://files.pythonhosted.org/packages/a1/0f/3c535bd0783f116113b103284550d2a904e5bfb5c6e728709cf7abd71b34/fte-0.1.3.tar.gz 2023-09-08T19:00:59,035 Removed fte==0.1.3 from https://files.pythonhosted.org/packages/a1/0f/3c535bd0783f116113b103284550d2a904e5bfb5c6e728709cf7abd71b34/fte-0.1.3.tar.gz from build tracker '/tmp/pip-build-tracker-ugqy0m7j' 2023-09-08T19:00:59,039 Created temporary directory: /tmp/pip-unpack-u938_4jj 2023-09-08T19:00:59,040 Created temporary directory: /tmp/pip-unpack-0ju7yasc 2023-09-08T19:00:59,044 Building wheels for collected packages: fte 2023-09-08T19:00:59,048 Created temporary directory: /tmp/pip-wheel-edmk644y 2023-09-08T19:00:59,049 Building wheel for fte (setup.py): started 2023-09-08T19:00:59,050 Destination directory: /tmp/pip-wheel-edmk644y 2023-09-08T19:00:59,051 Running command python setup.py bdist_wheel 2023-09-08T19:01:00,038 running bdist_wheel 2023-09-08T19:01:00,131 running build 2023-09-08T19:01:00,131 running build_py 2023-09-08T19:01:00,155 creating build 2023-09-08T19:01:00,156 creating build/lib.linux-armv7l-cpython-311 2023-09-08T19:01:00,156 creating build/lib.linux-armv7l-cpython-311/fte 2023-09-08T19:01:00,158 copying fte/__init__.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T19:01:00,159 copying fte/encoder.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T19:01:00,161 copying fte/conf.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T19:01:00,163 copying fte/encrypter.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T19:01:00,165 copying fte/bit_ops.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T19:01:00,167 copying fte/dfa.py -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T19:01:00,169 copying fte/VERSION -> build/lib.linux-armv7l-cpython-311/fte 2023-09-08T19:01:00,171 running build_ext 2023-09-08T19:01:00,670 building 'fte.cDFA' extension 2023-09-08T19:01:00,671 creating build/temp.linux-armv7l-cpython-311 2023-09-08T19:01:00,672 creating build/temp.linux-armv7l-cpython-311/fte 2023-09-08T19:01:00,673 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-08T19:01:03,098 fte/cDFA.cc: In function ‘PyObject* DFA__unrank(PyObject*, PyObject*)’: 2023-09-08T19:01:03,099 fte/cDFA.cc:81:29: error: ‘PyString_AsString’ was not declared in this scope 2023-09-08T19:01:03,100 81 | const char* the_c_str = PyString_AsString(b64); 2023-09-08T19:01:03,101 | ^~~~~~~~~~~~~~~~~ 2023-09-08T19:01:03,128 fte/cDFA.cc: In function ‘int DFA_init(DFAObject*, PyObject*, PyObject*)’: 2023-09-08T19:01:03,128 fte/cDFA.cc:168:10: error: ‘PyString_Check’ was not declared in this scope; did you mean ‘PyMapping_Check’? 2023-09-08T19:01:03,129 168 | if (!PyString_Check(arg0)) { 2023-09-08T19:01:03,130 | ^~~~~~~~~~~~~~ 2023-09-08T19:01:03,130 | PyMapping_Check 2023-09-08T19:01:03,155 fte/cDFA.cc:172:25: error: ‘PyString_AsString’ was not declared in this scope 2023-09-08T19:01:03,156 172 | const char* regex = PyString_AsString(arg0); 2023-09-08T19:01:03,156 | ^~~~~~~~~~~~~~~~~ 2023-09-08T19:01:03,173 fte/cDFA.cc:175:10: error: ‘PyInt_Check’ was not declared in this scope; did you mean ‘PySet_Check’? 2023-09-08T19:01:03,173 175 | if (!PyInt_Check(arg1)) { 2023-09-08T19:01:03,174 | ^~~~~~~~~~~ 2023-09-08T19:01:03,175 | PySet_Check 2023-09-08T19:01:03,193 fte/cDFA.cc:179:24: error: ‘PyInt_AsLong’ was not declared in this scope; did you mean ‘PyLong_AsLong’? 2023-09-08T19:01:03,193 179 | uint32_t max_len = PyInt_AsLong(arg1); 2023-09-08T19:01:03,194 | ^~~~~~~~~~~~ 2023-09-08T19:01:03,194 | PyLong_AsLong 2023-09-08T19:01:03,199 fte/cDFA.cc: At global scope: 2023-09-08T19:01:03,199 fte/cDFA.cc:210:5: error: invalid conversion from ‘const char*’ to ‘Py_ssize_t’ {aka ‘int’} [-fpermissive] 2023-09-08T19:01:03,200 210 | "DFA", 2023-09-08T19:01:03,201 | ^~~~~ 2023-09-08T19:01:03,202 | | 2023-09-08T19:01:03,202 | const char* 2023-09-08T19:01:03,203 fte/cDFA.cc:213:5: error: invalid conversion from ‘void (*)(PyObject*)’ {aka ‘void (*)(_object*)’} to ‘Py_ssize_t’ {aka ‘int’} [-fpermissive] 2023-09-08T19:01:03,204 213 | DFA_dealloc, /*tp_dealloc*/ 2023-09-08T19:01:03,204 | ^~~~~~~~~~~ 2023-09-08T19:01:03,205 | | 2023-09-08T19:01:03,206 | void (*)(PyObject*) {aka void (*)(_object*)} 2023-09-08T19:01:03,207 fte/cDFA.cc:228:24: error: invalid conversion from ‘long unsigned int’ to ‘const char*’ [-fpermissive] 2023-09-08T19:01:03,208 228 | Py_TPFLAGS_DEFAULT | 2023-09-08T19:01:03,208 fte/cDFA.cc:237:5: error: cannot convert ‘PyMethodDef*’ to ‘PyMemberDef*’ in initialization 2023-09-08T19:01:03,209 237 | DFA_methods, /* tp_methods */ 2023-09-08T19:01:03,210 | ^~~~~~~~~~~ 2023-09-08T19:01:03,211 | | 2023-09-08T19:01:03,211 | PyMethodDef* 2023-09-08T19:01:03,212 fte/cDFA.cc: In function ‘PyObject* initcDFA()’: 2023-09-08T19:01:03,212 fte/cDFA.cc:266:9: error: return-statement with no value, in function returning ‘PyObject*’ {aka ‘_object*’} [-fpermissive] 2023-09-08T19:01:03,213 266 | return; 2023-09-08T19:01:03,213 | ^~~~~~ 2023-09-08T19:01:03,225 fte/cDFA.cc:269:9: error: ‘Py_InitModule’ was not declared in this scope 2023-09-08T19:01:03,226 269 | m = Py_InitModule("cDFA", ftecDFAMethods); 2023-09-08T19:01:03,226 | ^~~~~~~~~~~~~ 2023-09-08T19:01:03,227 fte/cDFA.cc:271:9: error: return-statement with no value, in function returning ‘PyObject*’ {aka ‘_object*’} [-fpermissive] 2023-09-08T19:01:03,228 271 | return; 2023-09-08T19:01:03,228 | ^~~~~~ 2023-09-08T19:01:03,635 fte/cDFA.cc:274:23: warning: control reaches end of non-void function [-Wreturn-type] 2023-09-08T19:01:03,636 274 | PyModule_AddObject(m, "DFA", (PyObject *)&DFAType); 2023-09-08T19:01:03,637 | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T19:01:03,638 fte/cDFA.cc: At global scope: 2023-09-08T19:01:03,639 fte/cDFA.cc:146:1: warning: ‘PyObject* DFA_new(PyTypeObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 2023-09-08T19:01:03,640 146 | DFA_new(PyTypeObject *type, PyObject *args, PyObject *kwds) 2023-09-08T19:01:03,641 | ^~~~~~~ 2023-09-08T19:01:03,649 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T19:01:03,794 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T19:01:03,809 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T19:01:03,809 exec(compile('"'"''"'"''"'"' 2023-09-08T19:01:03,809 # This is -- a caller that pip uses to run setup.py 2023-09-08T19:01:03,809 # 2023-09-08T19:01:03,809 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T19:01:03,809 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T19:01:03,809 # - It provides a clear error message when setuptools is not installed. 2023-09-08T19:01:03,809 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T19:01:03,809 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T19:01:03,809 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T19:01:03,809 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T19:01:03,809 import os, sys, tokenize 2023-09-08T19:01:03,809 2023-09-08T19:01:03,809 try: 2023-09-08T19:01:03,809 import setuptools 2023-09-08T19:01:03,809 except ImportError as error: 2023-09-08T19:01:03,809 print( 2023-09-08T19:01:03,809 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T19:01:03,809 "the build environment.", 2023-09-08T19:01:03,809 file=sys.stderr, 2023-09-08T19:01:03,809 ) 2023-09-08T19:01:03,809 sys.exit(1) 2023-09-08T19:01:03,809 2023-09-08T19:01:03,809 __file__ = %r 2023-09-08T19:01:03,809 sys.argv[0] = __file__ 2023-09-08T19:01:03,809 2023-09-08T19:01:03,809 if os.path.exists(__file__): 2023-09-08T19:01:03,809 filename = __file__ 2023-09-08T19:01:03,809 with tokenize.open(__file__) as f: 2023-09-08T19:01:03,809 setup_py_code = f.read() 2023-09-08T19:01:03,809 else: 2023-09-08T19:01:03,809 filename = "" 2023-09-08T19:01:03,809 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T19:01:03,809 2023-09-08T19:01:03,809 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T19:01:03,809 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-n8a8uz39/fte_e8cae81c1e6e4e5a8b3ceb7c60c88b81/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-edmk644y[/] 2023-09-08T19:01:03,810 [bold magenta]cwd[/]: /tmp/pip-wheel-n8a8uz39/fte_e8cae81c1e6e4e5a8b3ceb7c60c88b81/ 2023-09-08T19:01:03,810 Building wheel for fte (setup.py): finished with status 'error' 2023-09-08T19:01:03,812 ERROR: Failed building wheel for fte 2023-09-08T19:01:03,813 Running setup.py clean for fte 2023-09-08T19:01:03,814 Running command python setup.py clean 2023-09-08T19:01:04,799 running clean 2023-09-08T19:01:04,844 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-08T19:01:04,846 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2023-09-08T19:01:04,849 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T19:01:04,850 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T19:01:04,851 removing 'build' 2023-09-08T19:01:04,961 Failed to build fte 2023-09-08T19:01:04,962 ERROR: Failed to build one or more wheels 2023-09-08T19:01:04,963 Exception information: 2023-09-08T19:01:04,963 Traceback (most recent call last): 2023-09-08T19:01:04,963 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T19:01:04,963 status = run_func(*args) 2023-09-08T19:01:04,963 ^^^^^^^^^^^^^^^ 2023-09-08T19:01:04,963 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T19:01:04,963 return func(self, options, args) 2023-09-08T19:01:04,963 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T19:01:04,963 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T19:01:04,963 raise CommandError("Failed to build one or more wheels") 2023-09-08T19:01:04,963 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T19:01:04,967 Removed build tracker: '/tmp/pip-build-tracker-ugqy0m7j'