2019-07-02T08:27:54 Created temporary directory: /tmp/pip-ephem-wheel-cache-o7q7o79r 2019-07-02T08:27:54 Created temporary directory: /tmp/pip-req-tracker-5tl_numz 2019-07-02T08:27:54 Created requirements tracker '/tmp/pip-req-tracker-5tl_numz' 2019-07-02T08:27:54 Created temporary directory: /tmp/pip-wheel-ne8st_xb 2019-07-02T08:27:54 Collecting indexer_python==0.1 2019-07-02T08:27:54 1 location(s) to search for versions of indexer-python: 2019-07-02T08:27:54 * https://pypi.org/simple/indexer-python/ 2019-07-02T08:27:54 Getting page https://pypi.org/simple/indexer-python/ 2019-07-02T08:27:54 Analyzing links from page https://pypi.org/simple/indexer-python/ 2019-07-02T08:27:54 Found link https://files.pythonhosted.org/packages/66/fb/20cf80c9af012fe63cff0f9523bda2235d531fba4f1ef7313156a7256467/indexer_python-0.1.tar.gz#sha256=9821e7252077aabe6400af103ff3bb99cdf860892e98a95612b4abd11e2732de (from https://pypi.org/simple/indexer-python/), version: 0.1 2019-07-02T08:27:54 Found link https://files.pythonhosted.org/packages/d3/3e/0b9750bb34ac46b159f06b34ebbd7a251acc7afd6b0a9c988ffc51f13e69/indexer_python-0.2.tar.gz#sha256=5b73ba3def677528b6925860408edc66490a145233b10535cd8ec31c0a11d3b7 (from https://pypi.org/simple/indexer-python/), version: 0.2 2019-07-02T08:27:54 Using version 0.1 (newest of versions: 0.1) 2019-07-02T08:27:54 Created temporary directory: /tmp/pip-unpack-7wbxcum8 2019-07-02T08:27:55 Downloading https://files.pythonhosted.org/packages/66/fb/20cf80c9af012fe63cff0f9523bda2235d531fba4f1ef7313156a7256467/indexer_python-0.1.tar.gz 2019-07-02T08:27:55 Downloading from URL https://files.pythonhosted.org/packages/66/fb/20cf80c9af012fe63cff0f9523bda2235d531fba4f1ef7313156a7256467/indexer_python-0.1.tar.gz#sha256=9821e7252077aabe6400af103ff3bb99cdf860892e98a95612b4abd11e2732de (from https://pypi.org/simple/indexer-python/) 2019-07-02T08:27:55 Added indexer_python==0.1 from https://files.pythonhosted.org/packages/66/fb/20cf80c9af012fe63cff0f9523bda2235d531fba4f1ef7313156a7256467/indexer_python-0.1.tar.gz#sha256=9821e7252077aabe6400af103ff3bb99cdf860892e98a95612b4abd11e2732de to build tracker '/tmp/pip-req-tracker-5tl_numz' 2019-07-02T08:27:55 Running setup.py (path:/tmp/pip-wheel-ne8st_xb/indexer-python/setup.py) egg_info for package indexer-python 2019-07-02T08:27:55 Running command python setup.py egg_info 2019-07-02T08:27:56 running egg_info 2019-07-02T08:27:56 creating pip-egg-info/indexer_python.egg-info 2019-07-02T08:27:56 writing pip-egg-info/indexer_python.egg-info/PKG-INFO 2019-07-02T08:27:56 writing dependency_links to pip-egg-info/indexer_python.egg-info/dependency_links.txt 2019-07-02T08:27:56 writing top-level names to pip-egg-info/indexer_python.egg-info/top_level.txt 2019-07-02T08:27:56 writing manifest file 'pip-egg-info/indexer_python.egg-info/SOURCES.txt' 2019-07-02T08:27:56 reading manifest file 'pip-egg-info/indexer_python.egg-info/SOURCES.txt' 2019-07-02T08:27:56 writing manifest file 'pip-egg-info/indexer_python.egg-info/SOURCES.txt' 2019-07-02T08:27:56 Source in /tmp/pip-wheel-ne8st_xb/indexer-python has version 0.1, which satisfies requirement indexer_python==0.1 from https://files.pythonhosted.org/packages/66/fb/20cf80c9af012fe63cff0f9523bda2235d531fba4f1ef7313156a7256467/indexer_python-0.1.tar.gz#sha256=9821e7252077aabe6400af103ff3bb99cdf860892e98a95612b4abd11e2732de 2019-07-02T08:27:56 Removed indexer_python==0.1 from https://files.pythonhosted.org/packages/66/fb/20cf80c9af012fe63cff0f9523bda2235d531fba4f1ef7313156a7256467/indexer_python-0.1.tar.gz#sha256=9821e7252077aabe6400af103ff3bb99cdf860892e98a95612b4abd11e2732de from build tracker '/tmp/pip-req-tracker-5tl_numz' 2019-07-02T08:27:56 Building wheels for collected packages: indexer-python 2019-07-02T08:27:56 Created temporary directory: /tmp/pip-wheel-ct6_guvb 2019-07-02T08:27:56 Building wheel for indexer-python (setup.py): started 2019-07-02T08:27:56 Destination directory: /tmp/pip-wheel-ct6_guvb 2019-07-02T08:27:56 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-ne8st_xb/indexer-python/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-ct6_guvb 2019-07-02T08:27:58 running bdist_wheel 2019-07-02T08:27:58 running build 2019-07-02T08:27:58 running build_ext 2019-07-02T08:27:58 cythoning indexer.pyx to indexer.c 2019-07-02T08:27:59 /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-ne8st_xb/indexer-python/indexer.pyx 2019-07-02T08:27:59 tree = Parsing.p_module(s, pxd, full_module_name) 2019-07-02T08:27:59 Error compiling Cython file: 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 ... 2019-07-02T08:27:59 cimport indexer 2019-07-02T08:27:59 ^ 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 indexer.pyx:1:8: 'indexer.pxd' not found 2019-07-02T08:27:59 Error compiling Cython file: 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 ... 2019-07-02T08:27:59 cimport libc.stdio 2019-07-02T08:27:59 cdef class IndexedFile(object): 2019-07-02T08:27:59 """A file which reads the source_file""" 2019-07-02T08:27:59 cdef FILE* source_file 2019-07-02T08:27:59 ^ 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 indexer.pyx:7:9: 'FILE' is not a type identifier 2019-07-02T08:27:59 Error compiling Cython file: 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 ... 2019-07-02T08:27:59 cdef class IndexedFile(object): 2019-07-02T08:27:59 """A file which reads the source_file""" 2019-07-02T08:27:59 cdef FILE* source_file 2019-07-02T08:27:59 cdef FILE* index_file 2019-07-02T08:27:59 ^ 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 indexer.pyx:8:9: 'FILE' is not a type identifier 2019-07-02T08:27:59 Error compiling Cython file: 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 ... 2019-07-02T08:27:59 """A file which reads the source_file""" 2019-07-02T08:27:59 cdef FILE* source_file 2019-07-02T08:27:59 cdef FILE* index_file 2019-07-02T08:27:59 cdef int counter 2019-07-02T08:27:59 def __init__(self, source_file_name, index_file_name): 2019-07-02T08:27:59 self.source_file = fopen(source_file_name, "rb") 2019-07-02T08:27:59 ^ 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 indexer.pyx:11:27: undeclared name not builtin: fopen 2019-07-02T08:27:59 Error compiling Cython file: 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 ... 2019-07-02T08:27:59 def __iter__(self): 2019-07-02T08:27:59 return self 2019-07-02T08:27:59 def __next__(self): 2019-07-02T08:27:59 cdef Py_ssize_t length = 0 2019-07-02T08:27:59 r = read_from_index(self.source_file, self.index_file, self.counter, &length) 2019-07-02T08:27:59 ^ 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 indexer.pyx:20:10: undeclared name not builtin: read_from_index 2019-07-02T08:27:59 Error compiling Cython file: 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 ... 2019-07-02T08:27:59 def __iter__(self): 2019-07-02T08:27:59 return self 2019-07-02T08:27:59 def __next__(self): 2019-07-02T08:27:59 cdef Py_ssize_t length = 0 2019-07-02T08:27:59 r = read_from_index(self.source_file, self.index_file, self.counter, &length) 2019-07-02T08:27:59 ^ 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 indexer.pyx:20:75: Cannot convert 'Py_ssize_t *' to Python object 2019-07-02T08:27:59 Error compiling Cython file: 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 ... 2019-07-02T08:27:59 return StopIteration 2019-07-02T08:27:59 def read(self, line_number): 2019-07-02T08:27:59 cdef Py_ssize_t length = 0 2019-07-02T08:27:59 cdef char* c_string = read_from_index(self.source_file, self.index_file, line_number, &length) 2019-07-02T08:27:59 ^ 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 indexer.pyx:31:94: Cannot convert 'Py_ssize_t *' to Python object 2019-07-02T08:27:59 Error compiling Cython file: 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 ... 2019-07-02T08:27:59 return StopIteration 2019-07-02T08:27:59 def read(self, line_number): 2019-07-02T08:27:59 cdef Py_ssize_t length = 0 2019-07-02T08:27:59 cdef char* c_string = read_from_index(self.source_file, self.index_file, line_number, &length) 2019-07-02T08:27:59 ^ 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 indexer.pyx:31:13: Storing unsafe C derivative of temporary Python reference 2019-07-02T08:27:59 Error compiling Cython file: 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 ... 2019-07-02T08:27:59 cdef char* c_string = read_from_index(self.source_file, self.index_file, line_number, &length) 2019-07-02T08:27:59 cdef bytes py_string = c_string 2019-07-02T08:27:59 return py_string.strip() 2019-07-02T08:27:59 def close(self): 2019-07-02T08:27:59 fclose(self.source_file) 2019-07-02T08:27:59 ^ 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 indexer.pyx:36:8: undeclared name not builtin: fclose 2019-07-02T08:27:59 Error compiling Cython file: 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 ... 2019-07-02T08:27:59 def __init__(self, source_file_name, index_file_name): 2019-07-02T08:27:59 self.source_file_name = source_file_name 2019-07-02T08:27:59 self.index_file_name = index_file_name 2019-07-02T08:27:59 def make_index(self): 2019-07-02T08:27:59 make_index_from_file(self.source_file_name, self.index_file_name, 0) 2019-07-02T08:27:59 ^ 2019-07-02T08:27:59 ------------------------------------------------------------ 2019-07-02T08:27:59 indexer.pyx:46:8: undeclared name not builtin: make_index_from_file 2019-07-02T08:27:59 building 'indexer' extension 2019-07-02T08:27:59 creating build 2019-07-02T08:27:59 creating build/temp.linux-armv7l-3.7 2019-07-02T08:27:59 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/python3.7m -c indexer.c -o build/temp.linux-armv7l-3.7/indexer.o 2019-07-02T08:27:59 indexer.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. 2019-07-02T08:27:59 #error Do not use this file, it is the result of a failed Cython compilation. 2019-07-02T08:27:59 ^~~~~ 2019-07-02T08:27:59 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 2019-07-02T08:27:59 Building wheel for indexer-python (setup.py): finished with status 'error' 2019-07-02T08:27:59 ERROR: Failed building wheel for indexer-python 2019-07-02T08:27:59 Running setup.py clean for indexer-python 2019-07-02T08:27:59 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-ne8st_xb/indexer-python/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-07-02T08:28:01 running clean 2019-07-02T08:28:01 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-07-02T08:28:01 'build/lib.linux-armv7l-3.7' does not exist -- can't clean it 2019-07-02T08:28:01 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-07-02T08:28:01 'build/scripts-3.7' does not exist -- can't clean it 2019-07-02T08:28:01 removing 'build' 2019-07-02T08:28:01 Failed to build indexer-python 2019-07-02T08:28:01 Cleaning up... 2019-07-02T08:28:01 Removing source in /tmp/pip-wheel-ne8st_xb/indexer-python 2019-07-02T08:28:01 Removed build tracker '/tmp/pip-req-tracker-5tl_numz' 2019-07-02T08:28:01 ERROR: Failed to build one or more wheels 2019-07-02T08:28:01 Exception information: 2019-07-02T08:28:01 Traceback (most recent call last): 2019-07-02T08:28:01 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-07-02T08:28:01 status = self.run(options, args) 2019-07-02T08:28:01 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-07-02T08:28:01 "Failed to build one or more wheels" 2019-07-02T08:28:01 pip._internal.exceptions.CommandError: Failed to build one or more wheels