You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compile Docker image on Ubuntu64 for Home Assistant, but it always fails with an Out of Memory error when it tries to build the armv7 version.
#0 24.80 Downloading orjson-3.8.6.tar.gz (655 kB)
#0 25.86 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 655.1/655.1 kB 902.5 kB/s eta 0:00:00
#0 29.00 Installing build dependencies: started
#0 73.69 Installing build dependencies: finished with status 'done'
#0 73.81 Getting requirements to build wheel: started
#0 76.44 Getting requirements to build wheel: finished with status 'done'
#0 76.50 Preparing metadata (pyproject.toml): started
#0 596.0 Preparing metadata (pyproject.toml): still running...
#0 1078.8 Preparing metadata (pyproject.toml): still running...
#0 1527.7 Preparing metadata (pyproject.toml): still running...
#0 1528.0 Preparing metadata (pyproject.toml): finished with status 'error'
#0 1528.3 error: subprocess-exited-with-error
#0 1528.3
#0 1528.3 × Preparing metadata (pyproject.toml) did not run successfully.
#0 1528.3 │ exit code: 1
#0 1528.3 ╰─> [16 lines of output]
#0 1528.3 Updating crates.io index
#0 1528.3 warning: spurious network error (2 tries remaining): failed to mmap. Could not write data: Out of memory; class=Os (2)
#0 1528.3 warning: spurious network error (1 tries remaining): failed to mmap. Could not write data: Out of memory; class=Os (2)
#0 1528.3 error: failed to get `ahash` as a dependency of package `orjson v3.8.6 (/tmp/pip-install-d1umdm0e/orjson)`
#0 1528.3
#0 1528.3 Caused by:
#0 1528.3 failed to fetch `https://github.com/rust-lang/crates.io-index`
#0 1528.3
#0 1528.3 Caused by:
#0 1528.3 failed to mmap. Could not write data: Out of memory; class=Os (2)
#0 1528.3 💥 maturin failed
#0 1528.3 Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
#0 1528.3 Caused by: `cargo metadata` exited with an error:
#0 1528.3 Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-6jp59nkn', '--interpreter', '/usr/bin/python3']' returned non-zero exit status 1.
#0 1528.3 Checking for Rust toolchain....
#0 1528.3 Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-6jp59nkn --interpreter /usr/bin/python3`
#0 1528.3 [end of output]
#0 1528.3
#0 1528.3 note: This error originates from a subprocess, and is likely not a problem with pip.
#0 1528.4 error: metadata-generation-failed
#0 1528.4
#0 1528.4 × Encountered error while generating package metadata.
#0 1528.4 ╰─> orjson
#0 1528.4
#0 1528.4 note: This is an issue with the package mentioned above, not pip.
#0 1528.4 hint: See above for details.
The text was updated successfully, but these errors were encountered:
I'm trying to compile Docker image on Ubuntu64 for Home Assistant, but it always fails with an Out of Memory error when it tries to build the armv7 version.
The text was updated successfully, but these errors were encountered: