Skip to content
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

Provide Ubuntu 22.04 (jammy) builds #112

Closed
michallepicki opened this issue May 5, 2022 · 4 comments · Fixed by #114
Closed

Provide Ubuntu 22.04 (jammy) builds #112

michallepicki opened this issue May 5, 2022 · 4 comments · Fixed by #114

Comments

@michallepicki
Copy link
Contributor

I have confirmed in a fresh lxc Ubuntu 22.04 (jammy) container that the apt dependencies listed in 20.04 dockerfile are also working for building Erlang OTP-24.3.3 (without jinterface and wx webview support I think).

I followed steps from build_otp_ubuntu.sh, and also successfully extracted the resulting archive with minimal install, and was able to compile Elixir and run iex

@ericmj
Copy link
Member

ericmj commented May 16, 2022

Can you open a PR that adds Ubuntu 22.04?

@michallepicki
Copy link
Contributor Author

👍🏻 I can work on it sometime this week, should be mainly copy&paste

@michallepicki
Copy link
Contributor Author

michallepicki commented May 18, 2022

The big change in Ubuntu 22.04 is that it uses OpenSSL 3.0 by default. I was able to compile Erlang/OTP 24.2 (not earlier ones) without extra changes to the Ubuntu 22.04 system (see notes for crypto in 24.2). This support is experimental with limited crypto API support. This was improved in Erlang/OTP 24.3 crypto and today's Erlang/OTP 25.0 crypto (but it's still without custom engines support).

For Ubuntu 22.04 docker builds, I think (in theory) we could install OpenSSL 1.1 from source, in a custom location, and pass it when building erlang with the --with-ssl=PATH option. But I don't know if it's feasible for non-docker ubuntu builds (I think it's linked by Erlang/OTP dynamically).

To sum up, I think it makes sense to support only Erlang/OTP 24.2+, what do you think? Or should I look into building OpenSSL 1.1?

@ericmj
Copy link
Member

ericmj commented May 19, 2022

Thanks for investigating. I agree, I don't want to support building packages from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants