Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opencv: add more contrib options and CUDA support #4797

Merged
merged 5 commits into from
Mar 16, 2021

Conversation

chatpion
Copy link
Contributor

@chatpion chatpion commented Mar 5, 2021

Specify library name and version: opencv/4.x

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

Currently, if CUDA is enabled, it will build for all possible archs. I don't know if it is possible to pass a list of selected archs as an option.

@CLAassistant
Copy link

CLAassistant commented Mar 5, 2021

CLA assistant check
All committers have signed the CLA.

@conan-center-bot
Copy link
Collaborator

Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue.

@ericLemanissierBot
Copy link

I detected other pull requests that are modifying opencv/4.x recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

Copy link
Contributor

@SpaceIm SpaceIm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't set options in configure()

Where do you control if opencv is built with freetype, harfbuzz, glog and gflags in build(), I don't see anything.

recipes/opencv/4.x/conanfile.py Outdated Show resolved Hide resolved
recipes/opencv/4.x/conanfile.py Outdated Show resolved Hide resolved
recipes/opencv/4.x/conanfile.py Outdated Show resolved Hide resolved
@conan-center-bot
Copy link
Collaborator

Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue.

1 similar comment
@conan-center-bot
Copy link
Collaborator

Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue.

@chatpion
Copy link
Contributor Author

chatpion commented Mar 6, 2021

Thanks for your suggestions

Where do you control if opencv is built with freetype, harfbuzz, glog and gflags in build(), I don't see anything.

These dependencies are used by opencv_contrib. I'm not too sure myself if they are always necessary (even without glog, some modules requiring it are built, whereas the sfm module will be discarded if glog or gflags aren't found). Should I change _opencv_components not to add modules whose requirements are not met?

@conan-center-bot
Copy link
Collaborator

Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue.

1 similar comment
@conan-center-bot
Copy link
Collaborator

Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue.

Comment on lines +313 to +318
if self.options.with_cuda:
# This allows compilation on older GCC/NVCC, otherwise build errors.
self._cmake.definitions["CUDA_NVCC_FLAGS"] = "--expt-relaxed-constexpr"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this required? Or can we set a minimum compiler requirement?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if that is necessary. I used to build older versions of OpenCV using this deprecated recipe and I copied this line from it.

According to the CUDA Toolkit documentation, this flag is experimental, therefore we cannot set a minimum compiler requirement.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's only one compiler I think thats okay

@conan-center-bot
Copy link
Collaborator

Failure in build 6 (6b7581dc0fd6a7b4475ce3e5b3aef593a1db1f79):

  • opencv/4.5.0@:
    CI failed to create some packages (All logs)

    Logs for packageID 09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=10
    os=Linux
    os_build=Linux
    [options]
    opencv:shared=False
    
    libpng/1.6.37: Already installed!
    [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK
    [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK
    libtiff/4.2.0: Already installed!
    [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK
    [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK
    openexr/2.5.5: Already installed!
    [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK
    [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK
    opencv/4.5.0: Copying sources to build folder
    opencv/4.5.0: Building your package in /home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.0/_/_/build/09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf
    opencv/4.5.0: Generator cmake_find_package created FindJasper.cmake
    opencv/4.5.0: Generator cmake_find_package created FindPNG.cmake
    opencv/4.5.0: Generator cmake_find_package created FindOpenEXR.cmake
    opencv/4.5.0: Generator cmake_find_package created FindTIFF.cmake
    opencv/4.5.0: Generator cmake_find_package created FindEigen3.cmake
    opencv/4.5.0: Generator cmake_find_package created Findquirc.cmake
    opencv/4.5.0: Generator cmake_find_package created Findgtk.cmake
    opencv/4.5.0: Generator cmake_find_package created FindZLIB.cmake
    opencv/4.5.0: Generator cmake_find_package created FindJPEG.cmake
    opencv/4.5.0: Generator cmake_find_package created Findlibdeflate.cmake
    opencv/4.5.0: Generator cmake_find_package created FindLibLZMA.cmake
    opencv/4.5.0: Generator cmake_find_package created Findjbig.cmake
    opencv/4.5.0: Generator cmake_find_package created Findzstd.cmake
    opencv/4.5.0: Generator cmake_find_package created FindWebP.cmake
    opencv/4.5.0: Generator cmake created conanbuildinfo.cmake
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
    opencv/4.5.0: Calling build()
    opencv/4.5.0: 
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any declared library
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any declared library
    gtk/system: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/gtk/system/_/_/package/cc5e5ca8b619d2dffaaeae1e4924ae3ce085a8f1/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component libwebp::libwebp libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component zstd::zstd libdir "lib" does not contain any declared library
    opencv/4.5.0: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.0/_/_/build/09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf
    opencv/4.5.0: ERROR: Package '09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf' build failed
    opencv/4.5.0: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.0/_/_/build/09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf
    ERROR: opencv/4.5.0: Error in build() method, line 336
    	cmake = self._configure_cmake()
    while calling '_configure_cmake', line 288
    	if self.options.with_freetype:
    	ConanException: option 'with_freetype' doesn't exist
    Possible options are ['shared', 'fPIC', 'contrib', 'parallel', 'with_jpeg', 'with_png', 'with_tiff', 'with_jpeg2000', 'with_openexr', 'with_eigen', 'with_webp', 'with_gtk', 'with_quirc', 'with_cuda']
    
  • opencv/4.5.1@:
    CI failed to create some packages (All logs)

    Logs for packageID bc4df55d24e3f1b0a86856362a721f062e7f1d66:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++
    compiler.version=6
    os=Linux
    os_build=Linux
    [options]
    opencv:shared=False
    
    libpng/1.6.37: Already installed!
    [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK
    [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK
    libtiff/4.2.0: Already installed!
    [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK
    [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK
    openexr/2.5.5: Already installed!
    [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK
    [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK
    opencv/4.5.1: Copying sources to build folder
    opencv/4.5.1: Building your package in /home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/bc4df55d24e3f1b0a86856362a721f062e7f1d66
    opencv/4.5.1: Generator cmake created conanbuildinfo.cmake
    opencv/4.5.1: Generator cmake_find_package created FindJasper.cmake
    opencv/4.5.1: Generator cmake_find_package created FindPNG.cmake
    opencv/4.5.1: Generator cmake_find_package created FindOpenEXR.cmake
    opencv/4.5.1: Generator cmake_find_package created FindTIFF.cmake
    opencv/4.5.1: Generator cmake_find_package created FindEigen3.cmake
    opencv/4.5.1: Generator cmake_find_package created Findquirc.cmake
    opencv/4.5.1: Generator cmake_find_package created Findgtk.cmake
    opencv/4.5.1: Generator cmake_find_package created FindZLIB.cmake
    opencv/4.5.1: Generator cmake_find_package created FindJPEG.cmake
    opencv/4.5.1: Generator cmake_find_package created Findlibdeflate.cmake
    opencv/4.5.1: Generator cmake_find_package created FindLibLZMA.cmake
    opencv/4.5.1: Generator cmake_find_package created Findjbig.cmake
    opencv/4.5.1: Generator cmake_find_package created Findzstd.cmake
    opencv/4.5.1: Generator cmake_find_package created FindWebP.cmake
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
    opencv/4.5.1: Calling build()
    opencv/4.5.1: 
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any declared library
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any declared library
    gtk/system: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/gtk/system/_/_/package/cc5e5ca8b619d2dffaaeae1e4924ae3ce085a8f1/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component libwebp::libwebp libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component zstd::zstd libdir "lib" does not contain any declared library
    opencv/4.5.1: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/bc4df55d24e3f1b0a86856362a721f062e7f1d66
    opencv/4.5.1: ERROR: Package 'bc4df55d24e3f1b0a86856362a721f062e7f1d66' build failed
    opencv/4.5.1: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/bc4df55d24e3f1b0a86856362a721f062e7f1d66
    ERROR: opencv/4.5.1: Error in build() method, line 336
    	cmake = self._configure_cmake()
    while calling '_configure_cmake', line 288
    	if self.options.with_freetype:
    	ConanException: option 'with_freetype' doesn't exist
    Possible options are ['shared', 'fPIC', 'contrib', 'parallel', 'with_jpeg', 'with_png', 'with_tiff', 'with_jpeg2000', 'with_openexr', 'with_eigen', 'with_webp', 'with_gtk', 'with_quirc', 'with_cuda']
    
  • opencv/4.1.2@:
    CI failed to create some packages (All logs)

    Logs for packageID 76a0badfae6926a0c51d51a2cfbe2a824aef6c4d:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++
    compiler.version=4.9
    os=Linux
    os_build=Linux
    [options]
    opencv:shared=False
    
    libpng/1.6.37: Already installed!
    [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK
    [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK
    libtiff/4.2.0: Already installed!
    [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK
    [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK
    openexr/2.5.5: Already installed!
    [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK
    [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK
    opencv/4.1.2: Copying sources to build folder
    opencv/4.1.2: Building your package in /home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/build/76a0badfae6926a0c51d51a2cfbe2a824aef6c4d
    opencv/4.1.2: Generator cmake_find_package created FindJasper.cmake
    opencv/4.1.2: Generator cmake_find_package created FindPNG.cmake
    opencv/4.1.2: Generator cmake_find_package created FindOpenEXR.cmake
    opencv/4.1.2: Generator cmake_find_package created FindTIFF.cmake
    opencv/4.1.2: Generator cmake_find_package created FindEigen3.cmake
    opencv/4.1.2: Generator cmake_find_package created Findquirc.cmake
    opencv/4.1.2: Generator cmake_find_package created Findgtk.cmake
    opencv/4.1.2: Generator cmake_find_package created FindZLIB.cmake
    opencv/4.1.2: Generator cmake_find_package created FindJPEG.cmake
    opencv/4.1.2: Generator cmake_find_package created Findlibdeflate.cmake
    opencv/4.1.2: Generator cmake_find_package created FindLibLZMA.cmake
    opencv/4.1.2: Generator cmake_find_package created Findjbig.cmake
    opencv/4.1.2: Generator cmake_find_package created Findzstd.cmake
    opencv/4.1.2: Generator cmake_find_package created FindWebP.cmake
    opencv/4.1.2: Generator cmake created conanbuildinfo.cmake
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
    opencv/4.1.2: Calling build()
    opencv/4.1.2: 
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any declared library
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any declared library
    gtk/system: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/gtk/system/_/_/package/cc5e5ca8b619d2dffaaeae1e4924ae3ce085a8f1/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component libwebp::libwebp libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component zstd::zstd libdir "lib" does not contain any declared library
    opencv/4.1.2: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/build/76a0badfae6926a0c51d51a2cfbe2a824aef6c4d
    opencv/4.1.2: ERROR: Package '76a0badfae6926a0c51d51a2cfbe2a824aef6c4d' build failed
    opencv/4.1.2: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/build/76a0badfae6926a0c51d51a2cfbe2a824aef6c4d
    ERROR: opencv/4.1.2: Error in build() method, line 336
    	cmake = self._configure_cmake()
    while calling '_configure_cmake', line 288
    	if self.options.with_freetype:
    	ConanException: option 'with_freetype' doesn't exist
    Possible options are ['shared', 'fPIC', 'contrib', 'parallel', 'with_jpeg', 'with_png', 'with_tiff', 'with_jpeg2000', 'with_openexr', 'with_eigen', 'with_webp', 'with_gtk', 'with_quirc', 'with_cuda']
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@conan-center-bot
Copy link
Collaborator

Failure in build 7 (a397de511223c0ba052d58bfaf2c8a12884d764e):

  • opencv/4.5.1@:
    CI failed to create some packages (All logs)

    Logs for packageID 09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=10
    os=Linux
    os_build=Linux
    [options]
    opencv:shared=False
    
    -- 
    --   Install to:                    /home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/package/09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf
    -- -----------------------------------------------------------------
    -- 
    -- Configuring incomplete, errors occurred!
    See also "/home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf/build_subfolder/CMakeFiles/CMakeOutput.log".
    See also "/home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf/build_subfolder/CMakeFiles/CMakeError.log".
    opencv/4.5.1: 
    CMake Warning at source_subfolder/cmake/OpenCVDetectPython.cmake:81 (message):
      CMake's 'find_host_package(PythonInterp 2.7)' found wrong Python version:
    
      PYTHON_EXECUTABLE=/opt/pyenv/versions/3.7.5/bin/python
    
      PYTHON_VERSION_STRING=3.7.5
    
      Consider providing the 'PYTHON2_EXECUTABLE' variable via CMake command line
      or environment variables
    
    Call Stack (most recent call first):
      source_subfolder/cmake/OpenCVDetectPython.cmake:271 (find_python)
      source_subfolder/CMakeLists.txt:611 (include)
    
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'numpy'
    CMake Error at source_subfolder/CMakeLists.txt:779 (add_subdirectory):
      add_subdirectory given source "3rdparty/quirc" which is not an existing
      directory.
    
    
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any declared library
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any declared library
    gtk/system: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/gtk/system/_/_/package/cc5e5ca8b619d2dffaaeae1e4924ae3ce085a8f1/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component libwebp::libwebp libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component zstd::zstd libdir "lib" does not contain any declared library
    opencv/4.5.1: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf
    opencv/4.5.1: ERROR: Package '09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf' build failed
    opencv/4.5.1: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf
    ERROR: opencv/4.5.1: Error in build() method, line 336
    	cmake = self._configure_cmake()
    while calling '_configure_cmake', line 331
    	self._cmake.configure(build_folder=self._build_subfolder)
    	ConanException: Error 1 while executing cd '/home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="10" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/package/09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_MODULE_PATH="/home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DOPENCV_CONFIG_INSTALL_PATH="cmake" -DOPENCV_BIN_INSTALL_PATH="bin" -DOPENCV_LIB_INSTALL_PATH="lib" -DOPENCV_3P_LIB_INSTALL_PATH="lib" -DOPENCV_OTHER_INSTALL_PATH="res" -DOPENCV_LICENSES_INSTALL_PATH="licenses" -DBUILD_CUDA_STUBS="False" -DBUILD_DOCS="False" -DBUILD_EXAMPLES="False" -DBUILD_FAT_JAVA_LIB="False" -DBUILD_IPP_IW="False" -DBUILD_ITT="False" -DBUILD_JASPER="False" -DBUILD_JAVA="False" -DBUILD_JPEG="False" -DBUILD_OPENEXR="False" -DBUILD_OPENJPEG="False" -DBUILD_TESTS="False" -DBUILD_PROTOBUF="False" -DBUILD_PACKAGE="False" -DBUILD_PERF_TESTS="False" -DBUILD_USE_SYMLINKS="False" -DBUILD_opencv_apps="False" -DBUILD_opencv_java="False" -DBUILD_opencv_java_bindings_gen="False" -DBUILD_opencv_js="False" -DBUILD_ZLIB="False" -DBUILD_WEBP="False" -DBUILD_TBB="False" -DOPENCV_FORCE_3RDPARTY_BUILD="False" -DBUILD_opencv_python2="False" -DBUILD_opencv_python3="False" -DBUILD_opencv_python_bindings_g="False" -DBUILD_opencv_python_tests="False" -DBUILD_opencv_ts="False" -DWITH_1394="False" -DWITH_ADE="False" -DWITH_ARAVIS="False" -DWITH_CLP="False" -DWITH_CUFFT="False" -DWITH_NVCUVID="False" -DWITH_FFMPEG="False" -DWITH_GSTREAMER="False" -DWITH_HALIDE="False" -DWITH_HPX="False" -DWITH_IMGCODEC_HDR="False" -DWITH_IMGCODEC_PFM="False" -DWITH_IMGCODEC_PXM="False" -DWITH_IMGCODEC_SUNRASTER="False" -DWITH_INF_ENGINE="False" -DWITH_IPP="False" -DWITH_ITT="False" -DWITH_LIBREALSENSE="False" -DWITH_MFX="False" -DWITH_NGRAPH="False" -DWITH_OPENCL="False" -DWITH_OPENCLAMDBLAS="False" -DWITH_OPENCLAMDFFT="False" -DWITH_OPENCL_SVM="False" -DWITH_OPENGL="False" -DWITH_OPENMP="False" -DWITH_OPENNI="False" -DWITH_OPENNI2="False" -DWITH_OPENVX="False" -DWITH_PLAIDML="False" -DWITH_PROTOBUF="False" -DWITH_PVAPI="False" -DWITH_QT="False" -DWITH_V4L="False" -DWITH_VA="False" -DWITH_VA_INTEL="False" -DWITH_VTK="False" -DWITH_VULKAN="False" -DWITH_XIMEA="False" -DWITH_XINE="False" -DWITH_LAPACK="False" -DWITH_GTK="True" -DWITH_GTK_2_X="True" -DWITH_WEBP="True" -DWITH_JPEG="True" -DWITH_PNG="True" -DWITH_TIFF="True" -DWITH_JASPER="True" -DWITH_OPENJPEG="False" -DWITH_OPENEXR="True" -DWITH_EIGEN="True" -DHAVE_QUIRC="True" -DWITH_DSHOW="False" -DWITH_MSMF="False" -DWITH_MSMF_DXVA="False" -DOPENCV_MODULES_PUBLIC="opencv" -DOPENEXR_ROOT="/home/conan/w/BuildSingleReference/.conan/data/openexr/2.5.5/_/_/package/1125ca08946d3f74d1579e093edb507405c02a91" -DWITH_CUDA="False" -DWITH_CUBLAS="False" -DENABLE_PIC="True" -Wno-dev '/home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/09e9d6a27ec1de3c10a6bca3f3ff83c2946eeddf'
    
  • opencv/4.1.2@:
    CI failed to create some packages (All logs)

    Logs for packageID bc4df55d24e3f1b0a86856362a721f062e7f1d66:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++
    compiler.version=6
    os=Linux
    os_build=Linux
    [options]
    opencv:shared=False
    
    -- 
    --   Install to:                    /home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/package/bc4df55d24e3f1b0a86856362a721f062e7f1d66
    -- -----------------------------------------------------------------
    -- 
    -- Configuring incomplete, errors occurred!
    See also "/home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/build/bc4df55d24e3f1b0a86856362a721f062e7f1d66/build_subfolder/CMakeFiles/CMakeOutput.log".
    See also "/home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/build/bc4df55d24e3f1b0a86856362a721f062e7f1d66/build_subfolder/CMakeFiles/CMakeError.log".
    opencv/4.1.2: 
    CMake Warning at source_subfolder/cmake/OpenCVDetectPython.cmake:81 (message):
      CMake's 'find_host_package(PythonInterp 2.7)' founds wrong Python version:
    
      PYTHON_EXECUTABLE=/opt/pyenv/versions/3.7.5/bin/python
    
      PYTHON_VERSION_STRING=3.7.5
    
      Consider specify 'PYTHON2_EXECUTABLE' variable via CMake command line or
      environment variables
    
    Call Stack (most recent call first):
      source_subfolder/cmake/OpenCVDetectPython.cmake:271 (find_python)
      source_subfolder/CMakeLists.txt:582 (include)
    
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'numpy'
    CMake Error at source_subfolder/CMakeLists.txt:747 (add_subdirectory):
      add_subdirectory given source "3rdparty/quirc" which is not an existing
      directory.
    
    
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any declared library
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any declared library
    gtk/system: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/gtk/system/_/_/package/cc5e5ca8b619d2dffaaeae1e4924ae3ce085a8f1/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component libwebp::libwebp libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component zstd::zstd libdir "lib" does not contain any declared library
    opencv/4.1.2: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/build/bc4df55d24e3f1b0a86856362a721f062e7f1d66
    opencv/4.1.2: ERROR: Package 'bc4df55d24e3f1b0a86856362a721f062e7f1d66' build failed
    opencv/4.1.2: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/build/bc4df55d24e3f1b0a86856362a721f062e7f1d66
    ERROR: opencv/4.1.2: Error in build() method, line 336
    	cmake = self._configure_cmake()
    while calling '_configure_cmake', line 331
    	self._cmake.configure(build_folder=self._build_subfolder)
    	ConanException: Error 1 while executing cd '/home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/build/bc4df55d24e3f1b0a86856362a721f062e7f1d66/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="6" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/package/bc4df55d24e3f1b0a86856362a721f062e7f1d66" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_MODULE_PATH="/home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/build/bc4df55d24e3f1b0a86856362a721f062e7f1d66" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DOPENCV_CONFIG_INSTALL_PATH="cmake" -DOPENCV_BIN_INSTALL_PATH="bin" -DOPENCV_LIB_INSTALL_PATH="lib" -DOPENCV_3P_LIB_INSTALL_PATH="lib" -DOPENCV_OTHER_INSTALL_PATH="res" -DOPENCV_LICENSES_INSTALL_PATH="licenses" -DBUILD_CUDA_STUBS="False" -DBUILD_DOCS="False" -DBUILD_EXAMPLES="False" -DBUILD_FAT_JAVA_LIB="False" -DBUILD_IPP_IW="False" -DBUILD_ITT="False" -DBUILD_JASPER="False" -DBUILD_JAVA="False" -DBUILD_JPEG="False" -DBUILD_OPENEXR="False" -DBUILD_OPENJPEG="False" -DBUILD_TESTS="False" -DBUILD_PROTOBUF="False" -DBUILD_PACKAGE="False" -DBUILD_PERF_TESTS="False" -DBUILD_USE_SYMLINKS="False" -DBUILD_opencv_apps="False" -DBUILD_opencv_java="False" -DBUILD_opencv_java_bindings_gen="False" -DBUILD_opencv_js="False" -DBUILD_ZLIB="False" -DBUILD_WEBP="False" -DBUILD_TBB="False" -DOPENCV_FORCE_3RDPARTY_BUILD="False" -DBUILD_opencv_python2="False" -DBUILD_opencv_python3="False" -DBUILD_opencv_python_bindings_g="False" -DBUILD_opencv_python_tests="False" -DBUILD_opencv_ts="False" -DWITH_1394="False" -DWITH_ADE="False" -DWITH_ARAVIS="False" -DWITH_CLP="False" -DWITH_CUFFT="False" -DWITH_NVCUVID="False" -DWITH_FFMPEG="False" -DWITH_GSTREAMER="False" -DWITH_HALIDE="False" -DWITH_HPX="False" -DWITH_IMGCODEC_HDR="False" -DWITH_IMGCODEC_PFM="False" -DWITH_IMGCODEC_PXM="False" -DWITH_IMGCODEC_SUNRASTER="False" -DWITH_INF_ENGINE="False" -DWITH_IPP="False" -DWITH_ITT="False" -DWITH_LIBREALSENSE="False" -DWITH_MFX="False" -DWITH_NGRAPH="False" -DWITH_OPENCL="False" -DWITH_OPENCLAMDBLAS="False" -DWITH_OPENCLAMDFFT="False" -DWITH_OPENCL_SVM="False" -DWITH_OPENGL="False" -DWITH_OPENMP="False" -DWITH_OPENNI="False" -DWITH_OPENNI2="False" -DWITH_OPENVX="False" -DWITH_PLAIDML="False" -DWITH_PROTOBUF="False" -DWITH_PVAPI="False" -DWITH_QT="False" -DWITH_V4L="False" -DWITH_VA="False" -DWITH_VA_INTEL="False" -DWITH_VTK="False" -DWITH_VULKAN="False" -DWITH_XIMEA="False" -DWITH_XINE="False" -DWITH_LAPACK="False" -DWITH_GTK="True" -DWITH_GTK_2_X="True" -DWITH_WEBP="True" -DWITH_JPEG="True" -DWITH_PNG="True" -DWITH_TIFF="True" -DWITH_JASPER="True" -DWITH_OPENJPEG="False" -DWITH_OPENEXR="True" -DWITH_EIGEN="True" -DHAVE_QUIRC="True" -DWITH_DSHOW="False" -DWITH_MSMF="False" -DWITH_MSMF_DXVA="False" -DOPENCV_MODULES_PUBLIC="opencv" -DOPENEXR_ROOT="/home/conan/w/BuildSingleReference/.conan/data/openexr/2.5.5/_/_/package/8a9851b362d825dd261339674e65937e3857e8af" -DWITH_CUDA="False" -DWITH_CUBLAS="False" -DENABLE_PIC="True" -Wno-dev '/home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/build/bc4df55d24e3f1b0a86856362a721f062e7f1d66'
    
  • opencv/4.5.0@:
    CI failed to create some packages (All logs)

    Logs for packageID 6352e224524932312a757a3dd134c3294caf7931:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    os_build=Linux
    [options]
    opencv:shared=False
    
    -- 
    --   Install to:                    /home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.0/_/_/package/6352e224524932312a757a3dd134c3294caf7931
    -- -----------------------------------------------------------------
    -- 
    -- Configuring incomplete, errors occurred!
    See also "/home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.0/_/_/build/6352e224524932312a757a3dd134c3294caf7931/build_subfolder/CMakeFiles/CMakeOutput.log".
    See also "/home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.0/_/_/build/6352e224524932312a757a3dd134c3294caf7931/build_subfolder/CMakeFiles/CMakeError.log".
    opencv/4.5.0: 
    CMake Warning at source_subfolder/cmake/OpenCVDetectPython.cmake:81 (message):
      CMake's 'find_host_package(PythonInterp 2.7)' found wrong Python version:
    
      PYTHON_EXECUTABLE=/opt/pyenv/versions/3.7.5/bin/python
    
      PYTHON_VERSION_STRING=3.7.5
    
      Consider providing the 'PYTHON2_EXECUTABLE' variable via CMake command line
      or environment variables
    
    Call Stack (most recent call first):
      source_subfolder/cmake/OpenCVDetectPython.cmake:271 (find_python)
      source_subfolder/CMakeLists.txt:607 (include)
    
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'numpy'
    CMake Error at source_subfolder/CMakeLists.txt:775 (add_subdirectory):
      add_subdirectory given source "3rdparty/quirc" which is not an existing
      directory.
    
    
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any declared library
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any declared library
    gtk/system: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/gtk/system/_/_/package/cc5e5ca8b619d2dffaaeae1e4924ae3ce085a8f1/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component libwebp::libwebp libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component zstd::zstd libdir "lib" does not contain any declared library
    opencv/4.5.0: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.0/_/_/build/6352e224524932312a757a3dd134c3294caf7931
    opencv/4.5.0: ERROR: Package '6352e224524932312a757a3dd134c3294caf7931' build failed
    opencv/4.5.0: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.0/_/_/build/6352e224524932312a757a3dd134c3294caf7931
    ERROR: opencv/4.5.0: Error in build() method, line 336
    	cmake = self._configure_cmake()
    while calling '_configure_cmake', line 331
    	self._cmake.configure(build_folder=self._build_subfolder)
    	ConanException: Error 1 while executing cd '/home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.0/_/_/build/6352e224524932312a757a3dd134c3294caf7931/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.0/_/_/package/6352e224524932312a757a3dd134c3294caf7931" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_MODULE_PATH="/home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.0/_/_/build/6352e224524932312a757a3dd134c3294caf7931" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DOPENCV_CONFIG_INSTALL_PATH="cmake" -DOPENCV_BIN_INSTALL_PATH="bin" -DOPENCV_LIB_INSTALL_PATH="lib" -DOPENCV_3P_LIB_INSTALL_PATH="lib" -DOPENCV_OTHER_INSTALL_PATH="res" -DOPENCV_LICENSES_INSTALL_PATH="licenses" -DBUILD_CUDA_STUBS="False" -DBUILD_DOCS="False" -DBUILD_EXAMPLES="False" -DBUILD_FAT_JAVA_LIB="False" -DBUILD_IPP_IW="False" -DBUILD_ITT="False" -DBUILD_JASPER="False" -DBUILD_JAVA="False" -DBUILD_JPEG="False" -DBUILD_OPENEXR="False" -DBUILD_OPENJPEG="False" -DBUILD_TESTS="False" -DBUILD_PROTOBUF="False" -DBUILD_PACKAGE="False" -DBUILD_PERF_TESTS="False" -DBUILD_USE_SYMLINKS="False" -DBUILD_opencv_apps="False" -DBUILD_opencv_java="False" -DBUILD_opencv_java_bindings_gen="False" -DBUILD_opencv_js="False" -DBUILD_ZLIB="False" -DBUILD_WEBP="False" -DBUILD_TBB="False" -DOPENCV_FORCE_3RDPARTY_BUILD="False" -DBUILD_opencv_python2="False" -DBUILD_opencv_python3="False" -DBUILD_opencv_python_bindings_g="False" -DBUILD_opencv_python_tests="False" -DBUILD_opencv_ts="False" -DWITH_1394="False" -DWITH_ADE="False" -DWITH_ARAVIS="False" -DWITH_CLP="False" -DWITH_CUFFT="False" -DWITH_NVCUVID="False" -DWITH_FFMPEG="False" -DWITH_GSTREAMER="False" -DWITH_HALIDE="False" -DWITH_HPX="False" -DWITH_IMGCODEC_HDR="False" -DWITH_IMGCODEC_PFM="False" -DWITH_IMGCODEC_PXM="False" -DWITH_IMGCODEC_SUNRASTER="False" -DWITH_INF_ENGINE="False" -DWITH_IPP="False" -DWITH_ITT="False" -DWITH_LIBREALSENSE="False" -DWITH_MFX="False" -DWITH_NGRAPH="False" -DWITH_OPENCL="False" -DWITH_OPENCLAMDBLAS="False" -DWITH_OPENCLAMDFFT="False" -DWITH_OPENCL_SVM="False" -DWITH_OPENGL="False" -DWITH_OPENMP="False" -DWITH_OPENNI="False" -DWITH_OPENNI2="False" -DWITH_OPENVX="False" -DWITH_PLAIDML="False" -DWITH_PROTOBUF="False" -DWITH_PVAPI="False" -DWITH_QT="False" -DWITH_V4L="False" -DWITH_VA="False" -DWITH_VA_INTEL="False" -DWITH_VTK="False" -DWITH_VULKAN="False" -DWITH_XIMEA="False" -DWITH_XINE="False" -DWITH_LAPACK="False" -DWITH_GTK="True" -DWITH_GTK_2_X="True" -DWITH_WEBP="True" -DWITH_JPEG="True" -DWITH_PNG="True" -DWITH_TIFF="True" -DWITH_JASPER="True" -DWITH_OPENJPEG="False" -DWITH_OPENEXR="True" -DWITH_EIGEN="True" -DHAVE_QUIRC="True" -DWITH_DSHOW="False" -DWITH_MSMF="False" -DWITH_MSMF_DXVA="False" -DOPENCV_MODULES_PUBLIC="opencv" -DOPENEXR_ROOT="/home/conan/w/BuildSingleReference/.conan/data/openexr/2.5.5/_/_/package/ce66fb866bfb51e5cb5cec116c86091e6c6bcc87" -DWITH_CUDA="False" -DWITH_CUBLAS="False" -DENABLE_PIC="True" -Wno-dev '/home/conan/w/BuildSingleReference/.conan/data/opencv/4.5.0/_/_/build/6352e224524932312a757a3dd134c3294caf7931'
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

Apply suggestions from code review

Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>

opencv: add include_dirs and libs for freetype, harfbuzz, gflags and glog

opencv: add missing get_safe()
@conan-center-bot
Copy link
Collaborator

Failure in build 8 (a5535d840d44e761e4d730d1bb166ccf4ac68a68):

  • opencv/4.5.0@:
    CI failed to create some packages (All logs)

    Logs for packageID 2266dde0bb42f01c6d8f71e40a6c86325691bce7:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MT
    compiler.version=15
    os=Windows
    os_build=Windows
    [options]
    opencv:shared=False
    
    ********************************************************************************
    conan install opencv/4.5.0@ --profile=C:\J\w\BuildSingleReference@11/7595/720f8dfe-cbb8-4d0f-a231-ff1231f3946c/profile.txt --build=opencv
    ********************************************************************************
    Configuration:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MT
    compiler.version=15
    os=Windows
    os_build=Windows
    [options]
    opencv:shared=False
    [build_requires]
    [env]
    
    Traceback (most recent call last):
      File "c:\python36\lib\site-packages\conans\client\command.py", line 2115, in run
        method(args[0][1:])
      File "c:\python36\lib\site-packages\conans\client\command.py", line 531, in install
        lockfile_node_id=args.lockfile_node_id)
      File "c:\python36\lib\site-packages\conans\client\conan_api.py", line 94, in wrapper
        return f(api, *args, **kwargs)
      File "c:\python36\lib\site-packages\conans\client\conan_api.py", line 560, in install_reference
        lockfile_node_id=lockfile_node_id)
      File "c:\python36\lib\site-packages\conans\client\manager.py", line 57, in deps_install
        lockfile_node_id=lockfile_node_id)
      File "c:\python36\lib\site-packages\conans\client\graph\graph_manager.py", line 116, in load_graph
        apply_build_requires=apply_build_requires)
      File "c:\python36\lib\site-packages\conans\client\graph\graph_manager.py", line 246, in _resolve_graph
        graph_lock=graph_lock)
      File "c:\python36\lib\site-packages\conans\client\graph\graph_manager.py", line 365, in _load_graph
        apply_build_requires=apply_build_requires)
      File "c:\python36\lib\site-packages\conans\client\graph\graph_manager.py", line 286, in _recurse_build_requires
        self._binary_analyzer.evaluate_graph(graph, build_mode, update, remotes, nodes_subset, root)
      File "c:\python36\lib\site-packages\conans\client\graph\graph_binaries.py", line 389, in evaluate_graph
        self._evaluate_node(node, build_mode, update, remotes)
      File "c:\python36\lib\site-packages\conans\client\graph\graph_binaries.py", line 176, in _evaluate_node
        self._process_node(node, pref, build_mode, update, remotes)
      File "c:\python36\lib\site-packages\conans\client\graph\graph_binaries.py", line 242, in _process_node
        self._evaluate_cache_pkg(node, package_layout, pref, metadata, remote, remotes, update)
      File "c:\python36\lib\site-packages\conans\client\graph\graph_binaries.py", line 95, in _evaluate_cache_pkg
        assert node.prev, "PREV for %s is None: %s" % (str(pref), metadata.dumps())
    AssertionError: PREV for eigen/3.3.9:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 is None: {"recipe": {"revision": "34072d2fc781d6eca8f3ba8a88c7d0bc", "remote": "conan-center", "properties": {}, "checksums": {"conan_export.tgz": {"md5": "6b88a3881022ee2fe4eb973e207ea26f", "sha1": "14b288293c4cb1a8c635aa17af5423f9725d3269"}, "conanmanifest.txt": {"md5": "9d33a5629d6986e3c2c9962c07396734", "sha1": "582fbf6739a0d42fa803a15fb3599a8b648afb62"}, "conanfile.py": {"md5": "41d53e4d949c3ec8c0fdd304f0d6a223", "sha1": "9e32d5bf19a14df32b6281e5aaf5b0e6d13269b9"}}}, "packages": {"5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9": {"revision": null, "recipe_revision": null, "remote": null, "properties": {}, "checksums": {}}}}
    
    ERROR: PREV for eigen/3.3.9:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 is None: {"recipe": {"revision": "34072d2fc781d6eca8f3ba8a88c7d0bc", "remote": "conan-center", "properties": {}, "checksums": {"conan_export.tgz": {"md5": "6b88a3881022ee2fe4eb973e207ea26f", "sha1": "14b288293c4cb1a8c635aa17af5423f9725d3269"}, "conanmanifest.txt": {"md5": "9d33a5629d6986e3c2c9962c07396734", "sha1": "582fbf6739a0d42fa803a15fb3599a8b648afb62"}, "conanfile.py": {"md5": "41d53e4d949c3ec8c0fdd304f0d6a223", "sha1": "9e32d5bf19a14df32b6281e5aaf5b0e6d13269b9"}}}, "packages": {"5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9": {"revision": null, "recipe_revision": null, "remote": null, "properties": {}, "checksums": {}}}}
    
  • opencv/4.5.1@:
    CI failed to create some packages (All logs)

    Logs for packageID a653175dbd2c58dbf22e5092fa3166d11e0eb25f:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.libcxx=libc++
    compiler.version=10.0
    os=Macos
    os_build=Macos
    [options]
    opencv:shared=False
    
    --   Parallel framework:            GCD
    -- 
    --   Trace:                         YES (built-in)
    -- 
    --   Other third-party libraries:
    --     Eigen:                       YES (ver ..)
    --     Custom HAL:                  NO
    -- 
    --   Python (for build):            /usr/bin/python2.7
    -- 
    --   Install to:                    /Users/jenkins/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/package/a653175dbd2c58dbf22e5092fa3166d11e0eb25f
    -- -----------------------------------------------------------------
    -- 
    -- Configuring incomplete, errors occurred!
    See also "/Users/jenkins/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/a653175dbd2c58dbf22e5092fa3166d11e0eb25f/build_subfolder/CMakeFiles/CMakeOutput.log".
    See also "/Users/jenkins/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/a653175dbd2c58dbf22e5092fa3166d11e0eb25f/build_subfolder/CMakeFiles/CMakeError.log".
    opencv/4.5.1: 
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'numpy'
    CMake Error at source_subfolder/cmake/OpenCVFindLibsGrfmt.cmake:93 (add_subdirectory):
      add_subdirectory given source
      "/Users/jenkins/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/a653175dbd2c58dbf22e5092fa3166d11e0eb25f/source_subfolder/3rdparty/libtiff"
      which is not an existing directory.
    Call Stack (most recent call first):
      source_subfolder/CMakeLists.txt:697 (include)
    
    
    CMake Error at source_subfolder/cmake/OpenCVFindLibsGrfmt.cmake:237 (add_subdirectory):
      add_subdirectory given source
      "/Users/jenkins/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/a653175dbd2c58dbf22e5092fa3166d11e0eb25f/source_subfolder/3rdparty/libpng"
      which is not an existing directory.
    Call Stack (most recent call first):
      source_subfolder/CMakeLists.txt:697 (include)
    
    
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /Users/jenkins/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any declared library
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /Users/jenkins/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component libwebp::libwebp libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component zstd::zstd libdir "lib" does not contain any declared library
    opencv/4.5.1: WARN: Build folder is dirty, removing it: /Users/jenkins/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/a653175dbd2c58dbf22e5092fa3166d11e0eb25f
    opencv/4.5.1: ERROR: Package 'a653175dbd2c58dbf22e5092fa3166d11e0eb25f' build failed
    opencv/4.5.1: WARN: Build folder /Users/jenkins/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/a653175dbd2c58dbf22e5092fa3166d11e0eb25f
    ERROR: opencv/4.5.1: Error in build() method, line 337
    	cmake = self._configure_cmake()
    while calling '_configure_cmake', line 332
    	self._cmake.configure(build_folder=self._build_subfolder)
    	ConanException: Error 1 while executing cd '/Users/jenkins/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/a653175dbd2c58dbf22e5092fa3166d11e0eb25f/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="10.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/package/a653175dbd2c58dbf22e5092fa3166d11e0eb25f" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_MODULE_PATH="/Users/jenkins/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/a653175dbd2c58dbf22e5092fa3166d11e0eb25f" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DOPENCV_CONFIG_INSTALL_PATH="cmake" -DOPENCV_BIN_INSTALL_PATH="bin" -DOPENCV_LIB_INSTALL_PATH="lib" -DOPENCV_3P_LIB_INSTALL_PATH="lib" -DOPENCV_OTHER_INSTALL_PATH="res" -DOPENCV_LICENSES_INSTALL_PATH="licenses" -DBUILD_CUDA_STUBS="False" -DBUILD_DOCS="False" -DBUILD_EXAMPLES="False" -DBUILD_FAT_JAVA_LIB="False" -DBUILD_IPP_IW="False" -DBUILD_ITT="False" -DBUILD_JASPER="False" -DBUILD_JAVA="False" -DBUILD_JPEG="False" -DBUILD_OPENEXR="False" -DBUILD_OPENJPEG="False" -DBUILD_TESTS="False" -DBUILD_PROTOBUF="False" -DBUILD_PACKAGE="False" -DBUILD_PERF_TESTS="False" -DBUILD_USE_SYMLINKS="False" -DBUILD_opencv_apps="False" -DBUILD_opencv_java="False" -DBUILD_opencv_java_bindings_gen="False" -DBUILD_opencv_js="False" -DBUILD_ZLIB="False" -DBUILD_WEBP="False" -DBUILD_TBB="False" -DOPENCV_FORCE_3RDPARTY_BUILD="False" -DBUILD_opencv_python2="False" -DBUILD_opencv_python3="False" -DBUILD_opencv_python_bindings_g="False" -DBUILD_opencv_python_tests="False" -DBUILD_opencv_ts="False" -DWITH_1394="False" -DWITH_ADE="False" -DWITH_ARAVIS="False" -DWITH_CLP="False" -DWITH_CUFFT="False" -DWITH_NVCUVID="False" -DWITH_FFMPEG="False" -DWITH_GSTREAMER="False" -DWITH_HALIDE="False" -DWITH_HPX="False" -DWITH_IMGCODEC_HDR="False" -DWITH_IMGCODEC_PFM="False" -DWITH_IMGCODEC_PXM="False" -DWITH_IMGCODEC_SUNRASTER="False" -DWITH_INF_ENGINE="False" -DWITH_IPP="False" -DWITH_ITT="False" -DWITH_LIBREALSENSE="False" -DWITH_MFX="False" -DWITH_NGRAPH="False" -DWITH_OPENCL="False" -DWITH_OPENCLAMDBLAS="False" -DWITH_OPENCLAMDFFT="False" -DWITH_OPENCL_SVM="False" -DWITH_OPENGL="False" -DWITH_OPENMP="False" -DWITH_OPENNI="False" -DWITH_OPENNI2="False" -DWITH_OPENVX="False" -DWITH_PLAIDML="False" -DWITH_PROTOBUF="False" -DWITH_PVAPI="False" -DWITH_QT="False" -DWITH_QUIRC="False" -DWITH_V4L="False" -DWITH_VA="False" -DWITH_VA_INTEL="False" -DWITH_VTK="False" -DWITH_VULKAN="False" -DWITH_XIMEA="False" -DWITH_XINE="False" -DWITH_LAPACK="False" -DWITH_GTK="False" -DWITH_GTK_2_X="False" -DWITH_WEBP="True" -DWITH_JPEG="True" -DWITH_PNG="True" -DWITH_TIFF="True" -DWITH_JASPER="True" -DWITH_OPENJPEG="False" -DWITH_OPENEXR="True" -DWITH_EIGEN="True" -DHAVE_QUIRC="True" -DWITH_DSHOW="False" -DWITH_MSMF="False" -DWITH_MSMF_DXVA="False" -DOPENCV_MODULES_PUBLIC="opencv" -DOPENEXR_ROOT="/Users/jenkins/w/BuildSingleReference/.conan/data/openexr/2.5.5/_/_/package/9202f9cbaa68353d07738da1551b793aaa7d1e0b" -DWITH_CUDA="False" -DWITH_CUBLAS="False" -DENABLE_PIC="True" -Wno-dev '/Users/jenkins/w/BuildSingleReference/.conan/data/opencv/4.5.1/_/_/build/a653175dbd2c58dbf22e5092fa3166d11e0eb25f'
    
  • opencv/4.1.2@:
    CI failed to create some packages (All logs)

    Logs for packageID c489f1a7ac204e6fdbbce9b947d5000014b3995e:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Debug
    compiler=apple-clang
    compiler.libcxx=libc++
    compiler.version=10.0
    os=Macos
    os_build=Macos
    [options]
    opencv:shared=False
    
    --   Parallel framework:            GCD
    -- 
    --   Trace:                         YES (built-in)
    -- 
    --   Other third-party libraries:
    --     Eigen:                       YES (ver ..)
    --     Custom HAL:                  NO
    -- 
    --   Python (for build):            /usr/bin/python2.7
    -- 
    --   Install to:                    /Users/jenkins/w/BuildSingleReference@2/.conan/data/opencv/4.1.2/_/_/package/c489f1a7ac204e6fdbbce9b947d5000014b3995e
    -- -----------------------------------------------------------------
    -- 
    -- Configuring incomplete, errors occurred!
    See also "/Users/jenkins/w/BuildSingleReference@2/.conan/data/opencv/4.1.2/_/_/build/c489f1a7ac204e6fdbbce9b947d5000014b3995e/build_subfolder/CMakeFiles/CMakeOutput.log".
    See also "/Users/jenkins/w/BuildSingleReference@2/.conan/data/opencv/4.1.2/_/_/build/c489f1a7ac204e6fdbbce9b947d5000014b3995e/build_subfolder/CMakeFiles/CMakeError.log".
    opencv/4.1.2: 
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'numpy'
    CMake Error at source_subfolder/cmake/OpenCVFindLibsGrfmt.cmake:88 (add_subdirectory):
      add_subdirectory given source
      "/Users/jenkins/w/BuildSingleReference@2/.conan/data/opencv/4.1.2/_/_/build/c489f1a7ac204e6fdbbce9b947d5000014b3995e/source_subfolder/3rdparty/libtiff"
      which is not an existing directory.
    Call Stack (most recent call first):
      source_subfolder/CMakeLists.txt:668 (include)
    
    
    CMake Error at source_subfolder/cmake/OpenCVFindLibsGrfmt.cmake:202 (add_subdirectory):
      add_subdirectory given source
      "/Users/jenkins/w/BuildSingleReference@2/.conan/data/opencv/4.1.2/_/_/build/c489f1a7ac204e6fdbbce9b947d5000014b3995e/source_subfolder/3rdparty/libpng"
      which is not an existing directory.
    Call Stack (most recent call first):
      source_subfolder/CMakeLists.txt:668 (include)
    
    
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /Users/jenkins/w/BuildSingleReference@2/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any declared library
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /Users/jenkins/w/BuildSingleReference@2/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component libwebp::libwebp libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component zstd::zstd libdir "lib" does not contain any declared library
    opencv/4.1.2: WARN: Build folder is dirty, removing it: /Users/jenkins/w/BuildSingleReference@2/.conan/data/opencv/4.1.2/_/_/build/c489f1a7ac204e6fdbbce9b947d5000014b3995e
    opencv/4.1.2: ERROR: Package 'c489f1a7ac204e6fdbbce9b947d5000014b3995e' build failed
    opencv/4.1.2: WARN: Build folder /Users/jenkins/w/BuildSingleReference@2/.conan/data/opencv/4.1.2/_/_/build/c489f1a7ac204e6fdbbce9b947d5000014b3995e
    ERROR: opencv/4.1.2: Error in build() method, line 337
    	cmake = self._configure_cmake()
    while calling '_configure_cmake', line 332
    	self._cmake.configure(build_folder=self._build_subfolder)
    	ConanException: Error 1 while executing cd '/Users/jenkins/w/BuildSingleReference@2/.conan/data/opencv/4.1.2/_/_/build/c489f1a7ac204e6fdbbce9b947d5000014b3995e/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="10.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/BuildSingleReference@2/.conan/data/opencv/4.1.2/_/_/package/c489f1a7ac204e6fdbbce9b947d5000014b3995e" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_MODULE_PATH="/Users/jenkins/w/BuildSingleReference@2/.conan/data/opencv/4.1.2/_/_/build/c489f1a7ac204e6fdbbce9b947d5000014b3995e" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DOPENCV_CONFIG_INSTALL_PATH="cmake" -DOPENCV_BIN_INSTALL_PATH="bin" -DOPENCV_LIB_INSTALL_PATH="lib" -DOPENCV_3P_LIB_INSTALL_PATH="lib" -DOPENCV_OTHER_INSTALL_PATH="res" -DOPENCV_LICENSES_INSTALL_PATH="licenses" -DBUILD_CUDA_STUBS="False" -DBUILD_DOCS="False" -DBUILD_EXAMPLES="False" -DBUILD_FAT_JAVA_LIB="False" -DBUILD_IPP_IW="False" -DBUILD_ITT="False" -DBUILD_JASPER="False" -DBUILD_JAVA="False" -DBUILD_JPEG="False" -DBUILD_OPENEXR="False" -DBUILD_OPENJPEG="False" -DBUILD_TESTS="False" -DBUILD_PROTOBUF="False" -DBUILD_PACKAGE="False" -DBUILD_PERF_TESTS="False" -DBUILD_USE_SYMLINKS="False" -DBUILD_opencv_apps="False" -DBUILD_opencv_java="False" -DBUILD_opencv_java_bindings_gen="False" -DBUILD_opencv_js="False" -DBUILD_ZLIB="False" -DBUILD_WEBP="False" -DBUILD_TBB="False" -DOPENCV_FORCE_3RDPARTY_BUILD="False" -DBUILD_opencv_python2="False" -DBUILD_opencv_python3="False" -DBUILD_opencv_python_bindings_g="False" -DBUILD_opencv_python_tests="False" -DBUILD_opencv_ts="False" -DWITH_1394="False" -DWITH_ADE="False" -DWITH_ARAVIS="False" -DWITH_CLP="False" -DWITH_CUFFT="False" -DWITH_NVCUVID="False" -DWITH_FFMPEG="False" -DWITH_GSTREAMER="False" -DWITH_HALIDE="False" -DWITH_HPX="False" -DWITH_IMGCODEC_HDR="False" -DWITH_IMGCODEC_PFM="False" -DWITH_IMGCODEC_PXM="False" -DWITH_IMGCODEC_SUNRASTER="False" -DWITH_INF_ENGINE="False" -DWITH_IPP="False" -DWITH_ITT="False" -DWITH_LIBREALSENSE="False" -DWITH_MFX="False" -DWITH_NGRAPH="False" -DWITH_OPENCL="False" -DWITH_OPENCLAMDBLAS="False" -DWITH_OPENCLAMDFFT="False" -DWITH_OPENCL_SVM="False" -DWITH_OPENGL="False" -DWITH_OPENMP="False" -DWITH_OPENNI="False" -DWITH_OPENNI2="False" -DWITH_OPENVX="False" -DWITH_PLAIDML="False" -DWITH_PROTOBUF="False" -DWITH_PVAPI="False" -DWITH_QT="False" -DWITH_QUIRC="False" -DWITH_V4L="False" -DWITH_VA="False" -DWITH_VA_INTEL="False" -DWITH_VTK="False" -DWITH_VULKAN="False" -DWITH_XIMEA="False" -DWITH_XINE="False" -DWITH_LAPACK="False" -DWITH_GTK="False" -DWITH_GTK_2_X="False" -DWITH_WEBP="True" -DWITH_JPEG="True" -DWITH_PNG="True" -DWITH_TIFF="True" -DWITH_JASPER="True" -DWITH_OPENJPEG="False" -DWITH_OPENEXR="True" -DWITH_EIGEN="True" -DHAVE_QUIRC="True" -DWITH_DSHOW="False" -DWITH_MSMF="False" -DWITH_MSMF_DXVA="False" -DOPENCV_MODULES_PUBLIC="opencv" -DOPENEXR_ROOT="/Users/jenkins/w/BuildSingleReference@2/.conan/data/openexr/2.5.5/_/_/package/4ac8c24b39de7d9c12ce8901adb7f62f18502a12" -DWITH_CUDA="False" -DWITH_CUBLAS="False" -DENABLE_PIC="True" -Wno-dev '/Users/jenkins/w/BuildSingleReference@2/.conan/data/opencv/4.1.2/_/_/build/c489f1a7ac204e6fdbbce9b947d5000014b3995e'
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@conan-center-bot
Copy link
Collaborator

Failure in build 9 (6d40a77c18a45dcf5870ea2013281d7625508205):

  • opencv/4.1.2@:
    CI failed to create some packages (All logs)

    Logs for packageID d232c12f0be638e9807f44140da519a5897b7d23:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=clang
    compiler.libcxx=libc++
    compiler.version=5.0
    os=Linux
    os_build=Linux
    [options]
    opencv:shared=False
    
    -- Dependency WebP already found
    -- Library quirc found /home/conan/w/BuildSingleReference/.conan/data/quirc/1.1/_/_/package/5bcb27df0e0be08aedede25aeeba93c39439e3d9/lib/libquirc.a
    -- Found: /home/conan/w/BuildSingleReference/.conan/data/quirc/1.1/_/_/package/5bcb27df0e0be08aedede25aeeba93c39439e3d9/lib/libquirc.a
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/opencv/4.x/test_package/build/898df53454dac3be0bc385429729f22c46c8eb2d
    
    ----Running------
    > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/opencv/4.x/test_package/build/898df53454dac3be0bc385429729f22c46c8eb2d' '--' '-j3'
    -----------------
    Scanning dependencies of target test_package
    [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o
    [100%] Linking CXX executable bin/test_package
    CMakeFiles/test_package.dir/build.make:133: recipe for target 'bin/test_package' failed
    CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/test_package.dir/all' failed
    Makefile:102: recipe for target 'all' failed
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_EXPORT_NO_PACKAGE_REGISTRY
        CMAKE_INSTALL_BINDIR
        CMAKE_INSTALL_DATAROOTDIR
        CMAKE_INSTALL_INCLUDEDIR
        CMAKE_INSTALL_LIBDIR
        CMAKE_INSTALL_LIBEXECDIR
        CMAKE_INSTALL_OLDINCLUDEDIR
        CMAKE_INSTALL_SBINDIR
    
    
    /home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/package/d232c12f0be638e9807f44140da519a5897b7d23/lib/libopencv_core.a(matrix.cpp.o): In function `cv::Mat::Mat(cv::Mat const&, std::__1::vector<cv::Range, std::__1::allocator<cv::Range> > const&)':
    /home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/build/d232c12f0be638e9807f44140da519a5897b7d23/source_subfolder/modules/core/src/matrix.cpp:(.text._ZN2cv3MatC2ERKS0_RKNSt3__16vectorINS_5RangeENS3_9allocatorIS5_EEEE+0x1f1): undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string(char const*)'
    /home/conan/w/BuildSingleReference/.conan/data/opencv/4.1.2/_/_/build/d232c12f0be638e9807f44140da519a5897b7d23/source_subfolder/modules/core/src/matrix.cpp:(.text._ZN2cv3MatC2ERKS0_RKNSt3__16vectorINS_5RangeENS3_9allocatorIS5_EEEE+0x226): undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string(char const*)'
    /usr/bin/ld: bin/test_package: hidden symbol `_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2EPKc' isn't defined
    /usr/bin/ld: final link failed: Bad value
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [bin/test_package] Error 1
    make[1]: *** [CMakeFiles/test_package.dir/all] Error 2
    make: *** [all] Error 2
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen libdir "lib" does not contain any declared library
    eigen/3.3.9: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/eigen/3.3.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component eigen::eigen3 libdir "lib" does not contain any declared library
    gtk/system: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/gtk/system/_/_/package/cc5e5ca8b619d2dffaaeae1e4924ae3ce085a8f1/lib
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component gtk::gtk libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component libwebp::libwebp libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component zstd::zstd libdir "lib" does not contain any declared library
    [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component opencv::opencv libdir "lib" does not contain any declared library
    ERROR: opencv/4.1.2 (test package): Error in build() method, line 12
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/opencv/4.x/test_package/build/898df53454dac3be0bc385429729f22c46c8eb2d' '--' '-j3'
    
  • opencv/4.5.0@:
    All packages built successfully! (All logs)

  • opencv/4.5.1@:
    All packages built successfully! (All logs)


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@chatpion
Copy link
Contributor Author

chatpion commented Mar 11, 2021

To be honest, I have absolutely no idea on how to fix the build failure right now :/

@SpaceIm
Copy link
Contributor

SpaceIm commented Mar 11, 2021

Honestly, I'm not very enthusiastic with this interface design for options.
We should have an option for each contrib, which would control OPENCV_EXTRA_MODULES_PATH (one path per contrib separated with semicolon https://github.com/opencv/opencv/blob/c5c2b6f9bfc8c9563f414744809289adfc78b6a2/CMakeLists.txt#L587) and requirements. The required dependencies for each contrib are just an internal detail of opencv_contrib. Does it make sense to allow to enable freetype but not harfbuzz? No: https://github.com/opencv/opencv_contrib/blob/4.5.1/modules/freetype/CMakeLists.txt

@chatpion
Copy link
Contributor Author

Honestly, I'm not very enthusiastic with this interface design for options.
We should have an option for each contrib, which would control OPENCV_EXTRA_MODULES_PATH (one path per contrib separated with semicolon https://github.com/opencv/opencv/blob/c5c2b6f9bfc8c9563f414744809289adfc78b6a2/CMakeLists.txt#L587) and requirements.

Actually the README from the contrib modules gives a simpler way to disable modules instead of manually giving module paths one by one.

The required dependencies for each contrib are just an internal detail of opencv_contrib. Does it make sense to allow to enable freetype but not harfbuzz? No: https://github.com/opencv/opencv_contrib/blob/4.5.1/modules/freetype/CMakeLists.txt

You're absolutely right, I should have looked at it beforehand.
By the way, is there any reason for highgui to require freetype ?

@conan-center-bot
Copy link
Collaborator

All green in build 11 (f6716853ec7064eecbcab7aca7a99315d924f462):

  • opencv/4.1.2@:
    All packages built successfully! (All logs)

  • opencv/4.5.0@:
    All packages built successfully! (All logs)

  • opencv/4.5.1@:
    All packages built successfully! (All logs)

prince-chrismc referenced this pull request in prince-chrismc/conan-center-index-pending-review Mar 16, 2021
this will allow testing it in a preview wihtout opening an issue
prince-chrismc referenced this pull request in prince-chrismc/conan-center-index-pending-review Mar 16, 2021
prince-chrismc referenced this pull request in prince-chrismc/conan-center-index-pending-review Mar 16, 2021
prince-chrismc referenced this pull request in prince-chrismc/conan-center-index-pending-review Mar 16, 2021
@conan-center-bot conan-center-bot merged commit fb20b85 into conan-io:master Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants