-
-
Notifications
You must be signed in to change notification settings - Fork 272
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
error: could not compile bitflags
#1473
Comments
Sorry, what is
Make sure you have enough memory and free disk space. |
I have 35GB free, as remote host shared. LNX = Linux like WIN = WIndows. |
I'm not sure, it's a known issue that cargo uses lots of disk space when building: rust-lang/cargo#7150 Not much we can do here other than #1337. |
Bug Description
As on console log.
Your maturin version (
maturin --version
)0.14.12
Your Python version (
python -V
)Python 3.11.1
Your pip version (
pip -V
)23
What bindings you're using
None
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
I'm installing via pip on LNX,
'''
Collecting maturin
Downloading maturin-0.14.12.tar.gz (172 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 172.3/172.3 kB 3.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: maturin
Building wheel for maturin (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for maturin (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [293 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.freebsd-13.0-RELEASE-p12-amd64-cpython-311
creating build/lib.freebsd-13.0-RELEASE-p12-amd64-cpython-311/maturin
copying maturin/init.py -> build/lib.freebsd-13.0-RELEASE-p12-amd64-cpython-311/maturin
copying maturin/import_hook.py -> build/lib.freebsd-13.0-RELEASE-p12-amd64-cpython-311/maturin
copying maturin/main.py -> build/lib.freebsd-13.0-RELEASE-p12-amd64-cpython-311/maturin
running egg_info
creating maturin.egg-info
writing maturin.egg-info/PKG-INFO
writing dependency_links to maturin.egg-info/dependency_links.txt
writing requirements to maturin.egg-info/requires.txt
writing top-level names to maturin.egg-info/top_level.txt
writing manifest file 'maturin.egg-info/SOURCES.txt'
reading manifest file 'maturin.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'maturin.egg-info/SOURCES.txt'
running build_ext
running build_rust
cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --locked
Updating crates.io index
Downloading crates ...
'''
The log that showing problems:
lgo_maturin.txt
The text was updated successfully, but these errors were encountered: