Guest User

Error log for 'pipx install sparse-dot-topn-for-blocks' on Arch

a guest
Oct 22nd, 2023
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.03 KB | None | 0 0
  1. PIP STDOUT
  2. ----------
  3. Collecting sparse-dot-topn-for-blocks
  4. Using cached sparse_dot_topn_for_blocks-0.3.1.post3.tar.gz (17 kB)
  5. Installing build dependencies: started
  6. Installing build dependencies: finished with status 'done'
  7. Getting requirements to build wheel: started
  8. Getting requirements to build wheel: finished with status 'done'
  9. Installing backend dependencies: started
  10. Installing backend dependencies: finished with status 'done'
  11. Preparing metadata (pyproject.toml): started
  12. Preparing metadata (pyproject.toml): finished with status 'done'
  13. Requirement already satisfied: setuptools>=42 in /home/x/.local/pipx/shared/lib/python3.11/site-packages (from sparse-dot-topn-for-blocks) (68.2.2)
  14. Collecting cython>=0.29.15 (from sparse-dot-topn-for-blocks)
  15. Using cached Cython-3.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
  16. Collecting numpy>=1.16.6 (from sparse-dot-topn-for-blocks)
  17. Using cached numpy-1.26.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
  18. Collecting scipy>=1.2.3 (from sparse-dot-topn-for-blocks)
  19. Using cached scipy-1.11.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
  20. Using cached Cython-3.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB)
  21. Using cached numpy-1.26.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
  22. Using cached scipy-1.11.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (36.4 MB)
  23. Building wheels for collected packages: sparse-dot-topn-for-blocks
  24. Building wheel for sparse-dot-topn-for-blocks (pyproject.toml): started
  25. Building wheel for sparse-dot-topn-for-blocks (pyproject.toml): finished with status 'error'
  26. Failed to build sparse-dot-topn-for-blocks
  27.  
  28. PIP STDERR
  29. ----------
  30. error: subprocess-exited-with-error
  31.  
  32. × Building wheel for sparse-dot-topn-for-blocks (pyproject.toml) did not run successfully.
  33. │ exit code: 1
  34. ╰─> [246 lines of output]
  35. /tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/dist.py:314: InformationOnly: Normalizing '0.3.1-3' to '0.3.1.post3'
  36. self.metadata.version = self._normalize_version(
  37. running bdist_wheel
  38. running build
  39. running build_py
  40. creating build
  41. creating build/lib.linux-x86_64-cpython-311
  42. creating build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  43. copying sparse_dot_topn_for_blocks/awesome_cossim_topn.py -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  44. copying sparse_dot_topn_for_blocks/__init__.py -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  45. running egg_info
  46. writing sparse_dot_topn_for_blocks.egg-info/PKG-INFO
  47. writing dependency_links to sparse_dot_topn_for_blocks.egg-info/dependency_links.txt
  48. writing requirements to sparse_dot_topn_for_blocks.egg-info/requires.txt
  49. writing top-level names to sparse_dot_topn_for_blocks.egg-info/top_level.txt
  50. reading manifest file 'sparse_dot_topn_for_blocks.egg-info/SOURCES.txt'
  51. reading manifest template 'MANIFEST.in'
  52. adding license file 'LICENSE'
  53. writing manifest file 'sparse_dot_topn_for_blocks.egg-info/SOURCES.txt'
  54. copying sparse_dot_topn_for_blocks/array_wrappers.pxd -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  55. copying sparse_dot_topn_for_blocks/array_wrappers.pyx -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  56. copying sparse_dot_topn_for_blocks/sparse_dot_topn.pyx -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  57. copying sparse_dot_topn_for_blocks/sparse_dot_topn_parallel.cpp -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  58. copying sparse_dot_topn_for_blocks/sparse_dot_topn_parallel.h -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  59. copying sparse_dot_topn_for_blocks/sparse_dot_topn_source.cpp -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  60. copying sparse_dot_topn_for_blocks/sparse_dot_topn_source.h -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  61. copying sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx -> build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  62. running build_ext
  63. /tmp/pip-build-env-lwsp07ul/normal/lib/python3.11/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-tdu1jm58/sparse-dot-topn-for-blocks_e2a30380b32348f58ea376dc1062aa1c/sparse_dot_topn_for_blocks/array_wrappers.pxd
  64. tree = Parsing.p_module(s, pxd, full_module_name)
  65. Compiling ./sparse_dot_topn_for_blocks/array_wrappers.pyx because it changed.
  66. [1/1] Cythonizing ./sparse_dot_topn_for_blocks/array_wrappers.pyx
  67. building 'sparse_dot_topn_for_blocks.array_wrappers' extension
  68. creating build/temp.linux-x86_64-cpython-311
  69. creating build/temp.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks
  70. gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -fPIC -I/home/x/.local/pipx/venvs/sparse-dot-topn-for-blocks/include -I/usr/include/python3.11 -I/tmp/pip-build-env-lwsp07ul/normal/lib/python3.11/site-packages/numpy/core/include -c ./sparse_dot_topn_for_blocks/array_wrappers.cpp -o build/temp.linux-x86_64-cpython-311/./sparse_dot_topn_for_blocks/array_wrappers.o -std=c++0x -pthread -O3
  71. g++ -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto build/temp.linux-x86_64-cpython-311/./sparse_dot_topn_for_blocks/array_wrappers.o -L/usr/lib -o build/lib.linux-x86_64-cpython-311/sparse_dot_topn_for_blocks/array_wrappers.cpython-311-x86_64-linux-gnu.so
  72. /tmp/pip-build-env-lwsp07ul/normal/lib/python3.11/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-tdu1jm58/sparse-dot-topn-for-blocks_e2a30380b32348f58ea376dc1062aa1c/sparse_dot_topn_for_blocks/sparse_dot_topn.pyx
  73. tree = Parsing.p_module(s, pxd, full_module_name)
  74.  
  75. Error compiling Cython file:
  76. ------------------------------------------------------------
  77. ...
  78. # April 14, 2021
  79.  
  80. # distutils: language = c++
  81.  
  82. from libcpp.vector cimport vector
  83. from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
  84. ^
  85. ------------------------------------------------------------
  86.  
  87. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:23:0: 'array_wrappers.pxd' not found
  88.  
  89. Error compiling Cython file:
  90. ------------------------------------------------------------
  91. ...
  92. # April 14, 2021
  93.  
  94. # distutils: language = c++
  95.  
  96. from libcpp.vector cimport vector
  97. from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
  98. ^
  99. ------------------------------------------------------------
  100.  
  101. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:23:0: 'array_wrappers/ArrayWrapper_int.pxd' not found
  102.  
  103. Error compiling Cython file:
  104. ------------------------------------------------------------
  105. ...
  106. # April 14, 2021
  107.  
  108. # distutils: language = c++
  109.  
  110. from libcpp.vector cimport vector
  111. from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
  112. ^
  113. ------------------------------------------------------------
  114.  
  115. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:23:0: 'array_wrappers/ArrayWrapper_float.pxd' not found
  116.  
  117. Error compiling Cython file:
  118. ------------------------------------------------------------
  119. ...
  120. # April 14, 2021
  121.  
  122. # distutils: language = c++
  123.  
  124. from libcpp.vector cimport vector
  125. from array_wrappers cimport ArrayWrapper_int, ArrayWrapper_float, ArrayWrapper_double
  126. ^
  127. ------------------------------------------------------------
  128.  
  129. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:23:0: 'array_wrappers/ArrayWrapper_double.pxd' not found
  130.  
  131. Error compiling Cython file:
  132. ------------------------------------------------------------
  133. ...
  134. ) except +;
  135.  
  136. cpdef ArrayWrapper_template(vector[float_ft] vCx):
  137. # raise Exception("In sparse_dot_topn.pyx")
  138. if float_ft is float:
  139. return ArrayWrapper_float(vCx)
  140. ^
  141. ------------------------------------------------------------
  142.  
  143. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:116:9: 'ArrayWrapper_float' is not a constant, variable or function identifier
  144.  
  145. Error compiling Cython file:
  146. ------------------------------------------------------------
  147. ...
  148. cpdef ArrayWrapper_template(vector[float_ft] vCx):
  149. # raise Exception("In sparse_dot_topn.pyx")
  150. if float_ft is float:
  151. return ArrayWrapper_float(vCx)
  152. elif float_ft is double:
  153. return ArrayWrapper_double(vCx)
  154. ^
  155. ------------------------------------------------------------
  156.  
  157. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:118:9: 'ArrayWrapper_double' is not a constant, variable or function identifier
  158.  
  159. Error compiling Cython file:
  160. ------------------------------------------------------------
  161. ...
  162.  
  163. if nnz_max_is_too_small:
  164.  
  165. # raise Exception("In sparse_dot_topn.pyx")
  166.  
  167. c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
  168. ^
  169. ------------------------------------------------------------
  170.  
  171. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:209:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
  172.  
  173. Error compiling Cython file:
  174. ------------------------------------------------------------
  175. ...
  176.  
  177. if nnz_max_is_too_small:
  178.  
  179. # raise Exception("In sparse_dot_topn.pyx")
  180.  
  181. c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
  182. ^
  183. ------------------------------------------------------------
  184.  
  185. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:209:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
  186.  
  187. Error compiling Cython file:
  188. ------------------------------------------------------------
  189. ...
  190.  
  191. if nnz_max_is_too_small:
  192.  
  193. # raise Exception("In sparse_dot_topn.pyx")
  194.  
  195. c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
  196. ^
  197. ------------------------------------------------------------
  198.  
  199. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:296:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
  200.  
  201. Error compiling Cython file:
  202. ------------------------------------------------------------
  203. ...
  204.  
  205. if nnz_max_is_too_small:
  206.  
  207. # raise Exception("In sparse_dot_topn.pyx")
  208.  
  209. c_indices = np.asarray(ArrayWrapper_int(vCj)).squeeze(axis=0)
  210. ^
  211. ------------------------------------------------------------
  212.  
  213. sparse_dot_topn_for_blocks/sparse_dot_topn.pyx:296:25: 'ArrayWrapper_int' is not a constant, variable or function identifier
  214. Compiling ./sparse_dot_topn_for_blocks/sparse_dot_topn.pyx because it changed.
  215. [1/1] Cythonizing ./sparse_dot_topn_for_blocks/sparse_dot_topn.pyx
  216. Traceback (most recent call last):
  217. File "/home/x/.local/pipx/shared/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
  218. main()
  219. File "/home/x/.local/pipx/shared/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
  220. json_out['return_val'] = hook(**hook_input['kwargs'])
  221. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  222. File "/home/x/.local/pipx/shared/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
  223. return _build_backend().build_wheel(wheel_directory, config_settings,
  224. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  225. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 434, in build_wheel
  226. return self._build_with_temp_dir(
  227. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  228. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 419, in _build_with_temp_dir
  229. self.run_setup()
  230. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in run_setup
  231. exec(code, locals())
  232. File "<string>", line 65, in <module>
  233. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
  234. return distutils.core.setup(**attrs)
  235. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  236. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
  237. return run_commands(dist)
  238. ^^^^^^^^^^^^^^^^^^
  239. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
  240. dist.run_commands()
  241. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
  242. self.run_command(cmd)
  243. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 989, in run_command
  244. super().run_command(command)
  245. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
  246. cmd_obj.run()
  247. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 364, in run
  248. self.run_command("build")
  249. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
  250. self.distribution.run_command(command)
  251. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 989, in run_command
  252. super().run_command(command)
  253. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
  254. cmd_obj.run()
  255. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run
  256. self.run_command(cmd_name)
  257. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
  258. self.distribution.run_command(command)
  259. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 989, in run_command
  260. super().run_command(command)
  261. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
  262. cmd_obj.run()
  263. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 88, in run
  264. _build_ext.run(self)
  265. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
  266. self.build_extensions()
  267. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
  268. self._build_extensions_serial()
  269. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
  270. self.build_extension(ext)
  271. File "/tmp/pip-build-env-lwsp07ul/overlay/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 249, in build_extension
  272. _build_ext.build_extension(self, ext)
  273. File "/tmp/pip-build-env-lwsp07ul/normal/lib/python3.11/site-packages/Cython/Distutils/build_ext.py", line 130, in build_extension
  274. new_ext = cythonize(
  275. ^^^^^^^^^^
  276. File "/tmp/pip-build-env-lwsp07ul/normal/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
  277. cythonize_one(*args)
  278. File "/tmp/pip-build-env-lwsp07ul/normal/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
  279. raise CompileError(None, pyx_file)
  280. Cython.Compiler.Errors.CompileError: ./sparse_dot_topn_for_blocks/sparse_dot_topn.pyx
  281. [end of output]
  282.  
  283. note: This error originates from a subprocess, and is likely not a problem with pip.
  284. ERROR: Failed building wheel for sparse-dot-topn-for-blocks
  285. ERROR: Could not build wheels for sparse-dot-topn-for-blocks, which is required to install pyproject.toml-based projects
  286.  
Advertisement
Add Comment
Please, Sign In to add comment