-
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
(#3476) OpenSSL: change default openssldir value on Linux #4742
Conversation
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.
LGTM!
please add resolves in front of the issue so that it closes automatically |
An unexpected error happened and has been reported. Help is on its way! 🏇 |
Some configurations of 'openssl/1.0.2s' failed in build 3 (
|
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.
Great 👍
We had to change the openssldir manually back in days to make it work after conan implementation.
That's annoying
|
Yes, I'm not sure how this could be solved. The problem only shows up with OpenSSL v1.0.2x though, all the v1.1+ don't seem to be affected. Would it be OK to leave the old default |
CCI stops as soon as it sees a failure. You can change the order to test that theory but it looks like a permission problem in the build image... and if files are installed there then they can not be installed correctly via Conan is it just a mkdir call that in the scripts or does it really try to install files? |
d1d31e5
if package tries install files to |
All green in build 4 (
|
I tried a few different versions on a test machine with a user without write access to "/etc". Setting |
@@ -436,9 +436,14 @@ def _get_env_build(self): | |||
self._env_build = AutoToolsBuildEnvironment(self) | |||
return self._env_build | |||
|
|||
def _get_default_openssl_dir(self): | |||
if self.settings.os == "Linux" and self._full_version >= "1.1.0": |
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.
what about MacOSX, FreeBSD, Android, do they need the same?
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.
Very good question. Since I have a mac I just installed Conan there and tried a small test project with OpenSSL 1.1.1i and I have seen no issue. So I don't think we need to update the default "openssldir" variable there.
For FreeBSD and Android, I don't know.
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.
This certainly fixes Linux, no other platform is affect so I think we can continue with merging
@rdeterre small suggestion for the future - please, do not use push-force, it makes it a bit more difficult to review the code and see the changes. |
Failure in build 6 (
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. |
Thanks for the comment for push-force, I'll stop :) |
You'll need to retrigger CI, close the pr wait 10s and then re-open it 🔁 |
All green in build 8 (
|
Specify library name and version: openssl/1.x.x
conan-center hook activated.
This patch modifies the default value of the "openssldir" option on Linux to "/etc/ssl" to solve issue #3476
resolves #3476