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 4.x: some contrib modules require eigen library #13726

Closed
wants to merge 1 commit into from

Conversation

db4
Copy link
Contributor

@db4 db4 commented Oct 24, 2022

library name and version: opencv/4.x

Combination of with_contrib=True and with_eigen=False makes find_package(OpenCV) fail with

-- Conan: Target declared 'opencv::opencv'
CMake Error at build/generators/cmakedeps_macros.cmake:39 (message):
  Library 'opencv_alphamat453' not found in package.  If
  'opencv_alphamat453' is a system library, declare it with
  'cpp_info.system_libs' property

contrib_sfm also requires with_eigen, so I added a check to validate()

  • 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.

@ghost
Copy link

ghost commented Oct 24, 2022

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.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Failure in build 4 (c0b3a80d56351ae654dbf98d5cfc6681c0d7ec0a):

  • opencv/4.5.1@:
    Didn't run or was cancelled before finishing

  • opencv/4.5.2@:
    Didn't run or was cancelled before finishing

  • opencv/4.5.5@:
    Didn't run or was cancelled before finishing

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

    Logs for packageID 963d081a642835314dc9ae83664814e6365817bb:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    opencv:shared=False
    
    [...]
        libpng/1.6.37:46c454909ce04fcfe4d444e9e216b9d9fbf98ebb - Download
        libsndfile/1.0.31:1021cae4be0a02f327b98150318613744064cfd0 - Download
        libtiff/4.3.0:6cbd95515c1d554969c6398e82b0bbc6d2e57799 - Missing
        libtool/2.4.7:696f7b257d23cc737d9fa236a53b1eeefd82f76e - Download
        libvpx/1.11.0:d1ccaf3d46c0ff4765ae567ea8252bc84c2e5c0a - Download
        libwebp/1.2.2:44ff56a61aee602b7d6ec9df4c3f7de18222f285 - Download
        libx264/20191217:f4bb5f8aaf6a1d2012ac913e41730dc0d2a56a4e - Download
        libx265/3.4:59e60c28d769a973dd958f0d1e294bb1770c175c - Download
        libxml2/2.9.14:93b75e5cab3a123bee04f92640085d7cefb16f7a - Download
        m4/1.4.19:cc9f9b2b9f92fc82888026414560bf79d8c3a052 - Download
        ogg/1.3.5:b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 - Download
        opencv/4.5.0:963d081a642835314dc9ae83664814e6365817bb - Build
        openexr/2.5.7:de41549e84256614563dba7b41e7821e797babf8 - Download
        openh264/2.1.1:fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb - Download
        openjpeg/2.5.0:b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 - Download
        openssl/1.1.1q:b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 - Download
        opus/1.3.1:b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 - Download
        protobuf/3.17.1:8bf36f45b7ab8d0522f88f42383e3f3a936b5951 - Download
        pulseaudio/14.2:3763be08eb04e3078d1fd6529c3b8577b2c6378a - Download
        quirc/1.1:8a622357d8c87d5bd4e17262afddb8be1ec8127f - Download
        vaapi/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        vdpau/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        vorbis/1.3.7:519c95d02e3c7ce25bd78a5f8ba64df1804003e4 - Download
        vulkan-headers/1.3.221:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        vulkan-loader/1.3.221:1d407e7585802999f18a2cc5f2e94337e9e5653c - Download
        wayland/1.21.0:7ac14aa71ba24082b43cd2ba266300e06d1eef9d - Download
        xorg/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        xz_utils/5.2.5:b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 - Download
        zlib/1.2.12:b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 - Download
        zstd/1.5.2:53f5ccb6f18d17f6712ca526ae5f55b55a7a9676 - Download
    
    Installing (downloading, building) binaries...
    
    WARN: libtiff/4.3.0: requirement libjpeg/9e overridden by opencv/4.5.0 to libjpeg/9d 
    WARN: libtiff/4.3.0: requirement libwebp/1.2.4 overridden by opencv/4.5.0 to libwebp/1.2.2 
    WARN: ffmpeg/4.4: requirement libwebp/1.2.3 overridden by opencv/4.5.0 to libwebp/1.2.2 
    WARN: freetype/2.12.1: requirement libpng/1.6.38 overridden by ffmpeg/4.4 to libpng/1.6.37 
    ERROR: Missing binary: libtiff/4.3.0:6cbd95515c1d554969c6398e82b0bbc6d2e57799
    libtiff/4.3.0: WARN: Can't find a 'libtiff/4.3.0' package for the specified settings, options and dependencies:
    - Settings: arch=x86_64, build_type=Debug, compiler=gcc, compiler.libcxx=libstdc++11, compiler.version=5, os=Linux
    - Options: cxx=True, fPIC=True, jbig=True, jpeg=libjpeg, libdeflate=True, lzma=True, shared=False, webp=True, zlib=True, zstd=True, jbig:build_executables=True, jbig:fPIC=True, jbig:shared=False, libdeflate:fPIC=True, libdeflate:shared=False, libjpeg:fPIC=True, libjpeg:shared=False, libwebp:fPIC=True, libwebp:near_lossless=True, libwebp:shared=False, libwebp:swap_16bit_csp=False, libwebp:with_simd=True, xz_utils:fPIC=True, xz_utils:shared=False, zlib:fPIC=True, zlib:shared=False, zstd:fPIC=True, zstd:shared=False, zstd:threading=True
    - Dependencies: zlib/1.2.12, libdeflate/1.12, xz_utils/5.2.5, libjpeg/9d, jbig/20160605, zstd/1.5.2, libwebp/1.2.2
    - Requirements: jbig/20160605.Y.Z, libdeflate/1.Y.Z, libjpeg/9d, libwebp/1.Y.Z, xz_utils/5.Y.Z, zlib/1.Y.Z, zstd/1.Y.Z
    - Package ID: 6cbd95515c1d554969c6398e82b0bbc6d2e57799
    
    ERROR: Missing prebuilt package for 'libtiff/4.3.0'
    Use 'conan search libtiff/4.3.0 --table=table.html -r=remote' and open the table.html file to see available packages
    Or try to build locally from sources with '--build=libtiff'
    
    More Info at 'https://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'
    
  • opencv/4.1.2@:
    Didn't run or was cancelled before finishing

  • opencv/4.5.3@:
    Didn't run or was cancelled before finishing


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.

@db4 db4 marked this pull request as draft October 26, 2022 11:31
@stale
Copy link

stale bot commented Nov 26, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 26, 2022
@stale
Copy link

stale bot commented Dec 26, 2022

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

@stale stale bot closed this Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants