Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Collecting pyndri
- Using cached pyndri-0.1.tar.gz
- Building wheels for collected packages: pyndri
- Running setup.py bdist_wheel for pyndri ... error
- Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-a4v6mior/pyndri/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/tmpe47eufclpip-wheel- --python-tag cp36:
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.6
- creating build/lib.linux-x86_64-3.6/pyndri
- copying py/__init__.py -> build/lib.linux-x86_64-3.6/pyndri
- copying py/dictionary.py -> build/lib.linux-x86_64-3.6/pyndri
- copying py/compat.py -> build/lib.linux-x86_64-3.6/pyndri
- running build_ext
- building 'pyndri_ext' extension
- creating build/temp.linux-x86_64-3.6
- creating build/temp.linux-x86_64-3.6/src
- gcc-6 -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -DP_NEEDS_GNU_CXX_NAMESPACE=1 -UNDEBUG -I/usr/include/python3.6m -c src/pyndri.cpp -o build/temp.linux-x86_64-3.6/src/pyndri.o
- cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
- In file included from /usr/local/include/indri/QuerySpec.hpp:18:0,
- from /usr/local/include/indri/QueryServer.hpp:22,
- from /usr/local/include/indri/LocalQueryServer.hpp:26,
- from src/pyndri.cpp:13:
- /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/include/c++/sstream:348:7: error: ‘struct std::basic_stringbuf<_CharT, _Traits, _Alloc>::__xfer_bufptrs’ redeclared with different access
- struct __xfer_bufptrs
- ^~~~~~
- src/pyndri.cpp: In function ‘int Index_init(Index*, PyObject*, PyObject*)’:
- src/pyndri.cpp:101:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- static char* kwlist[] = {"repository_path", NULL};
- ^
- src/pyndri.cpp: At global scope:
- src/pyndri.cpp:180:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- };
- ^
- src/pyndri.cpp:180:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- src/pyndri.cpp: In function ‘PyObject* Index_get_document_ids(Index*, PyObject*)’:
- src/pyndri.cpp:208:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
- while (item = PyIter_Next(iterator)) {
- ^
- In file included from /usr/local/include/indri/DocListMemoryBuilder.hpp:24:0,
- from /usr/local/include/indri/MemoryIndex.hpp:35,
- from /usr/local/include/indri/Repository.hpp:26,
- from /usr/local/include/indri/InferenceNetwork.hpp:25,
- from /usr/local/include/indri/QueryServer.hpp:23,
- from /usr/local/include/indri/LocalQueryServer.hpp:26,
- from src/pyndri.cpp:13:
- src/pyndri.cpp: In function ‘PyObject* Index_get_dictionary(Index*, PyObject*)’:
- src/pyndri.cpp:30:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- #define CHECK_EQ(first, second) assert(first == second)
- src/pyndri.cpp:471:14:
- CHECK_EQ(PyDict_Size(token2id), self->index_->uniqueTermCount());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/pyndri.cpp:471:5: note: in expansion of macro ‘CHECK_EQ’
- CHECK_EQ(PyDict_Size(token2id), self->index_->uniqueTermCount());
- ^~~~~~~~
- src/pyndri.cpp:30:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- #define CHECK_EQ(first, second) assert(first == second)
- src/pyndri.cpp:472:14:
- CHECK_EQ(PyDict_Size(id2token), self->index_->uniqueTermCount());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/pyndri.cpp:472:5: note: in expansion of macro ‘CHECK_EQ’
- CHECK_EQ(PyDict_Size(id2token), self->index_->uniqueTermCount());
- ^~~~~~~~
- src/pyndri.cpp:30:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- #define CHECK_EQ(first, second) assert(first == second)
- src/pyndri.cpp:473:14:
- CHECK_EQ(PyDict_Size(id2df), self->index_->uniqueTermCount());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/pyndri.cpp:473:5: note: in expansion of macro ‘CHECK_EQ’
- CHECK_EQ(PyDict_Size(id2df), self->index_->uniqueTermCount());
- ^~~~~~~~
- src/pyndri.cpp: In function ‘PyObject* Index_get_term_frequencies(Index*, PyObject*)’:
- src/pyndri.cpp:30:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- #define CHECK_EQ(first, second) assert(first == second)
- src/pyndri.cpp:508:14:
- CHECK_EQ(PyDict_Size(id2tf), self->index_->uniqueTermCount());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/pyndri.cpp:508:5: note: in expansion of macro ‘CHECK_EQ’
- CHECK_EQ(PyDict_Size(id2tf), self->index_->uniqueTermCount());
- ^~~~~~~~
- src/pyndri.cpp: In function ‘int QueryEnvironment_init(QueryEnvironment*, PyObject*, PyObject*)’:
- src/pyndri.cpp:585:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- NULL};
- ^
- src/pyndri.cpp:585:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- src/pyndri.cpp:585:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- src/pyndri.cpp: In function ‘PyObject* QueryEnvironment_run_query(QueryEnvironment*, PyObject*, PyObject*)’:
- src/pyndri.cpp:641:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- NULL};
- ^
- src/pyndri.cpp:641:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- src/pyndri.cpp:641:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- src/pyndri.cpp:641:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- src/pyndri.cpp:675:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
- while (item = PyIter_Next(iterator)) {
- ^
- error: command 'gcc-6' failed with exit status 1
- ----------------------------------------
- Failed building wheel for pyndri
- Running setup.py clean for pyndri
- Failed to build pyndri
- Installing collected packages: pyndri
- Running setup.py install for pyndri ... error
- Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-a4v6mior/pyndri/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-jcs4kwqt-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.6
- creating build/lib.linux-x86_64-3.6/pyndri
- copying py/__init__.py -> build/lib.linux-x86_64-3.6/pyndri
- copying py/dictionary.py -> build/lib.linux-x86_64-3.6/pyndri
- copying py/compat.py -> build/lib.linux-x86_64-3.6/pyndri
- running build_ext
- building 'pyndri_ext' extension
- creating build/temp.linux-x86_64-3.6
- creating build/temp.linux-x86_64-3.6/src
- gcc-6 -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -DP_NEEDS_GNU_CXX_NAMESPACE=1 -UNDEBUG -I/usr/include/python3.6m -c src/pyndri.cpp -o build/temp.linux-x86_64-3.6/src/pyndri.o
- cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
- In file included from /usr/local/include/indri/QuerySpec.hpp:18:0,
- from /usr/local/include/indri/QueryServer.hpp:22,
- from /usr/local/include/indri/LocalQueryServer.hpp:26,
- from src/pyndri.cpp:13:
- /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/include/c++/sstream:348:7: error: ‘struct std::basic_stringbuf<_CharT, _Traits, _Alloc>::__xfer_bufptrs’ redeclared with different access
- struct __xfer_bufptrs
- ^~~~~~
- src/pyndri.cpp: In function ‘int Index_init(Index*, PyObject*, PyObject*)’:
- src/pyndri.cpp:101:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- static char* kwlist[] = {"repository_path", NULL};
- ^
- src/pyndri.cpp: At global scope:
- src/pyndri.cpp:180:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- };
- ^
- src/pyndri.cpp:180:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- src/pyndri.cpp: In function ‘PyObject* Index_get_document_ids(Index*, PyObject*)’:
- src/pyndri.cpp:208:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
- while (item = PyIter_Next(iterator)) {
- ^
- In file included from /usr/local/include/indri/DocListMemoryBuilder.hpp:24:0,
- from /usr/local/include/indri/MemoryIndex.hpp:35,
- from /usr/local/include/indri/Repository.hpp:26,
- from /usr/local/include/indri/InferenceNetwork.hpp:25,
- from /usr/local/include/indri/QueryServer.hpp:23,
- from /usr/local/include/indri/LocalQueryServer.hpp:26,
- from src/pyndri.cpp:13:
- src/pyndri.cpp: In function ‘PyObject* Index_get_dictionary(Index*, PyObject*)’:
- src/pyndri.cpp:30:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- #define CHECK_EQ(first, second) assert(first == second)
- src/pyndri.cpp:471:14:
- CHECK_EQ(PyDict_Size(token2id), self->index_->uniqueTermCount());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/pyndri.cpp:471:5: note: in expansion of macro ‘CHECK_EQ’
- CHECK_EQ(PyDict_Size(token2id), self->index_->uniqueTermCount());
- ^~~~~~~~
- src/pyndri.cpp:30:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- #define CHECK_EQ(first, second) assert(first == second)
- src/pyndri.cpp:472:14:
- CHECK_EQ(PyDict_Size(id2token), self->index_->uniqueTermCount());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/pyndri.cpp:472:5: note: in expansion of macro ‘CHECK_EQ’
- CHECK_EQ(PyDict_Size(id2token), self->index_->uniqueTermCount());
- ^~~~~~~~
- src/pyndri.cpp:30:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- #define CHECK_EQ(first, second) assert(first == second)
- src/pyndri.cpp:473:14:
- CHECK_EQ(PyDict_Size(id2df), self->index_->uniqueTermCount());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/pyndri.cpp:473:5: note: in expansion of macro ‘CHECK_EQ’
- CHECK_EQ(PyDict_Size(id2df), self->index_->uniqueTermCount());
- ^~~~~~~~
- src/pyndri.cpp: In function ‘PyObject* Index_get_term_frequencies(Index*, PyObject*)’:
- src/pyndri.cpp:30:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- #define CHECK_EQ(first, second) assert(first == second)
- src/pyndri.cpp:508:14:
- CHECK_EQ(PyDict_Size(id2tf), self->index_->uniqueTermCount());
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/pyndri.cpp:508:5: note: in expansion of macro ‘CHECK_EQ’
- CHECK_EQ(PyDict_Size(id2tf), self->index_->uniqueTermCount());
- ^~~~~~~~
- src/pyndri.cpp: In function ‘int QueryEnvironment_init(QueryEnvironment*, PyObject*, PyObject*)’:
- src/pyndri.cpp:585:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- NULL};
- ^
- src/pyndri.cpp:585:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- src/pyndri.cpp:585:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- src/pyndri.cpp: In function ‘PyObject* QueryEnvironment_run_query(QueryEnvironment*, PyObject*, PyObject*)’:
- src/pyndri.cpp:641:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- NULL};
- ^
- src/pyndri.cpp:641:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- src/pyndri.cpp:641:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- src/pyndri.cpp:641:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- src/pyndri.cpp:675:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
- while (item = PyIter_Next(iterator)) {
- ^
- error: command 'gcc-6' failed with exit status 1
- ----------------------------------------
- Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-a4v6mior/pyndri/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-jcs4kwqt-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-a4v6mior/pyndri/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement