Guest User

AUR ros-melodic-opencv3 #include_next <stdlib.h>

a guest
Oct 16th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.37 KB | None | 0 0
  1. ==> Making package: ros-melodic-opencv3 3.4.5-2 (Wed 16 Oct 2019 10:46:25 PM CEST)
  2. ==> Checking runtime dependencies...
  3. ==> Checking buildtime dependencies...
  4. ==> Retrieving sources...
  5. -> Found opencv-3.4.5.tar.gz
  6. -> Found opencv_contrib-3.4.5.tar.gz
  7. ==> Validating source files with sha256sums...
  8. opencv-3.4.5.tar.gz ... Passed
  9. opencv_contrib-3.4.5.tar.gz ... Passed
  10. ==> Extracting sources...
  11. -> Extracting opencv-3.4.5.tar.gz with bsdtar
  12. -> Extracting opencv_contrib-3.4.5.tar.gz with bsdtar
  13. ==> Removing existing $pkgdir/ directory...
  14. ==> Starting build()...
  15. -- Looking for ccache - not found
  16. -- Optimization SSE3 is not available, skipped
  17. -- Found ZLIB: /lib64/libz.so (found suitable version "1.2.11", minimum required is "1.2.3")
  18. -- Found ZLIB: /lib64/libz.so (found version "1.2.11")
  19. -- Found OpenEXR: /lib64/libIlmImf.so
  20. -- Looking for linux/videodev.h
  21. -- Looking for linux/videodev.h - not found
  22. -- Looking for linux/videodev2.h
  23. -- Looking for linux/videodev2.h - found
  24. -- Looking for sys/videoio.h
  25. -- Looking for sys/videoio.h - not found
  26. -- Checking for module 'libavresample'
  27. -- Package 'libavresample', required by 'virtual:world', not found
  28. -- Found TBB (cmake): /usr/lib64/cmake/TBB/../../../lib/libtbb.so.2
  29. -- found Intel IPP (ICV version): 2019.0.0 [2019.0.0 Gold]
  30. -- at: /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/build/3rdparty/ippicv/ippicv_lnx/icv
  31. -- found Intel IPP Integration Wrappers sources: 2019.0.0
  32. -- at: /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/build/3rdparty/ippicv/ippicv_lnx/iw
  33. -- LAPACK(Unknown): LAPACK_LIBRARIES: /usr/lib/liblapack.so;/usr/lib/libblas.so;/usr/lib/libcblas.so
  34. -- LAPACK(Unknown): Support is enabled.
  35. -- Found VTK 8.2.0 (/usr/lib/cmake/vtk-8.2/UseVTK.cmake)
  36. -- OpenCV Python: during development append to PYTHONPATH: /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/build/python_loader
  37. -- Caffe: NO
  38. -- Protobuf: NO
  39. -- Glog: NO
  40. -- freetype2: YES
  41. -- harfbuzz: YES
  42. -- HDF5: Using hdf5 compiler wrapper to determine C configuration
  43. -- Module opencv_ovis disabled because OGRE3D was not found
  44. -- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
  45. -- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
  46. -- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
  47. -- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h
  48. -- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h
  49. -- Module opencv_sfm disabled because the following dependencies are not found: Glog/Gflags
  50. -- HDF5: Using hdf5 compiler wrapper to determine C configuration
  51. -- freetype2: YES
  52. -- harfbuzz: YES
  53. -- Checking for modules 'tesseract;lept'
  54. -- Package 'tesseract', required by 'virtual:world', not found
  55. -- Package 'lept', required by 'virtual:world', not found
  56. -- Tesseract: NO
  57. --
  58. -- General configuration for OpenCV 3.4.5 =====================================
  59. -- Version control: 3f56267-dirty
  60. --
  61. -- Extra modules:
  62. -- Location (extra): /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv_contrib-3.4.5/modules
  63. -- Version control (extra): 3f56267-dirty
  64. --
  65. -- Platform:
  66. -- Timestamp: 2019-10-16T19:16:38Z
  67. -- Host: Linux 5.3.6-arch1-1-ARCH x86_64
  68. -- CMake: 3.15.4
  69. -- CMake generator: Unix Makefiles
  70. -- CMake build tool: /usr/bin/make
  71. -- Configuration: Release
  72. --
  73. -- CPU/HW features:
  74. -- Baseline: SSE SSE2
  75. -- requested: SSE3
  76. -- required: SSE2
  77. -- disabled: SSE3
  78. -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
  79. -- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
  80. -- SSE4_1 (4 files): + SSE3 SSSE3 SSE4_1
  81. -- SSE4_2 (1 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2
  82. -- FP16 (0 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
  83. -- AVX (5 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 AVX
  84. -- AVX2 (10 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
  85. -- AVX512_SKX (1 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_SKX
  86. --
  87. -- C/C++:
  88. -- Built as dynamic libs?: YES
  89. -- C++11: YES
  90. -- C++ Compiler: /usr/bin/c++ (ver 9.2.0)
  91. -- C++ flags (Release): -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
  92. -- C++ flags (Debug): -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -fvisibility=hidden -fvisibility-inlines-hidden -g -DDEBUG -D_DEBUG
  93. -- C Compiler: /usr/bin/cc
  94. -- C flags (Release): -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
  95. -- C flags (Debug): -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -fvisibility=hidden -g -DDEBUG -D_DEBUG
  96. -- Linker flags (Release): -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
  97. -- Linker flags (Debug): -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
  98. -- ccache: NO
  99. -- Precompiled headers: NO
  100. -- Extra dependencies: dl m pthread rt
  101. -- 3rdparty dependencies:
  102. --
  103. -- OpenCV modules:
  104. -- To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann freetype fuzzy hdf hfs highgui img_hash imgcodecs imgproc java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python3 python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab viz xfeatures2d ximgproc xobjdetect xphoto
  105. -- Disabled: world
  106. -- Disabled by dependency: -
  107. -- Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv java js matlab ovis python2 sfm ts
  108. -- Applications: apps
  109. -- Documentation: NO
  110. -- Non-free algorithms: NO
  111. --
  112. -- GUI:
  113. -- GTK+: YES (ver 3.24.12)
  114. -- GThread : YES (ver 2.62.1)
  115. -- GtkGlExt: NO
  116. -- OpenGL support: NO
  117. -- VTK support: YES (ver 8.2.0)
  118. --
  119. -- Media I/O:
  120. -- ZLib: /lib64/libz.so (ver 1.2.11)
  121. -- JPEG: /lib64/libjpeg.so (ver 80)
  122. -- WEBP: /lib64/libwebp.so (ver encoder: 0x020e)
  123. -- PNG: /lib64/libpng.so (ver 1.6.37)
  124. -- TIFF: /lib64/libtiff.so (ver 42 / 4.0.10)
  125. -- JPEG 2000: /lib64/libjasper.so (ver 2.0.16)
  126. -- OpenEXR: /lib64/libImath.so /lib64/libIlmImf.so /lib64/libIex.so /lib64/libHalf.so /lib64/libIlmThread.so (ver 2.3.0)
  127. -- HDR: YES
  128. -- SUNRASTER: YES
  129. -- PXM: YES
  130. --
  131. -- Video I/O:
  132. -- DC1394: YES (ver 2.2.6)
  133. -- FFMPEG: YES
  134. -- avcodec: YES (ver 58.54.100)
  135. -- avformat: YES (ver 58.29.100)
  136. -- avutil: YES (ver 56.31.100)
  137. -- swscale: YES (ver 5.5.100)
  138. -- avresample: NO
  139. -- GStreamer:
  140. -- base: YES (ver 1.16.1)
  141. -- video: YES (ver 1.16.1)
  142. -- app: YES (ver 1.16.1)
  143. -- riff: YES (ver 1.16.1)
  144. -- pbutils: YES (ver 1.16.1)
  145. -- libv4l/libv4l2: 1.16.7 / 1.16.7
  146. -- v4l/v4l2: linux/videodev2.h
  147. --
  148. -- Parallel framework: TBB (ver 2019.9 interface 11009)
  149. --
  150. -- Trace: YES (with Intel ITT)
  151. --
  152. -- Other third-party libraries:
  153. -- Intel IPP: 2019.0.0 Gold [2019.0.0]
  154. -- at: /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/build/3rdparty/ippicv/ippicv_lnx/icv
  155. -- Intel IPP IW: sources (2019.0.0)
  156. -- at: /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/build/3rdparty/ippicv/ippicv_lnx/iw
  157. -- Lapack: YES (/usr/lib/liblapack.so /usr/lib/libblas.so /usr/lib/libcblas.so)
  158. -- Eigen: YES (ver 3.3.7)
  159. -- Custom HAL: NO
  160. -- Protobuf: build (3.5.1)
  161. --
  162. -- OpenCL: YES (no extra features)
  163. -- Include path: /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/3rdparty/include/opencl/1.2
  164. -- Link libraries: Dynamic load
  165. --
  166. -- Python 3:
  167. -- Interpreter: /usr/bin/python3 (ver 3.7.4)
  168. -- Libraries: /lib64/libpython3.7m.so (ver 3.7.4)
  169. -- numpy: /usr/lib/python3.7/site-packages/numpy/core/include (ver 1.17.2)
  170. -- install path: lib/python3.7/site-packages/cv2/python-3.7
  171. --
  172. -- Python (for build): /usr/bin/python2.7
  173. --
  174. -- Java:
  175. -- ant: NO
  176. -- JNI: /usr/lib/jvm/default/include /usr/lib/jvm/default/include/linux /usr/lib/jvm/default/include
  177. -- Java wrappers: NO
  178. -- Java tests: NO
  179. --
  180. -- Install to: /opt/ros/melodic
  181. -- -----------------------------------------------------------------
  182. --
  183. -- Configuring done
  184. -- Generating done
  185. -- Build files have been written to: /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/build
  186. [ 1%] Built target quirc
  187. [ 2%] Built target gen-pkgconfig
  188. [ 4%] Built target ippiw
  189. [ 4%] Built target ittnotify
  190. [ 13%] Built target libprotobuf
  191. [ 13%] Generate files for Python bindings and documentation
  192. [ 13%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o
  193. [ 13%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lda.cpp.o
  194. [ 13%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/logger.cpp.o
  195. In file included from /usr/include/c++/9.2.0/ext/string_conversions.h:41,
  196. from /usr/include/c++/9.2.0/bits/basic_string.h:6493,
  197. from /usr/include/c++/9.2.0/string:55,
  198. from /usr/include/c++/9.2.0/stdexcept:39,
  199. from /usr/include/c++/9.2.0/array:39,
  200. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/include/opencv2/core/cvdef.h:560,
  201. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/include/opencv2/core.hpp:52,
  202. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/include/opencv2/core/utility.hpp:56,
  203. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/src/precomp.hpp:49,
  204. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/src/lda.cpp:19:
  205. /usr/include/c++/9.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
  206. 75 | #include_next <stdlib.h>
  207. | ^~~~~~~~~~
  208. compilation terminated.
  209. make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/build.make:467: modules/core/CMakeFiles/opencv_core.dir/src/lda.cpp.o] Error 1
  210. make[2]: *** Waiting for unfinished jobs....
  211. In file included from /usr/include/c++/9.2.0/ext/string_conversions.h:41,
  212. from /usr/include/c++/9.2.0/bits/basic_string.h:6493,
  213. from /usr/include/c++/9.2.0/string:55,
  214. from /usr/include/c++/9.2.0/stdexcept:39,
  215. from /usr/include/c++/9.2.0/array:39,
  216. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/include/opencv2/core/cvdef.h:560,
  217. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/include/opencv2/core.hpp:52,
  218. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/include/opencv2/core/utility.hpp:56,
  219. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/src/precomp.hpp:49,
  220. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/src/hal_internal.hpp:48,
  221. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/src/hal_internal.cpp:45:
  222. /usr/include/c++/9.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
  223. 75 | #include_next <stdlib.h>
  224. | ^~~~~~~~~~
  225. compilation terminated.
  226. make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/build.make:428: modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o] Error 1
  227. In file included from /usr/include/c++/9.2.0/ext/string_conversions.h:41,
  228. from /usr/include/c++/9.2.0/bits/basic_string.h:6493,
  229. from /usr/include/c++/9.2.0/string:55,
  230. from /usr/include/c++/9.2.0/stdexcept:39,
  231. from /usr/include/c++/9.2.0/array:39,
  232. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/include/opencv2/core/cvdef.h:560,
  233. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/include/opencv2/core.hpp:52,
  234. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/include/opencv2/core/utility.hpp:56,
  235. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/src/precomp.hpp:49,
  236. from /home/r00tr4t/repos/archlinux-ros-melodic/ros-melodic-opencv3/src/opencv-3.4.5/modules/core/src/logger.cpp:5:
  237. /usr/include/c++/9.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
  238. 75 | #include_next <stdlib.h>
  239. | ^~~~~~~~~~
  240. compilation terminated.
  241. make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/build.make:480: modules/core/CMakeFiles/opencv_core.dir/src/logger.cpp.o] Error 1
  242. make[1]: *** [CMakeFiles/Makefile2:2177: modules/core/CMakeFiles/opencv_core.dir/all] Error 2
  243. make[1]: *** Waiting for unfinished jobs....
  244. Note: Class Feature2D has more than 1 base class (not supported by Python C extensions)
  245. Bases: cv::Algorithm, cv::class, cv::Feature2D, cv::Algorithm
  246. Only the first base class will be used
  247. [ 13%] Built target gen_opencv_python_source
  248. make: *** [Makefile:163: all] Error 2
  249. ==> ERROR: A failure occurred in build().
  250. Aborting...
Add Comment
Please, Sign In to add comment