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

openldap: migrate to Conan v2 #18800

Merged
merged 14 commits into from
Apr 19, 2024
Merged

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jul 22, 2023

@ghost
Copy link

ghost commented Jul 22, 2023

I detected other pull requests that are modifying openldap/all 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.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit c87d9b7
openldap/2.6.1
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod/BuildSingleReference/.conan/data/openldap/2.6.1/_/_/package/8a1f0876accd4b45aef69b6bf7464a35c6142f55/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod/BuildSingleReference/.conan/data/openldap/2.6.1/_/_/package/435c67b1bf8b94754e1246b0c446e0d2b8c7865e/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libldap.so' links to system library 'resolv' but it is not in cpp_info.system_libs.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit ad2962f
openldap/2.6.1
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/BuildSingleReference/.conan/data/openldap/2.6.1/_/_/package/8a1f0876accd4b45aef69b6bf7464a35c6142f55/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/BuildSingleReference/.conan/data/openldap/2.6.1/_/_/package/e8f273b72b2e8dc0771384bf506a6b055444cedb/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libldap.so' links to system library 'resolv' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/liblber.so' links to system library 'resolv' but it is not in cpp_info.system_libs.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/BuildSingleReference/.conan/data/openldap/2.6.1/_/_/package/465c6e5104df92f9508dd1d146a7bb28b1fa5f55/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/BuildSingleReference/.conan/data/openldap/2.6.1/_/_/package/870bd995cabf2e7ccab4b2ccbb4d9611f61b0f3b/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/BuildSingleReference/.conan/data/openldap/2.6.1/_/_/package/d53d86bb8e815797b898eadabe53b43ca81cad01/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/BuildSingleReference/.conan/data/openldap/2.6.1/_/_/package/9ecc357c59805123f8fadd47c87f6207ff2d838b/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/BuildSingleReference/.conan/data/openldap/2.6.1/_/_/package/7e411e6419ad4b1dc8a871574566efefc9a7b0f9/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.

@stale
Copy link

stale bot commented Sep 17, 2023

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 stale and removed stale labels Sep 17, 2023
@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 10c28ee
openldap/2.6.1@#23d543de15a9646b74cd04cb41007797
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/bsr/13268/accfc/.conan/data/openldap/2.6.1/_/_/package/99a5d8484ea86eeb74d177014bf504989298c7dd/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/bsr/13268/cefcc/.conan/data/openldap/2.6.1/_/_/package/dc31a2f6f34f01810d23f552811497c79d28ee21/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/bsr/13268/adddb/.conan/data/openldap/2.6.1/_/_/package/d53d86bb8e815797b898eadabe53b43ca81cad01/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/bsr/13268/acbce/.conan/data/openldap/2.6.1/_/_/package/8a1f0876accd4b45aef69b6bf7464a35c6142f55/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/bsr/13268/dbdbd/.conan/data/openldap/2.6.1/_/_/package/e9e8cebcf6003a48f9b390d6edacb45a9bc5c136/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/bsr/13268/dfaff/.conan/data/openldap/2.6.1/_/_/package/9ecc357c59805123f8fadd47c87f6207ff2d838b/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/bsr/13268/bebbd/.conan/data/openldap/2.6.1/_/_/package/f103bee5e01f385acaead40ce8cdc512fa4955f6/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libldap.so' links to system library 'resolv' but it is not in cpp_info.system_libs.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/bsr/13268/cfbbe/.conan/data/openldap/2.6.1/_/_/package/0788bcb0319bd74a60226fe8563d17fe7f7ab3aa/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/bsr/13268/fdabc/.conan/data/openldap/2.6.1/_/_/package/18094a6034952caac612cdba3c954289be937d1a/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/bsr/13268/edefb/.conan/data/openldap/2.6.1/_/_/package/60eae855d04c2e839ebc88516c8f70b02e22c412/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/bsr/13268/aeace/.conan/data/openldap/2.6.1/_/_/package/6a18f542bc4d2fbf45cd0af9871d32f51c16ee2e/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/bsr/13268/eccbc/.conan/data/openldap/2.6.1/_/_/package/435c67b1bf8b94754e1246b0c446e0d2b8c7865e/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 4f791be
openldap/2.6.1@#23d543de15a9646b74cd04cb41007797
post_package(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './home/conan/w/prod-v1/bsr/35083/cbfac/.conan/data/openldap/2.6.1/_/_/package/0788bcb0319bd74a60226fe8563d17fe7f7ab3aa/res/slapd.service' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libldap.so' links to system library 'resolv' but it is not in cpp_info.system_libs.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Nov 7, 2023

Hooks produced the following warnings for commit 7d5a9fe
openldap/2.6.1@#2f3a8f1e9667a58c5b03e0eee47241dd
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libldap.so' links to system library 'resolv' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/liblber.so' links to system library 'resolv' but it is not in cpp_info.system_libs.

@feliwir
Copy link

feliwir commented Dec 7, 2023

Any news on this one? I require it for our Conan 2.0 migration

@conan-center-bot conan-center-bot removed Failed Missing dependencies Build failed due missing dependencies in Conan Center labels Jan 20, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

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

Thank you! Only few changes and we good to go .

recipes/openldap/all/conanfile.py Outdated Show resolved Hide resolved
recipes/openldap/all/conanfile.py Outdated Show resolved Hide resolved
@uilianries uilianries self-assigned this Mar 26, 2024
@conan-center-bot

This comment has been minimized.

@ghost ghost mentioned this pull request Apr 14, 2024
3 tasks
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 3 (db13443da38ed5188d7991ba0d08bc95b2f76b71):

  • openldap/2.6.7:
    All packages built successfully! (All logs)

  • openldap/2.6.1:
    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 3 (db13443da38ed5188d7991ba0d08bc95b2f76b71):

  • openldap/2.6.7:
    All packages built successfully! (All logs)

  • openldap/2.6.1:
    All packages built successfully! (All logs)

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

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

LGTM

@conan-center-bot conan-center-bot merged commit 9bb3420 into conan-io:master Apr 19, 2024
18 checks passed
@uilianries
Copy link
Member

uilianries commented Apr 19, 2024

@valgur I did a small change to fix the previous error, by simplifying the libexec installation. The PR is merged now, thank you!

@valgur
Copy link
Contributor Author

valgur commented Apr 19, 2024

Thanks, @uilianries!

franramirez688 pushed a commit to toge/conan-center-index that referenced this pull request Apr 23, 2024
* openldap: migrate to Conan v2

* openldap: clean up package_folder

* openldap: bump cyrus-sasl

* openldap: add VirtualRunEnv for OpenSSL

* openldap: add v2.6.6, simplify patching

* openldap: project is C-only, not C++

* openldap: add resolv system dep

* openldap: downgrade to cyrus-sasl/2.1.27 to fix missing binary, maybe

* openldap: bump cyrus-sasl

* openldap: bump to v2.6.7

* openldap: apply PR suggestions

* openldap: add components with pkg_config_names

* Simplify slapd install for openldap

Signed-off-by: Uilian Ries <uilianries@gmail.com>

---------

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Uilian Ries <uilianries@gmail.com>
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.

5 participants