Closed suharelli closed 1 year ago
I'm not sure I understand: this fix doesn't enable installing PhpStorm with OpenSSL 3.
emerge: there are no binary packages to satisfy "<dev-libs/openssl-3.0".
(dependency required by "dev-util/phpstorm-2023.2.3::lkraav" [binary])
(dependency required by "phpstorm" [argument])
I can't find any information that says IDEA is not compatible with OpenSSL 3, do y'all know what the situation is?
Portage has a list of IDEA packages in the tree (CLion, PyCharm, etc) that have omitted any SSL RDEPEND
atoms altogether. Is this the right move?
I was also researching it, and didn't see anything. but if you run lld /opt/phpstorm-2023.2.3/jbr/lib/jcef_helper, libcef.so and libjcef.so you will see that it uses openssl 1.1
libssl.so.1.1 => /usr/lib64/libssl.so.1.1 (0x00007f7156cd0000)
If you have, install the latest version of phpstorm 2023.2.3 and openssl 3.x run:
revdep-rebuild -v -i
to check that there are no broken libraries At the moment I still use openssl 1.1 because I have a project in PHP 5.6 and 7.4 active As a solution, if you use the system java, you can eliminate java included as idea-community, but that eliminates improvements such as fonts (https://www.jetbrains.com/lp/mono/) and some customizations, but I have not found the post about what changed about the java baseline
I was also researching it, and didn't see anything. but if you run lld /opt/phpstorm-2023.2.3/jbr/lib/jcef_helper, libcef.so and libjcef.so you will see that it uses openssl 1.1
libssl.so.1.1 => /usr/lib64/libssl.so.1.1 (0x00007f7156cd0000)
Interesting, I just did this, and got empty results, here they don't seem to be linking with SSL at all.
[leho:lib]└2 $ ldd jcef_helper | grep ssl
[leho:lib]└2 $ ldd /opt/phpstorm-2023.2.3/jbr/lib/libcef.so | grep ssl
ldd: warning: you do not have execution permission for `/opt/phpstorm-2023.2.3/jbr/lib/libcef.so'
[leho:lib]└2 1 $ ldd /opt/phpstorm-2023.2.3/jbr/lib/libjcef.so | grep ssl
ldd: warning: you do not have execution permission for `/opt/phpstorm-2023.2.3/jbr/lib/libjcef.so'
If you have, install the latest version of phpstorm 2023.2.3 and openssl 3.x run:
revdep-rebuild -v -i
[leho:lib]└2 $ revdep-rebuild -v -i
* This is the new python coded version
* Please report any bugs found using it.
* The original revdep-rebuild script is installed as revdep-rebuild.sh
* Please file bugs at: https://bugs.gentoo.org/
* You are not root, adding --pretend to portage options
* Collecting system binaries and libraries
* Collecting dynamic linking information
* Scanning files
* Checking dynamic linking consistency
Your system is consistent
Seems all good to me.
to check that there are no broken libraries At the moment I still use openssl 1.1 because I have a project in PHP 5.6 and 7.4 active As a solution, if you use the system java, you can eliminate java included as idea-community, but that eliminates improvements such as fonts (https://www.jetbrains.com/lp/mono/) and some customizations, but I have not found the post about what changed about the java baseline
Yes, indeed, I also have OpenSSL 1.1 still installed for PHP 7.4.
But googling for this stuff yields absolutely 0 results, no matter what set of various keywords I try.
I'm not sure IDEA really requires OpenSSL at all, even with JBR.
I found a solution to move to PHP 5.4 and 7.4 with OPENSSL 3.x https://github.com/internethering/hering-overlay If possible this weekend I'll try it
I have included php 5.6 and 7.4 support for openssl 3.x, but I haven't fully tested it yet
This is Java included in all tools by jetbrains
https://github.com/JetBrains/JetBrainsRuntime
An ebuild could be added for this java customization separately to be used by all Jetbrains tools
I built PHP 7.4 with OpenSSL 3 patch you pointed out, so now I have no OpenSSL 1 traces on the systems. Everything seems to continue to work fine, PhpStorm default JBR boots fine. Looks like great success, this was blocking my general system update routines for weeks already, and I don't know if I would've thought to search for OpenSSL 3 patches for EOL PHP versions :raised_hands:
I'm glad everything works well, I also have quite a few servers with old software I only need the PHP 7.3 version because I have some Prestashop that do not work correctly with 7.4 As soon as I have some time I prepare the ebuild
(dev-libs/openssl-3.0.9-r2:0/3::gentoo, ebuild scheduled for merge) USE="asm -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -verify-sig -weak-ssl-ciphers" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" conflicts with dev-libs/openssl:0/1.1= required by (dev-util/phpstorm-2022.3.3:0/0::inode64-overlay, installed) USE="" ABI_X86="(64)"