2019-06-27T14:40:13 Created temporary directory: /tmp/pip-ephem-wheel-cache-4uzvfjbn 2019-06-27T14:40:13 Created temporary directory: /tmp/pip-req-tracker-xtdkc8_i 2019-06-27T14:40:13 Created requirements tracker '/tmp/pip-req-tracker-xtdkc8_i' 2019-06-27T14:40:13 Created temporary directory: /tmp/pip-wheel-hgumea46 2019-06-27T14:40:13 Collecting mycaptcha==1.9 2019-06-27T14:40:13 1 location(s) to search for versions of mycaptcha: 2019-06-27T14:40:13 * https://pypi.org/simple/mycaptcha/ 2019-06-27T14:40:13 Getting page https://pypi.org/simple/mycaptcha/ 2019-06-27T14:40:13 Analyzing links from page https://pypi.org/simple/mycaptcha/ 2019-06-27T14:40:13 Found link https://files.pythonhosted.org/packages/5b/18/a99dabce0bb631f58fcb5616fa662fa0b4a75c9c0afa09adc0eacbac2bfc/mycaptcha-1.9.tar.gz#sha256=1bc6750116820975e02c8d49ef26ad622dbe4f21d25074ea951513d129921312 (from https://pypi.org/simple/mycaptcha/), version: 1.9 2019-06-27T14:40:13 Using version 1.9 (newest of versions: 1.9) 2019-06-27T14:40:13 Created temporary directory: /tmp/pip-unpack-vnku63g7 2019-06-27T14:40:13 Downloading https://files.pythonhosted.org/packages/5b/18/a99dabce0bb631f58fcb5616fa662fa0b4a75c9c0afa09adc0eacbac2bfc/mycaptcha-1.9.tar.gz 2019-06-27T14:40:13 Downloading from URL https://files.pythonhosted.org/packages/5b/18/a99dabce0bb631f58fcb5616fa662fa0b4a75c9c0afa09adc0eacbac2bfc/mycaptcha-1.9.tar.gz#sha256=1bc6750116820975e02c8d49ef26ad622dbe4f21d25074ea951513d129921312 (from https://pypi.org/simple/mycaptcha/) 2019-06-27T14:40:13 Added mycaptcha==1.9 from https://files.pythonhosted.org/packages/5b/18/a99dabce0bb631f58fcb5616fa662fa0b4a75c9c0afa09adc0eacbac2bfc/mycaptcha-1.9.tar.gz#sha256=1bc6750116820975e02c8d49ef26ad622dbe4f21d25074ea951513d129921312 to build tracker '/tmp/pip-req-tracker-xtdkc8_i' 2019-06-27T14:40:13 Running setup.py (path:/tmp/pip-wheel-hgumea46/mycaptcha/setup.py) egg_info for package mycaptcha 2019-06-27T14:40:13 Running command python setup.py egg_info 2019-06-27T14:40:15 running egg_info 2019-06-27T14:40:15 creating pip-egg-info/mycaptcha.egg-info 2019-06-27T14:40:15 writing pip-egg-info/mycaptcha.egg-info/PKG-INFO 2019-06-27T14:40:15 writing dependency_links to pip-egg-info/mycaptcha.egg-info/dependency_links.txt 2019-06-27T14:40:15 writing top-level names to pip-egg-info/mycaptcha.egg-info/top_level.txt 2019-06-27T14:40:15 writing manifest file 'pip-egg-info/mycaptcha.egg-info/SOURCES.txt' 2019-06-27T14:40:16 reading manifest file 'pip-egg-info/mycaptcha.egg-info/SOURCES.txt' 2019-06-27T14:40:16 reading manifest template 'MANIFEST.in' 2019-06-27T14:40:16 writing manifest file 'pip-egg-info/mycaptcha.egg-info/SOURCES.txt' 2019-06-27T14:40:16 Source in /tmp/pip-wheel-hgumea46/mycaptcha has version 1.9, which satisfies requirement mycaptcha==1.9 from https://files.pythonhosted.org/packages/5b/18/a99dabce0bb631f58fcb5616fa662fa0b4a75c9c0afa09adc0eacbac2bfc/mycaptcha-1.9.tar.gz#sha256=1bc6750116820975e02c8d49ef26ad622dbe4f21d25074ea951513d129921312 2019-06-27T14:40:16 Removed mycaptcha==1.9 from https://files.pythonhosted.org/packages/5b/18/a99dabce0bb631f58fcb5616fa662fa0b4a75c9c0afa09adc0eacbac2bfc/mycaptcha-1.9.tar.gz#sha256=1bc6750116820975e02c8d49ef26ad622dbe4f21d25074ea951513d129921312 from build tracker '/tmp/pip-req-tracker-xtdkc8_i' 2019-06-27T14:40:16 Building wheels for collected packages: mycaptcha 2019-06-27T14:40:16 Created temporary directory: /tmp/pip-wheel-t8x9wnr3 2019-06-27T14:40:16 Building wheel for mycaptcha (setup.py): started 2019-06-27T14:40:16 Destination directory: /tmp/pip-wheel-t8x9wnr3 2019-06-27T14:40:16 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-hgumea46/mycaptcha/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-t8x9wnr3 2019-06-27T14:40:17 running bdist_wheel 2019-06-27T14:40:17 running build 2019-06-27T14:40:17 running build_py 2019-06-27T14:40:18 creating build 2019-06-27T14:40:18 creating build/lib.linux-armv7l-3.7 2019-06-27T14:40:18 creating build/lib.linux-armv7l-3.7/mycaptcha 2019-06-27T14:40:18 copying mycaptcha/fake_captchaimage.py -> build/lib.linux-armv7l-3.7/mycaptcha 2019-06-27T14:40:18 copying mycaptcha/__init__.py -> build/lib.linux-armv7l-3.7/mycaptcha 2019-06-27T14:40:18 running egg_info 2019-06-27T14:40:18 writing mycaptcha.egg-info/PKG-INFO 2019-06-27T14:40:18 writing dependency_links to mycaptcha.egg-info/dependency_links.txt 2019-06-27T14:40:18 writing top-level names to mycaptcha.egg-info/top_level.txt 2019-06-27T14:40:18 reading manifest file 'mycaptcha.egg-info/SOURCES.txt' 2019-06-27T14:40:18 reading manifest template 'MANIFEST.in' 2019-06-27T14:40:18 writing manifest file 'mycaptcha.egg-info/SOURCES.txt' 2019-06-27T14:40:18 copying mycaptcha/font.ttf -> build/lib.linux-armv7l-3.7/mycaptcha 2019-06-27T14:40:18 running build_ext 2019-06-27T14:40:18 building 'captchaimage' extension 2019-06-27T14:40:18 creating build/temp.linux-armv7l-3.7 2019-06-27T14:40:18 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/freetype2 -I/usr/include/python3.7m -c captchaimage.c -o build/temp.linux-armv7l-3.7/captchaimage.o 2019-06-27T14:40:19 captchaimage.c: In function ‘create_image_internal’: 2019-06-27T14:40:19 captchaimage.c:18:40: error: ‘PyExc_StandardError’ undeclared (first use in this function); did you mean ‘PyExc_SyntaxError’? 2019-06-27T14:40:19 #define RAISE(message) PyErr_SetString(PyExc_StandardError, message); \ 2019-06-27T14:40:19 ^~~~~~~~~~~~~~~~~~~ 2019-06-27T14:40:19 captchaimage.c:89:7: note: in expansion of macro ‘RAISE’ 2019-06-27T14:40:19 RAISE("failed to load font face"); 2019-06-27T14:40:19 ^~~~~ 2019-06-27T14:40:19 captchaimage.c:18:40: note: each undeclared identifier is reported only once for each function it appears in 2019-06-27T14:40:19 #define RAISE(message) PyErr_SetString(PyExc_StandardError, message); \ 2019-06-27T14:40:19 ^~~~~~~~~~~~~~~~~~~ 2019-06-27T14:40:19 captchaimage.c:89:7: note: in expansion of macro ‘RAISE’ 2019-06-27T14:40:19 RAISE("failed to load font face"); 2019-06-27T14:40:19 ^~~~~ 2019-06-27T14:40:19 captchaimage.c:279:21: warning: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration] 2019-06-27T14:40:19 PyObject *value = PyString_FromStringAndSize(cropped_image, 2019-06-27T14:40:19 ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-06-27T14:40:19 PyBytes_FromStringAndSize 2019-06-27T14:40:19 captchaimage.c:279:21: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2019-06-27T14:40:19 captchaimage.c: In function ‘captchaimage_create_image’: 2019-06-27T14:40:19 captchaimage.c:18:40: error: ‘PyExc_StandardError’ undeclared (first use in this function); did you mean ‘PyExc_SyntaxError’? 2019-06-27T14:40:19 #define RAISE(message) PyErr_SetString(PyExc_StandardError, message); \ 2019-06-27T14:40:19 ^~~~~~~~~~~~~~~~~~~ 2019-06-27T14:40:19 captchaimage.c:307:7: note: in expansion of macro ‘RAISE’ 2019-06-27T14:40:19 RAISE("failed to initialize Freetype"); 2019-06-27T14:40:19 ^~~~~ 2019-06-27T14:40:19 captchaimage.c: In function ‘initcaptchaimage’: 2019-06-27T14:40:19 captchaimage.c:332:3: warning: implicit declaration of function ‘Py_InitModule’; did you mean ‘Py_Initialize’? [-Wimplicit-function-declaration] 2019-06-27T14:40:19 Py_InitModule("captchaimage", captchaimage_methods); 2019-06-27T14:40:19 ^~~~~~~~~~~~~ 2019-06-27T14:40:19 Py_Initialize 2019-06-27T14:40:19 captchaimage.c:333:1: warning: control reaches end of non-void function [-Wreturn-type] 2019-06-27T14:40:19 } 2019-06-27T14:40:19 ^ 2019-06-27T14:40:19 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 2019-06-27T14:40:19 Building wheel for mycaptcha (setup.py): finished with status 'error' 2019-06-27T14:40:19 ERROR: Failed building wheel for mycaptcha 2019-06-27T14:40:19 Running setup.py clean for mycaptcha 2019-06-27T14:40:19 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-hgumea46/mycaptcha/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2019-06-27T14:40:20 running clean 2019-06-27T14:40:20 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-06-27T14:40:20 removing 'build/lib.linux-armv7l-3.7' (and everything under it) 2019-06-27T14:40:20 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-06-27T14:40:20 'build/scripts-3.7' does not exist -- can't clean it 2019-06-27T14:40:20 removing 'build' 2019-06-27T14:40:21 Failed to build mycaptcha 2019-06-27T14:40:21 Cleaning up... 2019-06-27T14:40:21 Removing source in /tmp/pip-wheel-hgumea46/mycaptcha 2019-06-27T14:40:21 Removed build tracker '/tmp/pip-req-tracker-xtdkc8_i' 2019-06-27T14:40:21 ERROR: Failed to build one or more wheels 2019-06-27T14:40:21 Exception information: 2019-06-27T14:40:21 Traceback (most recent call last): 2019-06-27T14:40:21 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-06-27T14:40:21 status = self.run(options, args) 2019-06-27T14:40:21 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-06-27T14:40:21 "Failed to build one or more wheels" 2019-06-27T14:40:21 pip._internal.exceptions.CommandError: Failed to build one or more wheels