Skip to content

Bump bzip2 to 0.6 for new rust backend#115

Merged
audy merged 2 commits intoonecodex:masterfrom
RagnarGrootKoerkamp:bump_bzip2
Apr 2, 2026
Merged

Bump bzip2 to 0.6 for new rust backend#115
audy merged 2 commits intoonecodex:masterfrom
RagnarGrootKoerkamp:bump_bzip2

Conversation

@RagnarGrootKoerkamp
Copy link
Copy Markdown
Contributor

I ran into some issues trying to run a binary compiled on my laptop on a server, and it turns out that this is because the server is missing the libbz2.so.1.0 file that is dynamically linked against.

The current bzip2 0.4 dependency tries to dynamically link against bz2, and falls back to building from source.
One fix would be to simply add the static feature (possibly only enabled via some feature like static-bzip2 on needletail), but the simpler fix is probably to just bump it to the current 0.6 as I did here, since it now uses the rust backend by default, which should just fix all these issues completely.

Note that some other crates/compression backends also have breaking updates, but it may not be desirable to bump those, because eg linking to lib-zma 0.3.13 and 0.4.5 at the same time is impossible.
This is not an issue for bzip2, because the new version does not link against anything anymore.

@audy audy merged commit e17e300 into onecodex:master Apr 2, 2026
34 checks passed
@RagnarGrootKoerkamp
Copy link
Copy Markdown
Contributor Author

RagnarGrootKoerkamp commented Apr 2, 2026

Thanks! Could you also do a crates.io release (in case this is not already pending)?

@audy
Copy link
Copy Markdown
Contributor

audy commented Apr 2, 2026

Thanks @RagnarGrootKoerkamp! Just pushed to crates.io

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 this pull request may close these issues.

2 participants