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

openexr 2.x: avoid conflict in PkgConfigDeps #24563

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Jul 9, 2024

Summary

Changes to recipe: openexr/2.x

Motivation

Avoid conflict between files generated by PkgConfigDeps for openexr 2.x on case-insensitive file systems.

closes #24559

Details

PkgConfigDeps generate OpenEXR.pc file for openexr_ilmimf component , while an unwanted openexr.pc file is generated by default for the "global" component. To avoid conflict on case-insensitive file systems like Windows, we enforce an another custom pkg_config_name for this global component.


PkgConfigDeps generate OpenEXR.pc for openexr_ilmimf component , while an unwanted openexr.pc file is generated by default by "global" component. To avoid conflict on case-insensitive file systems like Windows, we enforce an another custom pkg_config_name for this global component.
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 1 (7c23bbd6af63d46a4514a4185001e070e2838c0f):

  • openexr/2.5.9:
    All packages built successfully! (All logs)

  • openexr/2.4.0:
    All packages built successfully! (All logs)

  • openexr/2.5.7:
    All packages built successfully! (All logs)


Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 1 (7c23bbd6af63d46a4514a4185001e070e2838c0f):

  • openexr/2.5.9:
    All packages built successfully! (All logs)

  • openexr/2.4.0:
    All packages built successfully! (All logs)

  • openexr/2.5.7:
    All packages built successfully! (All logs)

Copy link
Contributor

github-actions bot commented Jul 9, 2024

Hooks produced the following warnings for commit 7c23bbd
openexr/2.5.9@#250b6c8e60b746b6e75734373ed98754
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImf.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libImath.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libImath-2_5.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImf-2_5.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImf_d.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libImath_d.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImf-2_5_d.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libImath-2_5_d.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmThread.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIex.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libHalf.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIexMath-2_5.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIexMath.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmThread-2_5.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libHalf-2_5.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIex-2_5.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImfUtil.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImfUtil-2_5.so' links to system library 'm' but it is not in cpp_info.system_libs.
openexr/2.4.0@#be0d95e9c8ba3901fa5d5354961a68b8
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImf-2_4.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImf.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libImath.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libImath-2_4.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImf-2_4_d.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libImath-2_4_d.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImf_d.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libImath_d.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libHalf-2_4.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIexMath-2_4.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmThread.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIex.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libHalf.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImfUtil-2_4.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIexMath.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmThread-2_4.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIex-2_4.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImfUtil.so' links to system library 'm' but it is not in cpp_info.system_libs.
openexr/2.5.7@#191290b5cb7da90a05ed351fae29d9c4
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImf.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libImath.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libImath-2_5.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImf-2_5.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImf_d.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libImath_d.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImf-2_5_d.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libImath-2_5_d.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmThread.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIex.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libHalf.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIexMath-2_5.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIexMath.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmThread-2_5.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libHalf-2_5.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIex-2_5.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImfUtil.so' links to system library 'm' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libIlmImfUtil-2_5.so' links to system library 'm' but it is not in cpp_info.system_libs.

Copy link
Contributor

@franramirez688 franramirez688 left a comment

Choose a reason for hiding this comment

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

LGTM

@domin144
Copy link

domin144 commented Jul 9, 2024

$ cd  /d/sources/conan-center-index/recipes/openexr
$ conan create 2.x/conanfile.py --version 2.5.7 -s build_type=Debug --build=missing
(...)
$ cd /d/sources/conan-openexr-example
$ conan build . --output-folder=builddir --build=missing --settings=build_type=Debug
(...)
[2/2] Linking target hello.exe
$ ./builddir/hello.exe
$ ls
builddir/  conanfile.py  hello.cpp  hello.exr  meson.build

Works with my example. LGTM. Thanks!

@conan-center-bot conan-center-bot merged commit 22eb723 into conan-io:master Jul 10, 2024
21 checks passed
@SpaceIm SpaceIm deleted the fix/openexr-2.x-pkgconfig branch July 10, 2024 08:52
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.

[openexr ]openexr/2.5.7: LNK2019 on windows
5 participants