2023-09-08T00:59:57,767 Created temporary directory: /tmp/pip-build-tracker-v0ail9no 2023-09-08T00:59:57,768 Initialized build tracking at /tmp/pip-build-tracker-v0ail9no 2023-09-08T00:59:57,769 Created build tracker: /tmp/pip-build-tracker-v0ail9no 2023-09-08T00:59:57,769 Entered build tracker: /tmp/pip-build-tracker-v0ail9no 2023-09-08T00:59:57,770 Created temporary directory: /tmp/pip-wheel-lp6sdxbp 2023-09-08T00:59:57,773 Created temporary directory: /tmp/pip-ephem-wheel-cache-jdjhz9mu 2023-09-08T00:59:57,795 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T00:59:57,799 2 location(s) to search for versions of mycaptcha: 2023-09-08T00:59:57,799 * https://pypi.org/simple/mycaptcha/ 2023-09-08T00:59:57,799 * https://www.piwheels.org/simple/mycaptcha/ 2023-09-08T00:59:57,800 Fetching project page and analyzing links: https://pypi.org/simple/mycaptcha/ 2023-09-08T00:59:57,801 Getting page https://pypi.org/simple/mycaptcha/ 2023-09-08T00:59:57,802 Found index url https://pypi.org/simple/ 2023-09-08T00:59:58,053 Fetched page https://pypi.org/simple/mycaptcha/ as application/vnd.pypi.simple.v1+json 2023-09-08T00:59:58,054 Found link https://files.pythonhosted.org/packages/5b/18/a99dabce0bb631f58fcb5616fa662fa0b4a75c9c0afa09adc0eacbac2bfc/mycaptcha-1.9.tar.gz (from https://pypi.org/simple/mycaptcha/), version: 1.9 2023-09-08T00:59:58,055 Fetching project page and analyzing links: https://www.piwheels.org/simple/mycaptcha/ 2023-09-08T00:59:58,056 Getting page https://www.piwheels.org/simple/mycaptcha/ 2023-09-08T00:59:58,057 Found index url https://www.piwheels.org/simple/ 2023-09-08T00:59:58,836 Fetched page https://www.piwheels.org/simple/mycaptcha/ as text/html 2023-09-08T00:59:58,838 Skipping link: not a file: https://www.piwheels.org/simple/mycaptcha/ 2023-09-08T00:59:58,839 Skipping link: not a file: https://pypi.org/simple/mycaptcha/ 2023-09-08T00:59:58,873 Given no hashes to check 1 links for project 'mycaptcha': discarding no candidates 2023-09-08T00:59:58,905 Collecting mycaptcha==1.9 2023-09-08T00:59:58,909 Created temporary directory: /tmp/pip-unpack-w3wlw_a2 2023-09-08T00:59:59,139 Downloading mycaptcha-1.9.tar.gz (32 kB) 2023-09-08T00:59:59,177 Added mycaptcha==1.9 from https://files.pythonhosted.org/packages/5b/18/a99dabce0bb631f58fcb5616fa662fa0b4a75c9c0afa09adc0eacbac2bfc/mycaptcha-1.9.tar.gz to build tracker '/tmp/pip-build-tracker-v0ail9no' 2023-09-08T00:59:59,179 Running setup.py (path:/tmp/pip-wheel-lp6sdxbp/mycaptcha_d013b1deb36b4dcca16610e36f3b2d2a/setup.py) egg_info for package mycaptcha 2023-09-08T00:59:59,180 Created temporary directory: /tmp/pip-pip-egg-info-gko_gf7z 2023-09-08T00:59:59,180 Preparing metadata (setup.py): started 2023-09-08T00:59:59,182 Running command python setup.py egg_info 2023-09-08T01:00:00,184 running egg_info 2023-09-08T01:00:00,185 creating /tmp/pip-pip-egg-info-gko_gf7z/mycaptcha.egg-info 2023-09-08T01:00:00,210 writing /tmp/pip-pip-egg-info-gko_gf7z/mycaptcha.egg-info/PKG-INFO 2023-09-08T01:00:00,213 writing dependency_links to /tmp/pip-pip-egg-info-gko_gf7z/mycaptcha.egg-info/dependency_links.txt 2023-09-08T01:00:00,215 writing top-level names to /tmp/pip-pip-egg-info-gko_gf7z/mycaptcha.egg-info/top_level.txt 2023-09-08T01:00:00,216 writing manifest file '/tmp/pip-pip-egg-info-gko_gf7z/mycaptcha.egg-info/SOURCES.txt' 2023-09-08T01:00:00,314 reading manifest file '/tmp/pip-pip-egg-info-gko_gf7z/mycaptcha.egg-info/SOURCES.txt' 2023-09-08T01:00:00,315 reading manifest template 'MANIFEST.in' 2023-09-08T01:00:00,319 writing manifest file '/tmp/pip-pip-egg-info-gko_gf7z/mycaptcha.egg-info/SOURCES.txt' 2023-09-08T01:00:00,430 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T01:00:00,435 Source in /tmp/pip-wheel-lp6sdxbp/mycaptcha_d013b1deb36b4dcca16610e36f3b2d2a has version 1.9, which satisfies requirement mycaptcha==1.9 from https://files.pythonhosted.org/packages/5b/18/a99dabce0bb631f58fcb5616fa662fa0b4a75c9c0afa09adc0eacbac2bfc/mycaptcha-1.9.tar.gz 2023-09-08T01:00:00,436 Removed mycaptcha==1.9 from https://files.pythonhosted.org/packages/5b/18/a99dabce0bb631f58fcb5616fa662fa0b4a75c9c0afa09adc0eacbac2bfc/mycaptcha-1.9.tar.gz from build tracker '/tmp/pip-build-tracker-v0ail9no' 2023-09-08T01:00:00,440 Created temporary directory: /tmp/pip-unpack-qm3oqy29 2023-09-08T01:00:00,441 Created temporary directory: /tmp/pip-unpack-ph8kn5pb 2023-09-08T01:00:00,443 Building wheels for collected packages: mycaptcha 2023-09-08T01:00:00,447 Created temporary directory: /tmp/pip-wheel-olerimfy 2023-09-08T01:00:00,448 Building wheel for mycaptcha (setup.py): started 2023-09-08T01:00:00,449 Destination directory: /tmp/pip-wheel-olerimfy 2023-09-08T01:00:00,449 Running command python setup.py bdist_wheel 2023-09-08T01:00:01,429 running bdist_wheel 2023-09-08T01:00:01,525 running build 2023-09-08T01:00:01,526 running build_py 2023-09-08T01:00:01,552 creating build 2023-09-08T01:00:01,552 creating build/lib.linux-armv7l-cpython-311 2023-09-08T01:00:01,554 creating build/lib.linux-armv7l-cpython-311/mycaptcha 2023-09-08T01:00:01,555 copying mycaptcha/fake_captchaimage.py -> build/lib.linux-armv7l-cpython-311/mycaptcha 2023-09-08T01:00:01,557 copying mycaptcha/__init__.py -> build/lib.linux-armv7l-cpython-311/mycaptcha 2023-09-08T01:00:01,558 running egg_info 2023-09-08T01:00:01,613 writing mycaptcha.egg-info/PKG-INFO 2023-09-08T01:00:01,616 writing dependency_links to mycaptcha.egg-info/dependency_links.txt 2023-09-08T01:00:01,618 writing top-level names to mycaptcha.egg-info/top_level.txt 2023-09-08T01:00:01,644 reading manifest file 'mycaptcha.egg-info/SOURCES.txt' 2023-09-08T01:00:01,646 reading manifest template 'MANIFEST.in' 2023-09-08T01:00:01,649 writing manifest file 'mycaptcha.egg-info/SOURCES.txt' 2023-09-08T01:00:01,651 copying mycaptcha/font.ttf -> build/lib.linux-armv7l-cpython-311/mycaptcha 2023-09-08T01:00:01,655 running build_ext 2023-09-08T01:00:02,162 building 'captchaimage' extension 2023-09-08T01:00:02,162 creating build/temp.linux-armv7l-cpython-311 2023-09-08T01:00:02,163 arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/freetype2 -I/usr/include/python3.11 -c captchaimage.c -o build/temp.linux-armv7l-cpython-311/captchaimage.o 2023-09-08T01:00:02,528 captchaimage.c: In function ‘create_image_internal’: 2023-09-08T01:00:02,529 captchaimage.c:18:40: error: ‘PyExc_StandardError’ undeclared (first use in this function); did you mean ‘PyExc_SyntaxError’? 2023-09-08T01:00:02,529 18 | #define RAISE(message) PyErr_SetString(PyExc_StandardError, message); \ 2023-09-08T01:00:02,530 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T01:00:02,531 captchaimage.c:89:7: note: in expansion of macro ‘RAISE’ 2023-09-08T01:00:02,532 89 | RAISE("failed to load font face"); 2023-09-08T01:00:02,532 | ^~~~~ 2023-09-08T01:00:02,533 captchaimage.c:18:40: note: each undeclared identifier is reported only once for each function it appears in 2023-09-08T01:00:02,533 18 | #define RAISE(message) PyErr_SetString(PyExc_StandardError, message); \ 2023-09-08T01:00:02,534 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T01:00:02,535 captchaimage.c:89:7: note: in expansion of macro ‘RAISE’ 2023-09-08T01:00:02,535 89 | RAISE("failed to load font face"); 2023-09-08T01:00:02,536 | ^~~~~ 2023-09-08T01:00:02,537 captchaimage.c:225:35: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2023-09-08T01:00:02,537 225 | int offset_y = bitmap->rows < image_size_y 2023-09-08T01:00:02,538 | ^ 2023-09-08T01:00:02,538 captchaimage.c:228:33: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2023-09-08T01:00:02,539 228 | int x_max = bitmap->width < image_size_x - offset_y 2023-09-08T01:00:02,540 | ^ 2023-09-08T01:00:02,541 captchaimage.c:229:27: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 2023-09-08T01:00:02,541 229 | ? bitmap->width : image_size_x - offset_y; 2023-09-08T01:00:02,541 | ^~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T01:00:02,542 captchaimage.c:230:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2023-09-08T01:00:02,542 230 | int y_max = bitmap->rows < image_size_y ? bitmap->rows : image_size_y; 2023-09-08T01:00:02,542 | ^ 2023-09-08T01:00:02,543 captchaimage.c:230:64: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 2023-09-08T01:00:02,543 230 | int y_max = bitmap->rows < image_size_y ? bitmap->rows : image_size_y; 2023-09-08T01:00:02,544 | ^~~~~~~~~~~~ 2023-09-08T01:00:02,553 captchaimage.c:279:21: warning: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration] 2023-09-08T01:00:02,554 279 | PyObject *value = PyString_FromStringAndSize(cropped_image, 2023-09-08T01:00:02,554 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T01:00:02,555 | PyBytes_FromStringAndSize 2023-09-08T01:00:02,555 captchaimage.c:279:21: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T01:00:02,573 captchaimage.c: In function ‘captchaimage_create_image’: 2023-09-08T01:00:02,574 captchaimage.c:18:40: error: ‘PyExc_StandardError’ undeclared (first use in this function); did you mean ‘PyExc_SyntaxError’? 2023-09-08T01:00:02,574 18 | #define RAISE(message) PyErr_SetString(PyExc_StandardError, message); \ 2023-09-08T01:00:02,575 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T01:00:02,576 captchaimage.c:307:7: note: in expansion of macro ‘RAISE’ 2023-09-08T01:00:02,576 307 | RAISE("failed to initialize Freetype"); 2023-09-08T01:00:02,577 | ^~~~~ 2023-09-08T01:00:02,586 captchaimage.c: In function ‘initcaptchaimage’: 2023-09-08T01:00:02,587 captchaimage.c:332:3: warning: implicit declaration of function ‘Py_InitModule’ [-Wimplicit-function-declaration] 2023-09-08T01:00:02,588 332 | Py_InitModule("captchaimage", captchaimage_methods); 2023-09-08T01:00:02,590 | ^~~~~~~~~~~~~ 2023-09-08T01:00:02,591 captchaimage.c:333:1: warning: control reaches end of non-void function [-Wreturn-type] 2023-09-08T01:00:02,591 333 | } 2023-09-08T01:00:02,592 | ^ 2023-09-08T01:00:02,599 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T01:00:02,744 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T01:00:02,758 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T01:00:02,758 exec(compile('"'"''"'"''"'"' 2023-09-08T01:00:02,758 # This is -- a caller that pip uses to run setup.py 2023-09-08T01:00:02,758 # 2023-09-08T01:00:02,758 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T01:00:02,758 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T01:00:02,758 # - It provides a clear error message when setuptools is not installed. 2023-09-08T01:00:02,758 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T01:00:02,758 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T01:00:02,758 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T01:00:02,758 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T01:00:02,758 import os, sys, tokenize 2023-09-08T01:00:02,758 2023-09-08T01:00:02,758 try: 2023-09-08T01:00:02,758 import setuptools 2023-09-08T01:00:02,758 except ImportError as error: 2023-09-08T01:00:02,758 print( 2023-09-08T01:00:02,758 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T01:00:02,758 "the build environment.", 2023-09-08T01:00:02,758 file=sys.stderr, 2023-09-08T01:00:02,758 ) 2023-09-08T01:00:02,758 sys.exit(1) 2023-09-08T01:00:02,758 2023-09-08T01:00:02,758 __file__ = %r 2023-09-08T01:00:02,758 sys.argv[0] = __file__ 2023-09-08T01:00:02,758 2023-09-08T01:00:02,758 if os.path.exists(__file__): 2023-09-08T01:00:02,758 filename = __file__ 2023-09-08T01:00:02,758 with tokenize.open(__file__) as f: 2023-09-08T01:00:02,758 setup_py_code = f.read() 2023-09-08T01:00:02,758 else: 2023-09-08T01:00:02,758 filename = "" 2023-09-08T01:00:02,758 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T01:00:02,758 2023-09-08T01:00:02,758 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T01:00:02,758 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-lp6sdxbp/mycaptcha_d013b1deb36b4dcca16610e36f3b2d2a/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-olerimfy[/] 2023-09-08T01:00:02,758 [bold magenta]cwd[/]: /tmp/pip-wheel-lp6sdxbp/mycaptcha_d013b1deb36b4dcca16610e36f3b2d2a/ 2023-09-08T01:00:02,759 Building wheel for mycaptcha (setup.py): finished with status 'error' 2023-09-08T01:00:02,760 ERROR: Failed building wheel for mycaptcha 2023-09-08T01:00:02,762 Running setup.py clean for mycaptcha 2023-09-08T01:00:02,763 Running command python setup.py clean 2023-09-08T01:00:03,745 running clean 2023-09-08T01:00:03,789 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-08T01:00:03,790 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2023-09-08T01:00:03,793 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T01:00:03,793 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T01:00:03,794 removing 'build' 2023-09-08T01:00:03,903 Failed to build mycaptcha 2023-09-08T01:00:03,905 ERROR: Failed to build one or more wheels 2023-09-08T01:00:03,906 Exception information: 2023-09-08T01:00:03,906 Traceback (most recent call last): 2023-09-08T01:00:03,906 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T01:00:03,906 status = run_func(*args) 2023-09-08T01:00:03,906 ^^^^^^^^^^^^^^^ 2023-09-08T01:00:03,906 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T01:00:03,906 return func(self, options, args) 2023-09-08T01:00:03,906 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T01:00:03,906 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T01:00:03,906 raise CommandError("Failed to build one or more wheels") 2023-09-08T01:00:03,906 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T01:00:03,909 Removed build tracker: '/tmp/pip-build-tracker-v0ail9no'