Holdapp / bitrise-step-jira-build

MIT License
3 stars 4 forks source link

Step execution fails on Ubuntu due to outdated OpenSSL #11

Closed ikurek closed 2 years ago

ikurek commented 2 years ago

As mentioned in https://stackoverflow.com/questions/70980763/bitrise-update-jira-issues-with-build-number-not-working, the step fails every time on Bitrise Ubuntu machines. The failure is caused by lib2git dependency on libssl.so.1.0.0 and libcrypto.so.1.0.0 which are not available on Bitrise Ubuntu 20.04 machines, since they ship with OpenSSL 1.1.1. Here's the warning before step execution fails:

/usr/bin/ld: warning: libssl.so.1.0.0, needed by /usr/local/lib/libgit2.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcrypto.so.1.0.0, needed by /usr/local/lib/libgit2.so, not found (try using -rpath or -rpath-link)

I think https://github.com/libgit2/libgit2/pull/6258 can be a valid solution, since it seems to enable support for dynamically provides OpenSSL dependency, and it's shipped with libgit2 version 1.5