-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix(openssl): remove renaming of debug files within the recipe #20999
fix(openssl): remove renaming of debug files within the recipe #20999
Conversation
I detected other pull requests that are modifying openssl/3.x.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. |
Was there not already a PR for this? Just for reviewers, be aware that several recipes have fragile workaround for this d postfix introduced by conan, and these recipes may break if it's removed in openssl recipe, like librdkafka since a recent PR: #17894 (comment) |
There was #10939 but it never got anywhere and the recipe had changed to much. So this is the current version superseding the previous one. |
This comment has been minimized.
This comment has been minimized.
@Sil3ntStorm Could you please explain the case that you are trying to fix and is blocking/breaking you? I'm not confident of changing OpenSSL in case there is no real blocker involved, this recipe affects many others packages in Conan Center. |
I detected other pull requests that are modifying openssl/1.x.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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In theory we never break end-consumers because everyone is using revisions anyway 😅
And if they don't use revisions then they get breaks all the time from CCI.
This is a change of OpenSSL that we should never have added. It changes the outcome from what upstream intended and the current state might actual be broken for some consumers.
I would rather fix those theoretical cases than avoiding some fixing of other recipes.
I did a quick search for libssl
and libcrypto
in all recipes, looked at the results and and it looks like only librdkafka
needs updating
Indeed. this PR is likely to have issues for Conan 1.x users that do not have revisions enabled. If they don't have revisions enabled and already have Debug binaries for this library, the package info() will be wrong and they won't be able to link. Even with revisions enabled, downstream consumers are only rebuilt if they use the static library, but won't be rebuilt if they depend on the shared variant. Changing the name of the library that gets embedded in the downstream consumers (the name of the
I fully agree. We are going to be more careful and reject any changes like this in future recipes. I've noticed some contributors renaming libraries because it then makes for a "cleaner" implementation of the
Agree ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with the changes, but this may actually cause breakages - we are evaluating the risk before merging this
Update: have verified that the DLL names are the same regardless of the name of the import library (.lib). So any issues with revisions would be limited to Conan 1.x users who update the recipe without rebuilding the package, if such package exists. |
Conan v1 pipeline ✔️All green in build 1 (
Conan v2 pipeline ✔️
All green in build 1 (
|
…d postfix anymore after conan-io#20999
Specify library name and version: openssl/*
Removes the "d" suffix which is only ever introduced in conan, without there being any need in a conan environment as different builds are always in different directories.