-
Notifications
You must be signed in to change notification settings - Fork 79
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
disabling branchwater
feature leads to Python test error: symbol 'revindex_free' not found in library … _lowlevel.so: undefined symbol: revindex_free
#3365
Comments
it's here: sourmash/src/core/src/ffi/index/revindex.rs Lines 134 to 137 in 6ae9cd3
and it looks like but I don't know enough about rustc, linking, and FFI to understand what we should be doing. |
I can open PRs to upgrade some of the dependencies to the newer versions found in Debian. Perhaps that will surface the issue and have positive side-effects. |
Hey Michael!
include/sourmash.h is built with all features, and your patch series removes the Anything we can do on our side to help with bringing back the
On the
I think it has to be
to avoid I've been trying to hold the MSRV pretty low to account for Debian not having the latest rustc compiler, I haven't considered how crate versions would interact. I'm assuming the Debian build system ignores
Oh, cool! Would something close to this be a good CI check on our side to see if the package still builds properly when we update dependencies/code in PRs? |
Hey Luiz!
ah,
Restoring the
Right. Debian only has a single version at a time for each Rust crate, unless we make extra effort. Currently only version 1.1.6 of the camino crate is packaged in Debian
The Debian packaging tools regenerate the Cargo.lock based upon the available crate version after applying our patches, yes.
A version of this, yes. The above recipe is based upon the tarball of Sourmash from https://github.com/sourmash-bio/sourmash/releases/tag/v4.8.11 → https://github.com/sourmash-bio/sourmash/archive/refs/tags/v4.8.11.tar.gz One could adjust the recipe to copy from the container build context into the working directory and then copy the |
can we do conditional compilation of the revindex_free fn based on the branchwater feature? |
That would be nice for Debian, until we get rocksdb in our archive as well. @luizirber Your hint worked, we no longer get the error! |
branchwater
feature leads to Python test error: symbol 'revindex_free' not found in library … _lowlevel.so: undefined symbol: revindex_free
Try out a newer version of maturin, in support of #3365
I've started this https://salsa.debian.org/rust-team/debcargo-conf/-/commit/019a36fb202e3005e8fe075b34c21bfeb0a41875 |
Hello,
While preparing a Debian package for Sourmash, we are getting the follow error:
The full log is at https://salsa.debian.org/med-team/sourmash/-/jobs/6498975
Here are the patches we had to apply to adjust the dependencies to match the version of Rust crates currently available in Debian's development version (
sid
a.k.a.unstable
): https://salsa.debian.org/med-team/sourmash/-/tree/master/debian/patches?ref_type=headsHere is a Dockerfile to reproduce the issue:
The text was updated successfully, but these errors were encountered: