Closed alec-deason closed 2 months ago
Thanks for reporting this, @alec-deason. It looks like a recent Rust nightly
update has broken the build. The warnings are easy enough to fix, but the unresolved symbols will require some digging. I'll look into it and post a PR once I've figured it out.
BTW, building the top-level project using nightly
isn't really supported, since it can include experimental (and possibly broken) compiler warnings that might not actually make it into a stable release. The only part that needs nightly
is the libcomponentize_py_runtime.so
build, and the build.rs script will take care of that automatically. In other words: you should build componentize-py
using a stable Rust release and also have nightly
installed so the build script can use it where it's necessary.
That said, you'll hit the unresolved symbols issue either way, so this is definitely a real issue that needs fixing.
I'm trying to build the repo from source following the instructions in CONTRIBUTING.md and it works, including running
cargo run -- --help
and also thebindings
command but when I try to runcomponentize
I get the following error:When I build the package with maturin and install it I see the same error but the version installed using pip works in the same virtualenv.
I'm on Arch linux with Python 3.11.8 and the latest nightly for rust stuff.