On Wed, Jul 20, 2022 at 4:04 PM Vít Ondruch vondruch@redhat.com wrote: <snip>
IOW this is OpenSSL 3.x issue. There is no simple way around unless you want
Backport the OpenSSL 3.x patches from Ruby 3.0
Use some other workaround such as including upstream version of
OpenSSL gem.
I'd suggest against building Ruby 3.0 on F36+
Oh thanks. I missed the part. How about using openssl1.1-devel instead of openssl-devel in only Ruby 2.7 (stream-ruby-2.7), 2.6 (stream-ruby-2.6) and 2.5 (ruby-2.5)? I don't see any problems in this way.
The openssl1.1 RPM is available on F34~F37(rawhide). https://src.fedoraproject.org/rpms/openssl1.1 https://koji.fedoraproject.org/koji/packageinfo?packageID=32363
## stream-ruby-2.6
./configure: line 4122: syntax error near unexpected token `fi' ./configure: line 4122: `fi'
## ruby-2.5
./configure: line 4101: syntax error near unexpected token `fi' ./configure: line 4101: `fi'
My guess would be some autotools compatibility or some wrongly applied patch? I know that at times, we need to change the autotools version. But this was typically done just in RHEL AFAIR.
Hmm, I didn't find any patch on RHEL. I may check more about this issue when I have time.