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

Change of SONAME in a stable patch release #7088

Open
jirutka opened this issue Dec 21, 2023 · 4 comments
Open

Change of SONAME in a stable patch release #7088

jirutka opened this issue Dec 21, 2023 · 4 comments
Assignees

Comments

@jirutka
Copy link

jirutka commented Dec 21, 2023

Version

5.6.6

Description

Breaking ABI compatibility / changing SONAME in a patch release (5.6.4 -> 5.6.6) is really not cool.

-usr/lib/libwolfssl.so.41.0.0:    SONAME               libwolfssl.so.41
+usr/lib/libwolfssl.so.42.0.0:    SONAME               libwolfssl.so.42
@anhu anhu self-assigned this Dec 21, 2023
@anhu
Copy link
Member

anhu commented Dec 21, 2023

Hello @jirutka ,

Thank you for reaching out to us. We do guarantee ABI compatibility for those function marked WOLFSSL_ABI . We do our best to stay backwards compatible and there is active discussion on a plan for your concerns internally.

@anhu anhu assigned JacobBarthelmeh and unassigned anhu Dec 21, 2023
@JacobBarthelmeh
Copy link
Contributor

Related to #6928

Hi @jirutka, can you provide us some details about your use case with wolfSSL and how ABI would assist with it?

@jirutka
Copy link
Author

jirutka commented Dec 25, 2023

I’m the maintainer of the wolfssl package in Alpine Linux. It’s in the community repository, so it’s in the stable releases (two a year) and we are committed to supporting it at least until the next stable release – security fixes without breaking backwards compatibility.

The change of SONAME is considered a breaking change (binaries linked against it must be rebuilt). Doing it in a patch release is against the semantic versioning and generally accepted best practices.

@space88man
Copy link

space88man commented Jan 17, 2024

+1 for soname stability — packaging for Fedora, ELx a hypothetical wolfssl-5.6.4 would provide libwolfssl.so.41 and wolfssl-5.6.6 would provide libwolfssl.so.42.

You could not "dnf upgrade" from wolfssl-5.6.4 to wolfssl-5.6.6.

Debian has libwolfssl24, libwolfssl35, libwolfssl42 etc — this is not sustainable.

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

No branches or pull requests

4 participants