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
Freebsd 13.2 ./install.sh failure #349
Comments
I've tried the basics on 13.2 including replication. I can also build the crate in the root dir of chia_rs and Not sure why it is choking on the bls fuzzer. Others can look at it during the week. |
Alright, I think the issue has been identified - We have prebuilt wheels for various platforms on PyPI, but FreeBSD is not one of them: https://pypi.org/project/chia-rs/0.2.13/#files Since there is no prebuilt wheel for FreeBSD, it tries to compile it from source. Which would be fine, except that the |
This can be worked around on BSD by making your own wheel from the chia_rs repository. If you |
@hoffmang9 thanks before your comment I tried but didn't realize I need to be in the wheel directory. Built and installed chia_rs 0.2.13 successfully. clvm_tools_rs didn't seem to be in pypi so I built and installed that also and now have chia 2.1.3 up and running. I'll update my install steps and probably continue to be a bother for freebsd support ;) |
We will also fix this as it's a general problem for anyone who is trying to build without a binary wheel. |
For others coming along behind me that might be running into this. I am trying to upgrade Chia in a Truenas 13.2 jail and was running into errors with clvm_rs failing during the install.sh execution. I tried the suggestions of git clone on the clvm_rs and clvm_tools_rs repos. Unfortunately, I was not paying attention to the version numbers and took the "latest" for both of those packages. The install.sh dependencies are looking specifically for clvm_rs=0.6.1 So, from within your /chia-blockchain folder and with your venv activated, you'd do
Not sure if this is necessary or not but I did anyway, build the wheel with maturin.
Repeat the same steps for clvm_tools_rs and reattempt your install command again. Make sure you're in your venv and it should work.
|
Cloned the latest chia as of yesterday into my jail on freebsd 13.2, created my virtual environment and executed the bash ./install.sh script. Got this error. I did a little poking around to see if i could just install via pip or build manually but didn't have any luck,
`Collecting chia-rs==0.2.13 (from chia-blockchain==2.1.2)
Using cached chia_rs-0.2.13.tar.gz (299 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
💥 maturin failed
Caused by: Cargo metadata failed. Does your crate compile with
cargo build
?Caused by:
cargo metadata
exited with an error: error: failed to load manifest for workspace member/tmp/pip-install-r8vvmcgg/chia-rs_93784bac3d044b36b6413a2c3ed8292d/chia-bls/fuzz
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.`
The text was updated successfully, but these errors were encountered: