Advertisement
lamiastella

opendr installation fails osmesa

Apr 15th, 2021
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.22 KB | None | 0 0
  1. (phosa) [jalal@goku frankmocap]$ yum provides \*/libOSMesa.so\*
  2. Loaded plugins: aliases, changelog, copr, fastestmirror, kabi, langpacks, nvidia, priorities, product-id, search-disabled-repos,
  3. : subscription-manager, tmprepo, verify, versionlock
  4. Loading support for Red Hat kernel ABI
  5. Loading mirror speeds from cached hostfile
  6. * centos-sclo-rh: centos.mirror.constant.com
  7. * centos-sclo-sclo: mirrors.mit.edu
  8. * remi-php70: mirror.pit.teraswitch.com
  9. * remi-php71: mirror.pit.teraswitch.com
  10. * remi-php73: mirror.pit.teraswitch.com
  11. * remi-safe: mirror.pit.teraswitch.com
  12. * webtatic: us-east.repo.webtatic.com
  13. 1108 packages excluded due to repository priority protections
  14. mesa-libOSMesa-18.3.4-10.el7.i686 : Mesa offscreen rendering libraries
  15. Repo : base
  16. Matched from:
  17. Filename : /usr/lib/libOSMesa.so.8.0.0
  18. Filename : /usr/lib/libOSMesa.so.8
  19.  
  20.  
  21.  
  22. mesa-libOSMesa-18.3.4-10.el7.x86_64 : Mesa offscreen rendering libraries
  23. Repo : base
  24. Matched from:
  25. Filename : /usr/lib64/libOSMesa.so.8
  26. Filename : /usr/lib64/libOSMesa.so.8.0.0
  27.  
  28.  
  29.  
  30. mesa-libOSMesa-18.3.4-12.el7_9.i686 : Mesa offscreen rendering libraries
  31. Repo : updates
  32. Matched from:
  33. Filename : /usr/lib/libOSMesa.so.8.0.0
  34. Filename : /usr/lib/libOSMesa.so.8
  35.  
  36.  
  37.  
  38. mesa-libOSMesa-18.3.4-12.el7_9.x86_64 : Mesa offscreen rendering libraries
  39. Repo : updates
  40. Matched from:
  41. Filename : /usr/lib64/libOSMesa.so.8
  42. Filename : /usr/lib64/libOSMesa.so.8.0.0
  43.  
  44.  
  45.  
  46. mesa-libOSMesa-devel-18.3.4-10.el7.i686 : Mesa offscreen rendering development package
  47. Repo : base
  48. Matched from:
  49. Filename : /usr/lib/libOSMesa.so
  50.  
  51.  
  52.  
  53. mesa-libOSMesa-devel-18.3.4-10.el7.x86_64 : Mesa offscreen rendering development package
  54. Repo : base
  55. Matched from:
  56. Filename : /usr/lib64/libOSMesa.so
  57.  
  58.  
  59.  
  60. mesa-libOSMesa-devel-18.3.4-12.el7_9.i686 : Mesa offscreen rendering development package
  61. Repo : updates
  62. Matched from:
  63. Filename : /usr/lib/libOSMesa.so
  64.  
  65.  
  66.  
  67. mesa-libOSMesa-devel-18.3.4-12.el7_9.x86_64 : Mesa offscreen rendering development package
  68. Repo : updates
  69. Matched from:
  70. Filename : /usr/lib64/libOSMesa.so
  71.  
  72.  
  73.  
  74. (phosa) [jalal@goku frankmocap]$ pip install opendr
  75. Collecting opendr
  76. Using cached opendr-0.78.tar.gz (581 kB)
  77. Requirement already satisfied: Cython in /scratch3/venv/phosa/lib/python3.8/site-packages (from opendr) (0.29.22)
  78. Requirement already satisfied: chumpy>=0.58 in /scratch3/venv/phosa/lib/python3.8/site-packages (from opendr) (0.70)
  79. Requirement already satisfied: matplotlib in /scratch3/venv/phosa/lib/python3.8/site-packages (from opendr) (3.4.0)
  80. Requirement already satisfied: scipy>=0.13.0 in /scratch3/venv/phosa/lib/python3.8/site-packages (from chumpy>=0.58->opendr) (1.6.2)
  81. Requirement already satisfied: six>=1.11.0 in /scratch3/venv/phosa/lib/python3.8/site-packages (from chumpy>=0.58->opendr) (1.15.0)
  82. Requirement already satisfied: numpy<1.23.0,>=1.16.5 in /scratch3/venv/phosa/lib/python3.8/site-packages (from scipy>=0.13.0->chumpy>=0.58->opendr) (1.20.2)
  83. Requirement already satisfied: pyparsing>=2.2.1 in /scratch3/venv/phosa/lib/python3.8/site-packages (from matplotlib->opendr) (2.4.7)
  84. Requirement already satisfied: python-dateutil>=2.7 in /scratch3/venv/phosa/lib/python3.8/site-packages (from matplotlib->opendr) (2.8.1)
  85. Requirement already satisfied: cycler>=0.10 in /scratch3/venv/phosa/lib/python3.8/site-packages (from matplotlib->opendr) (0.10.0)
  86. Requirement already satisfied: kiwisolver>=1.0.1 in /scratch3/venv/phosa/lib/python3.8/site-packages (from matplotlib->opendr) (1.3.1)
  87. Requirement already satisfied: pillow>=6.2.0 in /scratch3/venv/phosa/lib/python3.8/site-packages (from matplotlib->opendr) (8.1.2)
  88. Building wheels for collected packages: opendr
  89. Building wheel for opendr (setup.py) ... error
  90. ERROR: Command errored out with exit status 1:
  91. command: /scratch3/venv/phosa/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/scratch/tmp/pip-install-rj23ujhc/opendr_9b895539d1524066b3b6b13f55f9de6f/setup.py'"'"'; __file__='"'"'/scratch/tmp/pip-install-rj23ujhc/opendr_9b895539d1524066b3b6b13f55f9de6f/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 /scratch/tmp/pip-wheel-78q7s5ga
  92. cwd: /scratch/tmp/pip-install-rj23ujhc/opendr_9b895539d1524066b3b6b13f55f9de6f/
  93. Complete output (65 lines):
  94. running bdist_wheel
  95. running build
  96. running build_py
  97. creating build
  98. creating build/lib.linux-x86_64-3.8
  99. creating build/lib.linux-x86_64-3.8/opendr
  100. copying opendr/__init__.py -> build/lib.linux-x86_64-3.8/opendr
  101. copying opendr/camera.py -> build/lib.linux-x86_64-3.8/opendr
  102. copying opendr/common.py -> build/lib.linux-x86_64-3.8/opendr
  103. copying opendr/cvwrap.py -> build/lib.linux-x86_64-3.8/opendr
  104. copying opendr/dummy.py -> build/lib.linux-x86_64-3.8/opendr
  105. copying opendr/everything.py -> build/lib.linux-x86_64-3.8/opendr
  106. copying opendr/filters.py -> build/lib.linux-x86_64-3.8/opendr
  107. copying opendr/geometry.py -> build/lib.linux-x86_64-3.8/opendr
  108. copying opendr/lighting.py -> build/lib.linux-x86_64-3.8/opendr
  109. copying opendr/occlusion_test.py -> build/lib.linux-x86_64-3.8/opendr
  110. copying opendr/renderer.py -> build/lib.linux-x86_64-3.8/opendr
  111. copying opendr/serialization.py -> build/lib.linux-x86_64-3.8/opendr
  112. copying opendr/simple.py -> build/lib.linux-x86_64-3.8/opendr
  113. copying opendr/slider_demo.py -> build/lib.linux-x86_64-3.8/opendr
  114. copying opendr/test_camera.py -> build/lib.linux-x86_64-3.8/opendr
  115. copying opendr/test_depth_renderer.py -> build/lib.linux-x86_64-3.8/opendr
  116. copying opendr/test_geometry.py -> build/lib.linux-x86_64-3.8/opendr
  117. copying opendr/test_renderer.py -> build/lib.linux-x86_64-3.8/opendr
  118. copying opendr/test_sh.py -> build/lib.linux-x86_64-3.8/opendr
  119. copying opendr/topology.py -> build/lib.linux-x86_64-3.8/opendr
  120. copying opendr/util_tests.py -> build/lib.linux-x86_64-3.8/opendr
  121. copying opendr/utils.py -> build/lib.linux-x86_64-3.8/opendr
  122. copying opendr/version.py -> build/lib.linux-x86_64-3.8/opendr
  123. creating build/lib.linux-x86_64-3.8/opendr/contexts
  124. copying opendr/contexts/__init__.py -> build/lib.linux-x86_64-3.8/opendr/contexts
  125. copying opendr/contexts/_constants.py -> build/lib.linux-x86_64-3.8/opendr/contexts
  126. copying opendr/contexts/autogen.py -> build/lib.linux-x86_64-3.8/opendr/contexts
  127. copying opendr/contexts/draw_triangle_shaders_2_1.py -> build/lib.linux-x86_64-3.8/opendr/contexts
  128. copying opendr/contexts/draw_triangle_shaders_3_2.py -> build/lib.linux-x86_64-3.8/opendr/contexts
  129. copying opendr/contexts/fix_warnings.py -> build/lib.linux-x86_64-3.8/opendr/contexts
  130. creating build/lib.linux-x86_64-3.8/opendr/test_dr
  131. copying opendr/test_dr/__init__.py -> build/lib.linux-x86_64-3.8/opendr/test_dr
  132. running build_ext
  133. building 'opendr.contexts.ctx_mesa' extension
  134. creating build/temp.linux-x86_64-3.8
  135. creating build/temp.linux-x86_64-3.8/opendr
  136. creating build/temp.linux-x86_64-3.8/opendr/contexts
  137. gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -D__OSMESA__=1 -Iopendr/contexts -I. -I/scratch3/venv/phosa/lib/python3.8/site-packages/numpy/core/include -Iopendr/contexts/OSMesa/include -I/scratch3/venv/phosa/include -I/usr/local/include/python3.8 -c opendr/contexts/ctx_mesa.c -o build/temp.linux-x86_64-3.8/opendr/contexts/ctx_mesa.o -lstdc++
  138. In file included from /scratch3/venv/phosa/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944:0,
  139. from /scratch3/venv/phosa/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
  140. from /scratch3/venv/phosa/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
  141. from opendr/contexts/ctx_mesa.c:660:
  142. /scratch3/venv/phosa/lib/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
  143. #warning "Using deprecated NumPy API, disable it with " \
  144. ^~~~~~~
  145. opendr/contexts/ctx_mesa.c: In function ‘__pyx_pf_6opendr_8contexts_8ctx_mesa_13OsContextBase_150ShaderSource’:
  146. opendr/contexts/ctx_mesa.c:13144:49: warning: passing argument 3 of ‘glShaderSource’ from incompatible pointer type [-Wincompatible-pointer-types]
  147. glShaderSource(__pyx_v_shader, __pyx_v_count, (&__pyx_v_s), (&__pyx_v_len));
  148. ^
  149. In file included from opendr/contexts/OSMesa/include/GL/gl.h:2085:0,
  150. from opendr/contexts/gl_includes.h:10,
  151. from opendr/contexts/ctx_mesa.c:668:
  152. opendr/contexts/OSMesa/include/GL/glext.h:5794:21: note: expected ‘const GLchar ** {aka const char **}’ but argument is of type ‘char **’
  153. GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
  154. ^~~~~~~~~~~~~~
  155. gcc -pthread -shared build/temp.linux-x86_64-3.8/opendr/contexts/ctx_mesa.o -Lopendr/contexts/OSMesa/lib -lOSMesa -lGL -lGLU -o build/lib.linux-x86_64-3.8/opendr/contexts/ctx_mesa.cpython-38-x86_64-linux-gnu.so -lstdc++
  156. /usr/bin/ld: cannot find -lOSMesa
  157. collect2: error: ld returned 1 exit status
  158. error: command 'gcc' failed with exit status 1
  159. ----------------------------------------
  160. ERROR: Failed building wheel for opendr
  161. Running setup.py clean for opendr
  162. Failed to build opendr
  163. Installing collected packages: opendr
  164. Running setup.py install for opendr ... error
  165. ERROR: Command errored out with exit status 1:
  166. command: /scratch3/venv/phosa/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/scratch/tmp/pip-install-rj23ujhc/opendr_9b895539d1524066b3b6b13f55f9de6f/setup.py'"'"'; __file__='"'"'/scratch/tmp/pip-install-rj23ujhc/opendr_9b895539d1524066b3b6b13f55f9de6f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /scratch/tmp/pip-record-r3osvtlq/install-record.txt --single-version-externally-managed --compile --install-headers /scratch3/venv/phosa/include/site/python3.8/opendr
  167. cwd: /scratch/tmp/pip-install-rj23ujhc/opendr_9b895539d1524066b3b6b13f55f9de6f/
  168. Complete output (65 lines):
  169. running install
  170. running build
  171. running build_py
  172. creating build
  173. creating build/lib.linux-x86_64-3.8
  174. creating build/lib.linux-x86_64-3.8/opendr
  175. copying opendr/__init__.py -> build/lib.linux-x86_64-3.8/opendr
  176. copying opendr/camera.py -> build/lib.linux-x86_64-3.8/opendr
  177. copying opendr/common.py -> build/lib.linux-x86_64-3.8/opendr
  178. copying opendr/cvwrap.py -> build/lib.linux-x86_64-3.8/opendr
  179. copying opendr/dummy.py -> build/lib.linux-x86_64-3.8/opendr
  180. copying opendr/everything.py -> build/lib.linux-x86_64-3.8/opendr
  181. copying opendr/filters.py -> build/lib.linux-x86_64-3.8/opendr
  182. copying opendr/geometry.py -> build/lib.linux-x86_64-3.8/opendr
  183. copying opendr/lighting.py -> build/lib.linux-x86_64-3.8/opendr
  184. copying opendr/occlusion_test.py -> build/lib.linux-x86_64-3.8/opendr
  185. copying opendr/renderer.py -> build/lib.linux-x86_64-3.8/opendr
  186. copying opendr/serialization.py -> build/lib.linux-x86_64-3.8/opendr
  187. copying opendr/simple.py -> build/lib.linux-x86_64-3.8/opendr
  188. copying opendr/slider_demo.py -> build/lib.linux-x86_64-3.8/opendr
  189. copying opendr/test_camera.py -> build/lib.linux-x86_64-3.8/opendr
  190. copying opendr/test_depth_renderer.py -> build/lib.linux-x86_64-3.8/opendr
  191. copying opendr/test_geometry.py -> build/lib.linux-x86_64-3.8/opendr
  192. copying opendr/test_renderer.py -> build/lib.linux-x86_64-3.8/opendr
  193. copying opendr/test_sh.py -> build/lib.linux-x86_64-3.8/opendr
  194. copying opendr/topology.py -> build/lib.linux-x86_64-3.8/opendr
  195. copying opendr/util_tests.py -> build/lib.linux-x86_64-3.8/opendr
  196. copying opendr/utils.py -> build/lib.linux-x86_64-3.8/opendr
  197. copying opendr/version.py -> build/lib.linux-x86_64-3.8/opendr
  198. creating build/lib.linux-x86_64-3.8/opendr/contexts
  199. copying opendr/contexts/__init__.py -> build/lib.linux-x86_64-3.8/opendr/contexts
  200. copying opendr/contexts/_constants.py -> build/lib.linux-x86_64-3.8/opendr/contexts
  201. copying opendr/contexts/autogen.py -> build/lib.linux-x86_64-3.8/opendr/contexts
  202. copying opendr/contexts/draw_triangle_shaders_2_1.py -> build/lib.linux-x86_64-3.8/opendr/contexts
  203. copying opendr/contexts/draw_triangle_shaders_3_2.py -> build/lib.linux-x86_64-3.8/opendr/contexts
  204. copying opendr/contexts/fix_warnings.py -> build/lib.linux-x86_64-3.8/opendr/contexts
  205. creating build/lib.linux-x86_64-3.8/opendr/test_dr
  206. copying opendr/test_dr/__init__.py -> build/lib.linux-x86_64-3.8/opendr/test_dr
  207. running build_ext
  208. building 'opendr.contexts.ctx_mesa' extension
  209. creating build/temp.linux-x86_64-3.8
  210. creating build/temp.linux-x86_64-3.8/opendr
  211. creating build/temp.linux-x86_64-3.8/opendr/contexts
  212. gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -D__OSMESA__=1 -Iopendr/contexts -I. -I/scratch3/venv/phosa/lib/python3.8/site-packages/numpy/core/include -Iopendr/contexts/OSMesa/include -I/scratch3/venv/phosa/include -I/usr/local/include/python3.8 -c opendr/contexts/ctx_mesa.c -o build/temp.linux-x86_64-3.8/opendr/contexts/ctx_mesa.o -lstdc++
  213. In file included from /scratch3/venv/phosa/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944:0,
  214. from /scratch3/venv/phosa/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
  215. from /scratch3/venv/phosa/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
  216. from opendr/contexts/ctx_mesa.c:660:
  217. /scratch3/venv/phosa/lib/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
  218. #warning "Using deprecated NumPy API, disable it with " \
  219. ^~~~~~~
  220. opendr/contexts/ctx_mesa.c: In function ‘__pyx_pf_6opendr_8contexts_8ctx_mesa_13OsContextBase_150ShaderSource’:
  221. opendr/contexts/ctx_mesa.c:13144:49: warning: passing argument 3 of ‘glShaderSource’ from incompatible pointer type [-Wincompatible-pointer-types]
  222. glShaderSource(__pyx_v_shader, __pyx_v_count, (&__pyx_v_s), (&__pyx_v_len));
  223. ^
  224. In file included from opendr/contexts/OSMesa/include/GL/gl.h:2085:0,
  225. from opendr/contexts/gl_includes.h:10,
  226. from opendr/contexts/ctx_mesa.c:668:
  227. opendr/contexts/OSMesa/include/GL/glext.h:5794:21: note: expected ‘const GLchar ** {aka const char **}’ but argument is of type ‘char **’
  228. GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
  229. ^~~~~~~~~~~~~~
  230. gcc -pthread -shared build/temp.linux-x86_64-3.8/opendr/contexts/ctx_mesa.o -Lopendr/contexts/OSMesa/lib -lOSMesa -lGL -lGLU -o build/lib.linux-x86_64-3.8/opendr/contexts/ctx_mesa.cpython-38-x86_64-linux-gnu.so -lstdc++
  231. /usr/bin/ld: cannot find -lOSMesa
  232. collect2: error: ld returned 1 exit status
  233. error: command 'gcc' failed with exit status 1
  234. ----------------------------------------
  235. ERROR: Command errored out with exit status 1: /scratch3/venv/phosa/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/scratch/tmp/pip-install-rj23ujhc/opendr_9b895539d1524066b3b6b13f55f9de6f/setup.py'"'"'; __file__='"'"'/scratch/tmp/pip-install-rj23ujhc/opendr_9b895539d1524066b3b6b13f55f9de6f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /scratch/tmp/pip-record-r3osvtlq/install-record.txt --single-version-externally-managed --compile --install-headers /scratch3/venv/phosa/include/site/python3.8/opendr Check the logs for full command output.
  236. (phosa) [jalal@goku frankmocap]$
  237.  
  238.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement