2019-07-07T04:09:51 Created temporary directory: /tmp/pip-ephem-wheel-cache-cbun9qwk 2019-07-07T04:09:51 Created temporary directory: /tmp/pip-req-tracker-6i4jiffo 2019-07-07T04:09:51 Created requirements tracker '/tmp/pip-req-tracker-6i4jiffo' 2019-07-07T04:09:51 Created temporary directory: /tmp/pip-wheel-8jpxnd0p 2019-07-07T04:09:51 Collecting pytrec-eval==0.3 2019-07-07T04:09:51 1 location(s) to search for versions of pytrec-eval: 2019-07-07T04:09:51 * https://pypi.org/simple/pytrec-eval/ 2019-07-07T04:09:51 Getting page https://pypi.org/simple/pytrec-eval/ 2019-07-07T04:09:51 Analyzing links from page https://pypi.org/simple/pytrec-eval/ 2019-07-07T04:09:51 Found link https://files.pythonhosted.org/packages/ec/ef/93ecabb71ab5c015d23b35751375a1acdce30f8fc00c4a54b4b184814b6c/pytrec_eval-0.3.tar.gz#sha256=2f028dfe02249e26408c5693e363a5a7fabaaac6bf026a3b05fac6a69f1a0875 (from https://pypi.org/simple/pytrec-eval/), version: 0.3 2019-07-07T04:09:51 Found link https://files.pythonhosted.org/packages/36/0a/5809ba805e62c98f81e19d6007132712945c78e7612c11f61bac76a25ba3/pytrec_eval-0.4.tar.gz#sha256=40b72e90f59751db3c7e385d3797849f6bc634ab07beb398b84301e925f54fb9 (from https://pypi.org/simple/pytrec-eval/), version: 0.4 2019-07-07T04:09:51 Using version 0.3 (newest of versions: 0.3) 2019-07-07T04:09:51 Created temporary directory: /tmp/pip-unpack-2hd31_ma 2019-07-07T04:09:52 Downloading https://files.pythonhosted.org/packages/ec/ef/93ecabb71ab5c015d23b35751375a1acdce30f8fc00c4a54b4b184814b6c/pytrec_eval-0.3.tar.gz 2019-07-07T04:09:52 Downloading from URL https://files.pythonhosted.org/packages/ec/ef/93ecabb71ab5c015d23b35751375a1acdce30f8fc00c4a54b4b184814b6c/pytrec_eval-0.3.tar.gz#sha256=2f028dfe02249e26408c5693e363a5a7fabaaac6bf026a3b05fac6a69f1a0875 (from https://pypi.org/simple/pytrec-eval/) 2019-07-07T04:09:52 Added pytrec-eval==0.3 from https://files.pythonhosted.org/packages/ec/ef/93ecabb71ab5c015d23b35751375a1acdce30f8fc00c4a54b4b184814b6c/pytrec_eval-0.3.tar.gz#sha256=2f028dfe02249e26408c5693e363a5a7fabaaac6bf026a3b05fac6a69f1a0875 to build tracker '/tmp/pip-req-tracker-6i4jiffo' 2019-07-07T04:09:52 Running setup.py (path:/tmp/pip-wheel-8jpxnd0p/pytrec-eval/setup.py) egg_info for package pytrec-eval 2019-07-07T04:09:52 Running command python setup.py egg_info 2019-07-07T04:09:55 Fetching trec_eval from https://github.com/usnistgov/trec_eval/archive/v9.0.5.zip. 2019-07-07T04:09:55 running egg_info 2019-07-07T04:09:55 creating pip-egg-info/pytrec_eval.egg-info 2019-07-07T04:09:55 writing pip-egg-info/pytrec_eval.egg-info/PKG-INFO 2019-07-07T04:09:55 writing dependency_links to pip-egg-info/pytrec_eval.egg-info/dependency_links.txt 2019-07-07T04:09:55 writing top-level names to pip-egg-info/pytrec_eval.egg-info/top_level.txt 2019-07-07T04:09:55 writing manifest file 'pip-egg-info/pytrec_eval.egg-info/SOURCES.txt' 2019-07-07T04:09:56 reading manifest file 'pip-egg-info/pytrec_eval.egg-info/SOURCES.txt' 2019-07-07T04:09:56 writing manifest file 'pip-egg-info/pytrec_eval.egg-info/SOURCES.txt' 2019-07-07T04:09:56 Source in /tmp/pip-wheel-8jpxnd0p/pytrec-eval has version 0.3, which satisfies requirement pytrec-eval==0.3 from https://files.pythonhosted.org/packages/ec/ef/93ecabb71ab5c015d23b35751375a1acdce30f8fc00c4a54b4b184814b6c/pytrec_eval-0.3.tar.gz#sha256=2f028dfe02249e26408c5693e363a5a7fabaaac6bf026a3b05fac6a69f1a0875 2019-07-07T04:09:56 Removed pytrec-eval==0.3 from https://files.pythonhosted.org/packages/ec/ef/93ecabb71ab5c015d23b35751375a1acdce30f8fc00c4a54b4b184814b6c/pytrec_eval-0.3.tar.gz#sha256=2f028dfe02249e26408c5693e363a5a7fabaaac6bf026a3b05fac6a69f1a0875 from build tracker '/tmp/pip-req-tracker-6i4jiffo' 2019-07-07T04:09:56 Building wheels for collected packages: pytrec-eval 2019-07-07T04:09:56 Created temporary directory: /tmp/pip-wheel-0fqw1v1q 2019-07-07T04:09:56 Building wheel for pytrec-eval (setup.py): started 2019-07-07T04:09:56 Destination directory: /tmp/pip-wheel-0fqw1v1q 2019-07-07T04:09:56 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-8jpxnd0p/pytrec-eval/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-0fqw1v1q 2019-07-07T04:09:57 Fetching trec_eval from https://github.com/usnistgov/trec_eval/archive/v9.0.5.zip. 2019-07-07T04:09:59 running bdist_wheel 2019-07-07T04:09:59 running build 2019-07-07T04:09:59 running build_py 2019-07-07T04:09:59 creating build 2019-07-07T04:09:59 creating build/lib.linux-armv7l-3.7 2019-07-07T04:09:59 creating build/lib.linux-armv7l-3.7/pytrec_eval 2019-07-07T04:09:59 copying py/__init__.py -> build/lib.linux-armv7l-3.7/pytrec_eval 2019-07-07T04:09:59 running build_ext 2019-07-07T04:10:00 building 'pytrec_eval_ext' extension 2019-07-07T04:10:00 creating build/temp.linux-armv7l-3.7 2019-07-07T04:10:00 creating build/temp.linux-armv7l-3.7/src 2019-07-07T04:10:00 creating build/temp.linux-armv7l-3.7/tmp 2019-07-07T04:10:00 creating build/temp.linux-armv7l-3.7/tmp/tmp800nb5qr 2019-07-07T04:10:00 creating build/temp.linux-armv7l-3.7/tmp/tmp800nb5qr/trec_eval-9.0.5 2019-07-07T04:10:00 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 -DVERSIONID="pytrec_eval" -D_GLIBCXX_USE_CXX11_ABI=0 -DP_NEEDS_GNU_CXX_NAMESPACE=1 -UNDEBUG -I/tmp/tmp800nb5qr/trec_eval-9.0.5 -I/usr/include/python3.7m -c src/pytrec_eval.cpp -o build/temp.linux-armv7l-3.7/src/pytrec_eval.o -g -Wall -O3 2019-07-07T04:10:02 src/pytrec_eval.cpp: In member function ‘virtual bool QrelRankingBuilder::ProcessQuery(REL_INFO*, TEXT_QRELS_INFO*) const’: 2019-07-07T04:10:02 src/pytrec_eval.cpp:207:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-07T04:10:02 query->rel_format = "qrels"; 2019-07-07T04:10:02 ^~~~~~~ 2019-07-07T04:10:02 src/pytrec_eval.cpp: In member function ‘virtual bool ResultRankingBuilder::ProcessQuery(RESULTS*, TEXT_RESULTS_INFO*) const’: 2019-07-07T04:10:02 src/pytrec_eval.cpp:251:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-07T04:10:02 query->run_id = "my_little_test_run"; 2019-07-07T04:10:02 ^~~~~~~~~~~~~~~~~~~~ 2019-07-07T04:10:02 src/pytrec_eval.cpp:252:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-07T04:10:02 query->ret_format = "trec_results"; 2019-07-07T04:10:02 ^~~~~~~~~~~~~~ 2019-07-07T04:10:02 src/pytrec_eval.cpp: In function ‘int RelevanceEvaluator_init(RelevanceEvaluator*, PyObject*, PyObject*)’: 2019-07-07T04:10:02 src/pytrec_eval.cpp:296:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-07T04:10:02 NULL}; 2019-07-07T04:10:02 ^ 2019-07-07T04:10:02 src/pytrec_eval.cpp:296:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-07T04:10:02 src/pytrec_eval.cpp:296:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-07T04:10:02 src/pytrec_eval.cpp:343:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-07T04:10:02 self->epi_.rel_info_format = "qrels"; 2019-07-07T04:10:02 ^~~~~~~ 2019-07-07T04:10:02 src/pytrec_eval.cpp:344:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-07T04:10:02 self->epi_.results_format = "trec_results"; 2019-07-07T04:10:02 ^~~~~~~~~~~~~~ 2019-07-07T04:10:02 src/pytrec_eval.cpp:352:22: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2019-07-07T04:10:02 measure_idx < te_num_trec_measures; 2019-07-07T04:10:02 ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 2019-07-07T04:10:02 src/pytrec_eval.cpp:364:59: warning: comparison of integer expressions of different signedness: ‘std::set::size_type’ {aka ‘unsigned int’} and ‘Py_ssize_t’ {aka ‘int’} [-Wsign-compare] 2019-07-07T04:10:02 const bool invalid_measures = self->measures_->size() != PySet_Size(measures); 2019-07-07T04:10:02 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 2019-07-07T04:10:02 src/pytrec_eval.cpp:417:12: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] 2019-07-07T04:10:02 return NULL; 2019-07-07T04:10:02 ^~~~ 2019-07-07T04:10:02 src/pytrec_eval.cpp: In function ‘PyObject* RelevanceEvaluator_evaluate(RelevanceEvaluator*, PyObject*)’: 2019-07-07T04:10:02 src/pytrec_eval.cpp:492:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-07-07T04:10:02 accum_eval = (TREC_EVAL) {"all", 0, NULL, 0, 0}; 2019-07-07T04:10:02 ^ 2019-07-07T04:10:02 In file included from /usr/include/python3.7m/Python.h:61, 2019-07-07T04:10:02 from src/pytrec_eval.cpp:1: 2019-07-07T04:10:02 src/pytrec_eval.cpp: In function ‘PyObject* PyInit_pytrec_eval_ext()’: 2019-07-07T04:10:02 src/pytrec_eval.cpp:691:49: warning: comparison with string literal results in unspecified behavior [-Waddress] 2019-07-07T04:10:02 CHECK_EQ(te_trec_measure_nicknames[2].name, "all_trec"); 2019-07-07T04:10:02 ^~~~~~~~~~ 2019-07-07T04:10:02 src/pytrec_eval.cpp:691:5: note: in expansion of macro ‘CHECK_EQ’ 2019-07-07T04:10:02 CHECK_EQ(te_trec_measure_nicknames[2].name, "all_trec"); 2019-07-07T04:10:02 ^~~~~~~~ 2019-07-07T04:10:02 src/pytrec_eval.cpp: In instantiation of ‘bool RankingBuilder::operator()(PyObject*, long long int&, QueryT*&) [with QueryT = REL_INFO; ListOfPairsT = TEXT_QRELS_INFO; PairT = TEXT_QRELS; PyObject = _object]’: 2019-07-07T04:10:02 src/pytrec_eval.cpp:388:71: required from here 2019-07-07T04:10:02 src/pytrec_eval.cpp:131:54: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] 2019-07-07T04:10:02 queries[query_idx].qid = PyUnicode_AsUTF8(key); 2019-07-07T04:10:02 ~~~~~~~~~~~~~~~~^~~~~ 2019-07-07T04:10:02 src/pytrec_eval.cpp:150:72: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] 2019-07-07T04:10:02 query_document_pairs[pair_idx].docno = PyUnicode_AsUTF8(inner_key); 2019-07-07T04:10:02 ~~~~~~~~~~~~~~~~^~~~~~~~~~~ 2019-07-07T04:10:02 src/pytrec_eval.cpp: In instantiation of ‘bool RankingBuilder::operator()(PyObject*, long long int&, QueryT*&) [with QueryT = RESULTS; ListOfPairsT = TEXT_RESULTS_INFO; PairT = TEXT_RESULTS; PyObject = _object]’: 2019-07-07T04:10:02 src/pytrec_eval.cpp:464:53: required from here 2019-07-07T04:10:02 src/pytrec_eval.cpp:131:54: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] 2019-07-07T04:10:02 queries[query_idx].qid = PyUnicode_AsUTF8(key); 2019-07-07T04:10:02 ~~~~~~~~~~~~~~~~^~~~~ 2019-07-07T04:10:02 src/pytrec_eval.cpp:150:72: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] 2019-07-07T04:10:02 query_document_pairs[pair_idx].docno = PyUnicode_AsUTF8(inner_key); 2019-07-07T04:10:02 ~~~~~~~~~~~~~~~~^~~~~~~~~~~ 2019-07-07T04:10:02 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 2019-07-07T04:10:02 Building wheel for pytrec-eval (setup.py): finished with status 'error' 2019-07-07T04:10:02 ERROR: Failed building wheel for pytrec-eval 2019-07-07T04:10:02 Running setup.py clean for pytrec-eval 2019-07-07T04:10:02 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-8jpxnd0p/pytrec-eval/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-07T04:10:04 Fetching trec_eval from https://github.com/usnistgov/trec_eval/archive/v9.0.5.zip. 2019-07-07T04:10:06 running clean 2019-07-07T04:10:06 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-07-07T04:10:06 removing 'build/lib.linux-armv7l-3.7' (and everything under it) 2019-07-07T04:10:06 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-07-07T04:10:06 'build/scripts-3.7' does not exist -- can't clean it 2019-07-07T04:10:06 removing 'build' 2019-07-07T04:10:06 Failed to build pytrec-eval 2019-07-07T04:10:06 Cleaning up... 2019-07-07T04:10:06 Removing source in /tmp/pip-wheel-8jpxnd0p/pytrec-eval 2019-07-07T04:10:06 Removed build tracker '/tmp/pip-req-tracker-6i4jiffo' 2019-07-07T04:10:06 ERROR: Failed to build one or more wheels 2019-07-07T04:10:06 Exception information: 2019-07-07T04:10:06 Traceback (most recent call last): 2019-07-07T04:10:06 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-07-07T04:10:06 status = self.run(options, args) 2019-07-07T04:10:06 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-07-07T04:10:06 "Failed to build one or more wheels" 2019-07-07T04:10:06 pip._internal.exceptions.CommandError: Failed to build one or more wheels