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 2.4.13.7 #2743

Merged
merged 27 commits into from
Oct 28, 2020
Merged

OpenCV 2.4.13.7 #2743

merged 27 commits into from
Oct 28, 2020

Conversation

uilianries
Copy link
Member

@uilianries uilianries commented Sep 1, 2020

Specify library name and version: opencv/2.4.13.7

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

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries uilianries added the blocked Affected by an external issue and waiting until it is solved label Sep 1, 2020
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries uilianries mentioned this pull request Sep 1, 2020
4 tasks
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@SSE4 SSE4 mentioned this pull request Sep 5, 2020
@uilianries uilianries removed the blocked Affected by an external issue and waiting until it is solved label Sep 30, 2020
@uilianries uilianries marked this pull request as ready for review September 30, 2020 21:52
@conan-center-bot
Copy link
Collaborator

Failure in build 4 (5145244671fa6bf2bb3554e0a9b3965a43b27bbe):

  • opencv/2.4.13.7
    • Hooks errors detected:
      • [HOOK - conan-center.py] pre_export(): ERROR: [TEST PACKAGE - NO IMPORTS() (KB-H034)] The method importsis not allowed in test_package/conanfile.py (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H034)

uilianries and others added 2 commits September 30, 2020 21:31
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Automatically created by bincrafters-conventions 0.26.1
@conan-center-bot
Copy link
Collaborator

Some configurations of 'opencv/2.4.13.7' failed in build 6 (9cc62e18dab8993050fb2d2a9be14dc58806b8d3):

  • Macos x86_64, Debug, apple-clang 10.0, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Macos x86_64, Release, apple-clang 9.1, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Macos x86_64, Release, apple-clang 11.0, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Macos x86_64, Debug, apple-clang 11.0, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Macos x86_64, Release, apple-clang 10.0, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Macos x86_64, Debug, apple-clang 9.1, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Macos x86_64, Release, apple-clang 9.1, libc++ . Options: opencv:shared-True
    You are depending on 'gtk2/system' but it is not in the repository
  • Macos x86_64, Release, apple-clang 11.0, libc++ . Options: opencv:shared-True
    You are depending on 'gtk2/system' but it is not in the repository
  • Macos x86_64, Release, apple-clang 10.0, libc++ . Options: opencv:shared-True
    You are depending on 'gtk2/system' but it is not in the repository
  • Macos x86_64, Debug, apple-clang 9.1, libc++ . Options: opencv:shared-True
    You are depending on 'gtk2/system' but it is not in the repository
  • Windows x86_64, Release, Visual Studio 16, MT. Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Windows x86_64, Release, Visual Studio 14, MT. Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Windows x86_64, Release, Visual Studio 14, MD. Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Windows x86_64, Release, Visual Studio 15, MT. Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Windows x86_64, Release, Visual Studio 15, MD. Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, gcc 4.9, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, gcc 4.9, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Windows x86_64, Release, Visual Studio 16, MD. Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, gcc 7, libstdc++11 . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, clang 9, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, gcc 9, libstdc++11 . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, clang 7.0, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, clang 8, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, gcc 7, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, clang 6.0, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, gcc 9, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, gcc 9, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, clang 6.0, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, clang 7.0, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, gcc 5, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, gcc 4.9, libstdc++ . Options: opencv:shared-True
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, clang 7.0, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, gcc 9, libstdc++11 . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, clang 5.0, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, gcc 4.9, libstdc++ . Options: opencv:shared-True
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, clang 9, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, clang 6.0, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, clang 8, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, clang 8, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, clang 8, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, clang 7.0, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, clang 5.0, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, clang 5.0, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, clang 4.0, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, clang 4.0, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, gcc 5, libstdc++11 . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, gcc 6, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, clang 3.9, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, clang 5.0, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, clang 3.9, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, clang 3.9, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, clang 3.9, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Release, clang 4.0, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, clang 4.0, libc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, gcc 6, libstdc++11 . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, gcc 7, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, gcc 6, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, gcc 5, libstdc++11 . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Linux x86_64, Debug, gcc 5, libstdc++ . Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Windows x86_64, Debug, Visual Studio 16, MTd. Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository
  • Windows x86_64, Debug, Visual Studio 14, MDd. Options: opencv:shared-False
    You are depending on 'gtk2/system' but it is not in the repository

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot
Copy link
Collaborator

Some configurations of 'opencv/2.4.13.7' failed in build 7 (d9aa7155baa38857dfd685dd0f0e0b2429f57573):

uilianries and others added 2 commits October 1, 2020 08:43
Automatically created by bincrafters-conventions 0.26.1
@Croydon
Copy link
Contributor

Croydon commented Oct 1, 2020

Oh wait. Is the Jasper update causing problems for OpenCV?

Edit: The bot won't push the update anymore until this is clarified. You can revert now again if you want

@conan-center-bot
Copy link
Collaborator

Some configurations of 'opencv/2.4.13.7' failed in build 9 (9435cf065c92fe776d96d0e7ddbddaec2ea9f9d8):

@uilianries
Copy link
Member Author

uilianries commented Oct 1, 2020

@Croydon Yes in this case, OpenCV 2.4 requires an older version of Jasper, because some methods are incompatible. That's sad because are different minor versions only.

I could provide a patch for OpenCV, accepting Jasper and its new version, but sounds wrong.

@conan-center-bot
Copy link
Collaborator

Some configurations of 'opencv/2.4.13.7' failed in build 10 (772a2c36c4554612b2a68f872ae26cc1e63ea891):

  • Linux x86_64, Debug, clang 3.9, libstdc++ . Options: opencv:shared-False
  • Access to all the logs
  • Linux x86_64, Debug, clang 5.0, libstdc++ . Options: opencv:shared-False
  • Access to all the logs
  • Linux x86_64, Debug, clang 5.0, libc++ . Options: opencv:shared-False
  • Access to all the logs
  • Linux x86_64, Debug, clang 4.0, libstdc++ . Options: opencv:shared-False
  • Access to all the logs
  • Linux x86_64, Debug, clang 4.0, libc++ . Options: opencv:shared-False
  • Access to all the logs
  • Linux x86_64, Debug, clang 3.9, libc++ . Options: opencv:shared-False
  • Access to all the logs
  • Linux x86_64, Debug, gcc 5, libstdc++ . Options: opencv:shared-False
  • Access to all the logs
  • Linux x86_64, Release, clang 3.9, libstdc++ . Options: opencv:shared-False
  • Access to all the logs
  • Linux x86_64, Release, clang 5.0, libstdc++ . Options: opencv:shared-False
  • Access to all the logs
  • Linux x86_64, Release, clang 5.0, libc++ . Options: opencv:shared-False
  • Access to all the logs
  • Linux x86_64, Debug, clang 6.0, libstdc++ . Options: opencv:shared-False
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] The conan-center repository doesn't allow the packages to contain pcfiles. The packages have to be located using generators and the declaredcpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H020)
      • [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] Found files:
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs
  • Linux x86_64, Debug, clang 8, libstdc++ . Options: opencv:shared-False
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] The conan-center repository doesn't allow the packages to contain pcfiles. The packages have to be located using generators and the declaredcpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H020)
      • [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] Found files:
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs
  • Linux x86_64, Debug, clang 7.0, libstdc++ . Options: opencv:shared-False
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] The conan-center repository doesn't allow the packages to contain pcfiles. The packages have to be located using generators and the declaredcpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H020)
      • [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] Found files:
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs
  • Linux x86_64, Debug, clang 7.0, libc++ . Options: opencv:shared-False
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] The conan-center repository doesn't allow the packages to contain pcfiles. The packages have to be located using generators and the declaredcpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H020)
      • [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] Found files:
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs
  • Linux x86_64, Debug, clang 6.0, libc++ . Options: opencv:shared-False
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] The conan-center repository doesn't allow the packages to contain pcfiles. The packages have to be located using generators and the declaredcpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H020)
      • [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] Found files:
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs
  • Linux x86_64, Debug, clang 8, libc++ . Options: opencv:shared-False
    • Hooks errors detected:
      • [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] The conan-center repository doesn't allow the packages to contain pcfiles. The packages have to be located using generators and the declaredcpp_infoinformation (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H020)
      • [HOOK - conan-center.py] post_package(): ERROR: [PC-FILES (KB-H020)] Found files:
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot
Copy link
Collaborator

All green in build 11 (318ca9225de6f5d99375153dd99f1b11b823df33)! 😊

  • opencv/2.4.13.7: Generated 100 packages (+ 36 invalid config from build()). All logs here

recipes/opencv/config.yml Outdated Show resolved Hide resolved
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot
Copy link
Collaborator

All green in build 25 (9f2aa87ba2a82b5877818fcd54d8c35e15c8f9fb)! 😊

recipes/opencv/config.yml Outdated Show resolved Hide resolved
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Comment on lines 198 to 199
if self.settings.os == "Linux":
self.cpp_info.components[component].system_libs = ["dl", "m", "pthread", "rt"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these system libs direct dependencies of all components?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, can be observed on the original cmake targets generated.

Copy link
Member Author

Choose a reason for hiding this comment

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

probably if I look into each module, we can filter better, I guess the upstream preferred it to avoid more complexity in terms of cmake files and dependencies.

Copy link
Member Author

Choose a reason for hiding this comment

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

here are the original files generated by opencv: https://gist.github.com/uilianries/e5de90e8df47b0bd6eae25a25e334c5c

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks. So indeed, all components require these system libs.

@conan-center-bot
Copy link
Collaborator

All green in build 26 (3c3eca419b6f6406e5ac064ce84a7d3e4f700830)! 😊

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot
Copy link
Collaborator

All green in build 27 (ed97224add12928d38ec60ab97cadc6d585d9f59)! 😊

recipes/opencv/2.x/conanfile.py Outdated Show resolved Hide resolved
recipes/opencv/2.x/conanfile.py Outdated Show resolved Hide resolved
recipes/opencv/2.x/conanfile.py Outdated Show resolved Hide resolved
@SpaceIm
Copy link
Contributor

SpaceIm commented Oct 27, 2020

@uilianries please consider bincrafters#16 for #2743 (comment)

@conan-center-bot
Copy link
Collaborator

All green in build 28 (b81be669ca482b4cb985a83c1981b209d198dacb)! 😊

@conan-center-bot
Copy link
Collaborator

All green in build 29 (36ebcbe809b8603953e1d5e0da634ddc1dcfeb81)! 😊

Comment on lines +210 to +214
self.cpp_info.components[conan_component_alias].includedirs = []
self.cpp_info.components[conan_component_alias].libdirs = []
self.cpp_info.components[conan_component_alias].resdirs = []
self.cpp_info.components[conan_component_alias].bindirs = []
self.cpp_info.components[conan_component_alias].frameworkdirs = []
Copy link
Contributor

Choose a reason for hiding this comment

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

Just to confirm since I never see these... are they required?

Copy link
Contributor

Choose a reason for hiding this comment

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

Those attributes are not empty be default. Required? No really, I would say more optimal maybe.

@conan-center-bot conan-center-bot merged commit 5ecea3b into conan-io:master Oct 28, 2020
@Croydon Croydon deleted the opencv/2.4.13 branch January 23, 2021 05:43
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.

9 participants