Guest User

Untitled

a guest
May 10th, 2019
113
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Collecting python-Levenshtein
  2. Using cached https://files.pythonhosted.org/packages/42/a9/d1785c85ebf9b7dfacd08938dd028209c34a0ea3b1bcdb895208bd40a67d/python-Levenshtein-0.12.0.tar.gz
  3. Requirement already satisfied: setuptools in ./anaconda3/lib/python3.7/site-packages (from python-Levenshtein) (41.0.1)
  4. Building wheels for collected packages: python-Levenshtein
  5. Building wheel for python-Levenshtein (setup.py) ... error
  6. Complete output from command /home/nariman/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-rhtfde79/python-Levenshtein/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-qr0qn7pf --python-tag cp37:
  7. running bdist_wheel
  8. running build
  9. running build_py
  10. creating build
  11. creating build/lib.linux-x86_64-3.7
  12. creating build/lib.linux-x86_64-3.7/Levenshtein
  13. copying Levenshtein/__init__.py -> build/lib.linux-x86_64-3.7/Levenshtein
  14. copying Levenshtein/StringMatcher.py -> build/lib.linux-x86_64-3.7/Levenshtein
  15. running egg_info
  16. writing python_Levenshtein.egg-info/PKG-INFO
  17. writing dependency_links to python_Levenshtein.egg-info/dependency_links.txt
  18. writing entry points to python_Levenshtein.egg-info/entry_points.txt
  19. writing namespace_packages to python_Levenshtein.egg-info/namespace_packages.txt
  20. writing requirements to python_Levenshtein.egg-info/requires.txt
  21. writing top-level names to python_Levenshtein.egg-info/top_level.txt
  22. reading manifest file 'python_Levenshtein.egg-info/SOURCES.txt'
  23. reading manifest template 'MANIFEST.in'
  24. warning: no previously-included files matching '*pyc' found anywhere in distribution
  25. warning: no previously-included files matching '*so' found anywhere in distribution
  26. warning: no previously-included files matching '.project' found anywhere in distribution
  27. warning: no previously-included files matching '.pydevproject' found anywhere in distribution
  28. writing manifest file 'python_Levenshtein.egg-info/SOURCES.txt'
  29. copying Levenshtein/_levenshtein.c -> build/lib.linux-x86_64-3.7/Levenshtein
  30. copying Levenshtein/_levenshtein.h -> build/lib.linux-x86_64-3.7/Levenshtein
  31. running build_ext
  32. building 'Levenshtein._levenshtein' extension
  33. creating build/temp.linux-x86_64-3.7
  34. creating build/temp.linux-x86_64-3.7/Levenshtein
  35. gcc -pthread -B /home/nariman/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/nariman/anaconda3/include/python3.7m -c Levenshtein/_levenshtein.c -o build/temp.linux-x86_64-3.7/Levenshtein/_levenshtein.o
  36. Levenshtein/_levenshtein.c: In function 'levenshtein_common':
  37. Levenshtein/_levenshtein.c:711:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  38. string1 = PyString_AS_STRING(arg1);
  39. ^
  40. Levenshtein/_levenshtein.c:712:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  41. string2 = PyString_AS_STRING(arg2);
  42. ^
  43. Levenshtein/_levenshtein.c: In function 'hamming_py':
  44. Levenshtein/_levenshtein.c:796:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  45. string1 = PyString_AS_STRING(arg1);
  46. ^
  47. Levenshtein/_levenshtein.c:797:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  48. string2 = PyString_AS_STRING(arg2);
  49. ^
  50. Levenshtein/_levenshtein.c: In function 'jaro_py':
  51. Levenshtein/_levenshtein.c:840:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  52. string1 = PyString_AS_STRING(arg1);
  53. ^
  54. Levenshtein/_levenshtein.c:841:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  55. string2 = PyString_AS_STRING(arg2);
  56. ^
  57. Levenshtein/_levenshtein.c: In function 'jaro_winkler_py':
  58. Levenshtein/_levenshtein.c:890:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  59. string1 = PyString_AS_STRING(arg1);
  60. ^
  61. Levenshtein/_levenshtein.c:891:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  62. string2 = PyString_AS_STRING(arg2);
  63. ^
  64. Levenshtein/_levenshtein.c: In function 'median_common':
  65. Levenshtein/_levenshtein.c:992:43: warning: pointer targets in passing argument 1 of 'PyBytes_FromStringAndSize' differ in signedness [-Wpointer-sign]
  66. result = PyString_FromStringAndSize(medstr, len);
  67. ^~~~~~
  68. In file included from /home/nariman/anaconda3/include/python3.7m/Python.h:98,
  69. from Levenshtein/_levenshtein.c:99:
  70. /home/nariman/anaconda3/include/python3.7m/bytesobject.h:51:24: note: expected 'const char *' but argument is of type 'lev_byte *' {aka 'unsigned char *'}
  71. PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
  72. ^~~~~~~~~~~~~~~~~~~~~~~~~
  73. Levenshtein/_levenshtein.c: In function 'median_improve_common':
  74. /home/nariman/anaconda3/include/python3.7m/bytesobject.h:87:31: warning: pointer targets in initialization of 'lev_byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign]
  75. #define PyBytes_AS_STRING(op) (assert(PyBytes_Check(op)), \
  76. ^
  77. Levenshtein/_levenshtein.c:106:28: note: in expansion of macro 'PyBytes_AS_STRING'
  78. #define PyString_AS_STRING PyBytes_AS_STRING
  79. ^~~~~~~~~~~~~~~~~
  80. Levenshtein/_levenshtein.c:1071:19: note: in expansion of macro 'PyString_AS_STRING'
  81. lev_byte *s = PyString_AS_STRING(arg1);
  82. ^~~~~~~~~~~~~~~~~~
  83. Levenshtein/_levenshtein.c:1077:43: warning: pointer targets in passing argument 1 of 'PyBytes_FromStringAndSize' differ in signedness [-Wpointer-sign]
  84. result = PyString_FromStringAndSize(medstr, len);
  85. ^~~~~~
  86. In file included from /home/nariman/anaconda3/include/python3.7m/Python.h:98,
  87. from Levenshtein/_levenshtein.c:99:
  88. /home/nariman/anaconda3/include/python3.7m/bytesobject.h:51:24: note: expected 'const char *' but argument is of type 'lev_byte *' {aka 'unsigned char *'}
  89. PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
  90. ^~~~~~~~~~~~~~~~~~~~~~~~~
  91. Levenshtein/_levenshtein.c: In function 'extract_weightlist':
  92. Levenshtein/_levenshtein.c:1115:41: warning: comparison of integer expressions of different signedness: 'Py_ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  93. if (PySequence_Fast_GET_SIZE(wlist) != n) {
  94. ^~
  95. Levenshtein/_levenshtein.c: In function 'extract_stringlist':
  96. Levenshtein/_levenshtein.c:1201:16: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  97. strings[0] = PyString_AS_STRING(first);
  98. ^
  99. Levenshtein/_levenshtein.c:1213:18: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  100. strings[i] = PyString_AS_STRING(item);
  101. ^
  102. Levenshtein/_levenshtein.c: In function 'string_to_edittype':
  103. Levenshtein/_levenshtein.c:1379:13: warning: unused variable 'len' [-Wunused-variable]
  104. size_t i, len;
  105. ^~~
  106. Levenshtein/_levenshtein.c:1378:15: warning: unused variable 's' [-Wunused-variable]
  107. const char *s;
  108. ^
  109. Levenshtein/_levenshtein.c: In function 'editops_py':
  110. Levenshtein/_levenshtein.c:1650:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  111. string1 = PyString_AS_STRING(arg1);
  112. ^
  113. Levenshtein/_levenshtein.c:1651:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  114. string2 = PyString_AS_STRING(arg2);
  115. ^
  116. Levenshtein/_levenshtein.c: In function 'opcodes_py':
  117. Levenshtein/_levenshtein.c:1768:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  118. string1 = PyString_AS_STRING(arg1);
  119. ^
  120. Levenshtein/_levenshtein.c:1769:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  121. string2 = PyString_AS_STRING(arg2);
  122. ^
  123. Levenshtein/_levenshtein.c: In function 'apply_edit_py':
  124. Levenshtein/_levenshtein.c:1863:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  125. string1 = PyString_AS_STRING(arg1);
  126. ^
  127. Levenshtein/_levenshtein.c:1864:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  128. string2 = PyString_AS_STRING(arg2);
  129. ^
  130. Levenshtein/_levenshtein.c:1878:43: warning: pointer targets in passing argument 1 of 'PyBytes_FromStringAndSize' differ in signedness [-Wpointer-sign]
  131. result = PyString_FromStringAndSize(s, len);
  132. ^
  133. In file included from /home/nariman/anaconda3/include/python3.7m/Python.h:98,
  134. from Levenshtein/_levenshtein.c:99:
  135. /home/nariman/anaconda3/include/python3.7m/bytesobject.h:51:24: note: expected 'const char *' but argument is of type 'lev_byte *' {aka 'unsigned char *'}
  136. PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
  137. ^~~~~~~~~~~~~~~~~~~~~~~~~
  138. Levenshtein/_levenshtein.c:1894:43: warning: pointer targets in passing argument 1 of 'PyBytes_FromStringAndSize' differ in signedness [-Wpointer-sign]
  139. result = PyString_FromStringAndSize(s, len);
  140. ^
  141. In file included from /home/nariman/anaconda3/include/python3.7m/Python.h:98,
  142. from Levenshtein/_levenshtein.c:99:
  143. /home/nariman/anaconda3/include/python3.7m/bytesobject.h:51:24: note: expected 'const char *' but argument is of type 'lev_byte *' {aka 'unsigned char *'}
  144. PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
  145. ^~~~~~~~~~~~~~~~~~~~~~~~~
  146. Levenshtein/_levenshtein.c: In function 'subtract_edit_py':
  147. Levenshtein/_levenshtein.c:2060:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  148. if (!orem && nr == -1) {
  149. ^~
  150. At top level:
  151. Levenshtein/_levenshtein.c:6700:1: warning: 'lev_opcodes_total_cost' defined but not used [-Wunused-function]
  152. lev_opcodes_total_cost(size_t nb,
  153. ^~~~~~~~~~~~~~~~~~~~~~
  154. Levenshtein/_levenshtein.c:6655:1: warning: 'lev_editops_normalize' defined but not used [-Wunused-function]
  155. lev_editops_normalize(size_t n,
  156. ^~~~~~~~~~~~~~~~~~~~~
  157. Levenshtein/_levenshtein.c:6630:1: warning: 'lev_editops_total_cost' defined but not used [-Wunused-function]
  158. lev_editops_total_cost(size_t n,
  159. ^~~~~~~~~~~~~~~~~~~~~~
  160. Levenshtein/_levenshtein.c:2550:1: warning: 'lev_u_edit_distance_sod' defined but not used [-Wunused-function]
  161. lev_u_edit_distance_sod(size_t len, const lev_wchar *string,
  162. ^~~~~~~~~~~~~~~~~~~~~~~
  163. Levenshtein/_levenshtein.c:2371:1: warning: 'lev_edit_distance_sod' defined but not used [-Wunused-function]
  164. lev_edit_distance_sod(size_t len, const lev_byte *string,
  165. ^~~~~~~~~~~~~~~~~~~~~
  166. gcc -pthread -shared -B /home/nariman/anaconda3/compiler_compat -L/home/nariman/anaconda3/lib -Wl,-rpath=/home/nariman/anaconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/Levenshtein/_levenshtein.o -o build/lib.linux-x86_64-3.7/Levenshtein/_levenshtein.cpython-37m-x86_64-linux-gnu.so
  167. /home/nariman/anaconda3/compiler_compat/ld: build/temp.linux-x86_64-3.7/Levenshtein/_levenshtein.o: unable to initialize decompress status for section .debug_info
  168. /home/nariman/anaconda3/compiler_compat/ld: build/temp.linux-x86_64-3.7/Levenshtein/_levenshtein.o: unable to initialize decompress status for section .debug_info
  169. /home/nariman/anaconda3/compiler_compat/ld: build/temp.linux-x86_64-3.7/Levenshtein/_levenshtein.o: unable to initialize decompress status for section .debug_info
  170. /home/nariman/anaconda3/compiler_compat/ld: build/temp.linux-x86_64-3.7/Levenshtein/_levenshtein.o: unable to initialize decompress status for section .debug_info
  171. build/temp.linux-x86_64-3.7/Levenshtein/_levenshtein.o: file not recognized: file format not recognized
  172. collect2: error: ld returned 1 exit status
  173. error: command 'gcc' failed with exit status 1
  174.  
  175. ----------------------------------------
  176. Failed building wheel for python-Levenshtein
  177. Running setup.py clean for python-Levenshtein
  178. Failed to build python-Levenshtein
  179. Installing collected packages: python-Levenshtein
  180. Running setup.py install for python-Levenshtein ... error
  181. Complete output from command /home/nariman/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-rhtfde79/python-Levenshtein/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-record-tsbw66uj/install-record.txt --single-version-externally-managed --compile:
  182. running install
  183. running build
  184. running build_py
  185. creating build
  186. creating build/lib.linux-x86_64-3.7
  187. creating build/lib.linux-x86_64-3.7/Levenshtein
  188. copying Levenshtein/__init__.py -> build/lib.linux-x86_64-3.7/Levenshtein
  189. copying Levenshtein/StringMatcher.py -> build/lib.linux-x86_64-3.7/Levenshtein
  190. running egg_info
  191. writing python_Levenshtein.egg-info/PKG-INFO
  192. writing dependency_links to python_Levenshtein.egg-info/dependency_links.txt
  193. writing entry points to python_Levenshtein.egg-info/entry_points.txt
  194. writing namespace_packages to python_Levenshtein.egg-info/namespace_packages.txt
  195. writing requirements to python_Levenshtein.egg-info/requires.txt
  196. writing top-level names to python_Levenshtein.egg-info/top_level.txt
  197. reading manifest file 'python_Levenshtein.egg-info/SOURCES.txt'
  198. reading manifest template 'MANIFEST.in'
  199. warning: no previously-included files matching '*pyc' found anywhere in distribution
  200. warning: no previously-included files matching '*so' found anywhere in distribution
  201. warning: no previously-included files matching '.project' found anywhere in distribution
  202. warning: no previously-included files matching '.pydevproject' found anywhere in distribution
  203. writing manifest file 'python_Levenshtein.egg-info/SOURCES.txt'
  204. copying Levenshtein/_levenshtein.c -> build/lib.linux-x86_64-3.7/Levenshtein
  205. copying Levenshtein/_levenshtein.h -> build/lib.linux-x86_64-3.7/Levenshtein
  206. running build_ext
  207. building 'Levenshtein._levenshtein' extension
  208. creating build/temp.linux-x86_64-3.7
  209. creating build/temp.linux-x86_64-3.7/Levenshtein
  210. gcc -pthread -B /home/nariman/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/nariman/anaconda3/include/python3.7m -c Levenshtein/_levenshtein.c -o build/temp.linux-x86_64-3.7/Levenshtein/_levenshtein.o
  211. Levenshtein/_levenshtein.c: In function 'levenshtein_common':
  212. Levenshtein/_levenshtein.c:711:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  213. string1 = PyString_AS_STRING(arg1);
  214. ^
  215. Levenshtein/_levenshtein.c:712:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  216. string2 = PyString_AS_STRING(arg2);
  217. ^
  218. Levenshtein/_levenshtein.c: In function 'hamming_py':
  219. Levenshtein/_levenshtein.c:796:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  220. string1 = PyString_AS_STRING(arg1);
  221. ^
  222. Levenshtein/_levenshtein.c:797:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  223. string2 = PyString_AS_STRING(arg2);
  224. ^
  225. Levenshtein/_levenshtein.c: In function 'jaro_py':
  226. Levenshtein/_levenshtein.c:840:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  227. string1 = PyString_AS_STRING(arg1);
  228. ^
  229. Levenshtein/_levenshtein.c:841:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  230. string2 = PyString_AS_STRING(arg2);
  231. ^
  232. Levenshtein/_levenshtein.c: In function 'jaro_winkler_py':
  233. Levenshtein/_levenshtein.c:890:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  234. string1 = PyString_AS_STRING(arg1);
  235. ^
  236. Levenshtein/_levenshtein.c:891:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  237. string2 = PyString_AS_STRING(arg2);
  238. ^
  239. Levenshtein/_levenshtein.c: In function 'median_common':
  240. Levenshtein/_levenshtein.c:992:43: warning: pointer targets in passing argument 1 of 'PyBytes_FromStringAndSize' differ in signedness [-Wpointer-sign]
  241. result = PyString_FromStringAndSize(medstr, len);
  242. ^~~~~~
  243. In file included from /home/nariman/anaconda3/include/python3.7m/Python.h:98,
  244. from Levenshtein/_levenshtein.c:99:
  245. /home/nariman/anaconda3/include/python3.7m/bytesobject.h:51:24: note: expected 'const char *' but argument is of type 'lev_byte *' {aka 'unsigned char *'}
  246. PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
  247. ^~~~~~~~~~~~~~~~~~~~~~~~~
  248. Levenshtein/_levenshtein.c: In function 'median_improve_common':
  249. /home/nariman/anaconda3/include/python3.7m/bytesobject.h:87:31: warning: pointer targets in initialization of 'lev_byte *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign]
  250. #define PyBytes_AS_STRING(op) (assert(PyBytes_Check(op)), \
  251. ^
  252. Levenshtein/_levenshtein.c:106:28: note: in expansion of macro 'PyBytes_AS_STRING'
  253. #define PyString_AS_STRING PyBytes_AS_STRING
  254. ^~~~~~~~~~~~~~~~~
  255. Levenshtein/_levenshtein.c:1071:19: note: in expansion of macro 'PyString_AS_STRING'
  256. lev_byte *s = PyString_AS_STRING(arg1);
  257. ^~~~~~~~~~~~~~~~~~
  258. Levenshtein/_levenshtein.c:1077:43: warning: pointer targets in passing argument 1 of 'PyBytes_FromStringAndSize' differ in signedness [-Wpointer-sign]
  259. result = PyString_FromStringAndSize(medstr, len);
  260. ^~~~~~
  261. In file included from /home/nariman/anaconda3/include/python3.7m/Python.h:98,
  262. from Levenshtein/_levenshtein.c:99:
  263. /home/nariman/anaconda3/include/python3.7m/bytesobject.h:51:24: note: expected 'const char *' but argument is of type 'lev_byte *' {aka 'unsigned char *'}
  264. PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
  265. ^~~~~~~~~~~~~~~~~~~~~~~~~
  266. Levenshtein/_levenshtein.c: In function 'extract_weightlist':
  267. Levenshtein/_levenshtein.c:1115:41: warning: comparison of integer expressions of different signedness: 'Py_ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  268. if (PySequence_Fast_GET_SIZE(wlist) != n) {
  269. ^~
  270. Levenshtein/_levenshtein.c: In function 'extract_stringlist':
  271. Levenshtein/_levenshtein.c:1201:16: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  272. strings[0] = PyString_AS_STRING(first);
  273. ^
  274. Levenshtein/_levenshtein.c:1213:18: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  275. strings[i] = PyString_AS_STRING(item);
  276. ^
  277. Levenshtein/_levenshtein.c: In function 'string_to_edittype':
  278. Levenshtein/_levenshtein.c:1379:13: warning: unused variable 'len' [-Wunused-variable]
  279. size_t i, len;
  280. ^~~
  281. Levenshtein/_levenshtein.c:1378:15: warning: unused variable 's' [-Wunused-variable]
  282. const char *s;
  283. ^
  284. Levenshtein/_levenshtein.c: In function 'editops_py':
  285. Levenshtein/_levenshtein.c:1650:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  286. string1 = PyString_AS_STRING(arg1);
  287. ^
  288. Levenshtein/_levenshtein.c:1651:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  289. string2 = PyString_AS_STRING(arg2);
  290. ^
  291. Levenshtein/_levenshtein.c: In function 'opcodes_py':
  292. Levenshtein/_levenshtein.c:1768:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  293. string1 = PyString_AS_STRING(arg1);
  294. ^
  295. Levenshtein/_levenshtein.c:1769:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  296. string2 = PyString_AS_STRING(arg2);
  297. ^
  298. Levenshtein/_levenshtein.c: In function 'apply_edit_py':
  299. Levenshtein/_levenshtein.c:1863:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  300. string1 = PyString_AS_STRING(arg1);
  301. ^
  302. Levenshtein/_levenshtein.c:1864:13: warning: pointer targets in assignment from 'char *' to 'lev_byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  303. string2 = PyString_AS_STRING(arg2);
  304. ^
  305. Levenshtein/_levenshtein.c:1878:43: warning: pointer targets in passing argument 1 of 'PyBytes_FromStringAndSize' differ in signedness [-Wpointer-sign]
  306. result = PyString_FromStringAndSize(s, len);
  307. ^
  308. In file included from /home/nariman/anaconda3/include/python3.7m/Python.h:98,
  309. from Levenshtein/_levenshtein.c:99:
  310. /home/nariman/anaconda3/include/python3.7m/bytesobject.h:51:24: note: expected 'const char *' but argument is of type 'lev_byte *' {aka 'unsigned char *'}
  311. PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
  312. ^~~~~~~~~~~~~~~~~~~~~~~~~
  313. Levenshtein/_levenshtein.c:1894:43: warning: pointer targets in passing argument 1 of 'PyBytes_FromStringAndSize' differ in signedness [-Wpointer-sign]
  314. result = PyString_FromStringAndSize(s, len);
  315. ^
  316. In file included from /home/nariman/anaconda3/include/python3.7m/Python.h:98,
  317. from Levenshtein/_levenshtein.c:99:
  318. /home/nariman/anaconda3/include/python3.7m/bytesobject.h:51:24: note: expected 'const char *' but argument is of type 'lev_byte *' {aka 'unsigned char *'}
  319. PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
  320. ^~~~~~~~~~~~~~~~~~~~~~~~~
  321. Levenshtein/_levenshtein.c: In function 'subtract_edit_py':
  322. Levenshtein/_levenshtein.c:2060:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  323. if (!orem && nr == -1) {
  324. ^~
  325. At top level:
  326. Levenshtein/_levenshtein.c:6700:1: warning: 'lev_opcodes_total_cost' defined but not used [-Wunused-function]
  327. lev_opcodes_total_cost(size_t nb,
  328. ^~~~~~~~~~~~~~~~~~~~~~
  329. Levenshtein/_levenshtein.c:6655:1: warning: 'lev_editops_normalize' defined but not used [-Wunused-function]
  330. lev_editops_normalize(size_t n,
  331. ^~~~~~~~~~~~~~~~~~~~~
  332. Levenshtein/_levenshtein.c:6630:1: warning: 'lev_editops_total_cost' defined but not used [-Wunused-function]
  333. lev_editops_total_cost(size_t n,
  334. ^~~~~~~~~~~~~~~~~~~~~~
  335. Levenshtein/_levenshtein.c:2550:1: warning: 'lev_u_edit_distance_sod' defined but not used [-Wunused-function]
  336. lev_u_edit_distance_sod(size_t len, const lev_wchar *string,
  337. ^~~~~~~~~~~~~~~~~~~~~~~
  338. Levenshtein/_levenshtein.c:2371:1: warning: 'lev_edit_distance_sod' defined but not used [-Wunused-function]
  339. lev_edit_distance_sod(size_t len, const lev_byte *string,
  340. ^~~~~~~~~~~~~~~~~~~~~
  341. gcc -pthread -shared -B /home/nariman/anaconda3/compiler_compat -L/home/nariman/anaconda3/lib -Wl,-rpath=/home/nariman/anaconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/Levenshtein/_levenshtein.o -o build/lib.linux-x86_64-3.7/Levenshtein/_levenshtein.cpython-37m-x86_64-linux-gnu.so
  342. /home/nariman/anaconda3/compiler_compat/ld: build/temp.linux-x86_64-3.7/Levenshtein/_levenshtein.o: unable to initialize decompress status for section .debug_info
  343. /home/nariman/anaconda3/compiler_compat/ld: build/temp.linux-x86_64-3.7/Levenshtein/_levenshtein.o: unable to initialize decompress status for section .debug_info
  344. /home/nariman/anaconda3/compiler_compat/ld: build/temp.linux-x86_64-3.7/Levenshtein/_levenshtein.o: unable to initialize decompress status for section .debug_info
  345. /home/nariman/anaconda3/compiler_compat/ld: build/temp.linux-x86_64-3.7/Levenshtein/_levenshtein.o: unable to initialize decompress status for section .debug_info
  346. build/temp.linux-x86_64-3.7/Levenshtein/_levenshtein.o: file not recognized: file format not recognized
  347. collect2: error: ld returned 1 exit status
  348. error: command 'gcc' failed with exit status 1
  349.  
  350. ----------------------------------------
  351. Command "/home/nariman/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-rhtfde79/python-Levenshtein/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-record-tsbw66uj/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-rhtfde79/python-Levenshtein/
RAW Paste Data