Skip to content

[Bug]: uv - Failed building wheel for homeassistant #22422

@Thomas-CHOCHOY

Description

@Thomas-CHOCHOY

Problem description

Good morning,
I would like to install homeassistant core on my Android tablet. To do this I use termux, but when I execute pip install homeassistant, the console returns: ERROR: Failed building wheel for uv

What steps will reproduce the bug?

I get the error when executing : pip install homeassistant
Here is the error received :

(hass) ~ $ pip install homeassistant
Collecting homeassistant
  Using cached homeassistant-2024.11.3-py3-none-any.whl.metadata (4.5 kB)
Collecting aiodns==3.2.0 (from homeassistant)
  Using cached aiodns-3.2.0-py3-none-any.whl.metadata (4.0 kB)
Collecting aiohasupervisor==0.2.1 (from homeassistant)
  Using cached aiohasupervisor-0.2.1-py3-none-any.whl.metadata (5.1 kB)
Collecting aiohttp==3.10.11 (from homeassistant)
  Using cached aiohttp-3.10.11-cp312-cp312-linux_armv8l.whl
Collecting aiohttp-cors==0.7.0 (from homeassistant)
  Using cached aiohttp_cors-0.7.0-py3-none-any.whl.metadata (20 kB)
Collecting aiohttp-fast-zlib==0.1.1 (from homeassistant)
  Using cached aiohttp_fast_zlib-0.1.1-py3-none-any.whl.metadata (5.6 kB)
Collecting aiozoneinfo==0.2.1 (from homeassistant)
  Using cached aiozoneinfo-0.2.1-py3-none-any.whl.metadata (5.5 kB)
Collecting astral==2.2 (from homeassistant)
  Using cached astral-2.2-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting async-interrupt==1.2.0 (from homeassistant)
  Using cached async_interrupt-1.2.0-py3-none-any.whl.metadata (4.9 kB)
Collecting attrs==24.2.0 (from homeassistant)
  Using cached attrs-24.2.0-py3-none-any.whl.metadata (11 kB)
Collecting atomicwrites-homeassistant==1.4.1 (from homeassistant)
  Using cached atomicwrites_homeassistant-1.4.1-py2.py3-none-any.whl.metadata (6.0 kB)
Collecting awesomeversion==24.6.0 (from homeassistant)
  Using cached awesomeversion-24.6.0-py3-none-any.whl.metadata (9.0 kB)
Collecting bcrypt==4.2.0 (from homeassistant)
  Using cached bcrypt-4.2.0-cp312-cp312-linux_armv8l.whl
Collecting certifi>=2021.5.30 (from homeassistant)
  Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting ciso8601==2.3.1 (from homeassistant)
  Using cached ciso8601-2.3.1-cp312-cp312-linux_armv8l.whl
Collecting fnv-hash-fast==1.0.2 (from homeassistant)
  Using cached fnv_hash_fast-1.0.2-cp312-cp312-linux_armv8l.whl
Collecting hass-nabucasa==0.83.0 (from homeassistant)
  Using cached hass_nabucasa-0.83.0-py3-none-any.whl.metadata (1.9 kB)
Collecting httpx==0.27.2 (from homeassistant)
  Using cached httpx-0.27.2-py3-none-any.whl.metadata (7.1 kB)
Collecting home-assistant-bluetooth==1.13.0 (from homeassistant)
  Using cached home_assistant_bluetooth-1.13.0-py3-none-any.whl.metadata (5.4 kB)
Collecting ifaddr==0.2.0 (from homeassistant)
  Using cached ifaddr-0.2.0-py3-none-any.whl.metadata (4.9 kB)
Collecting Jinja2==3.1.4 (from homeassistant)
  Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting lru-dict==1.3.0 (from homeassistant)
  Using cached lru_dict-1.3.0-cp312-cp312-linux_armv8l.whl
Collecting PyJWT==2.9.0 (from homeassistant)
  Using cached PyJWT-2.9.0-py3-none-any.whl.metadata (3.0 kB)
Collecting cryptography==43.0.1 (from homeassistant)
  Using cached cryptography-43.0.1-cp37-abi3-linux_armv8l.whl
Collecting Pillow==10.4.0 (from homeassistant)
  Using cached pillow-10.4.0-cp312-cp312-linux_armv8l.whl
Collecting propcache==0.2.0 (from homeassistant)
  Using cached propcache-0.2.0-py3-none-any.whl.metadata (7.7 kB)
Collecting pyOpenSSL==24.2.1 (from homeassistant)
  Using cached pyOpenSSL-24.2.1-py3-none-any.whl.metadata (13 kB)
Collecting orjson==3.10.10 (from homeassistant)
  Using cached orjson-3.10.10-cp312-cp312-linux_armv8l.whl
Collecting packaging>=23.1 (from homeassistant)
  Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
Collecting psutil-home-assistant==0.0.1 (from homeassistant)
  Using cached psutil_home_assistant-0.0.1-py3-none-any.whl.metadata (882 bytes)
Collecting python-slugify==8.0.4 (from homeassistant)
  Using cached python_slugify-8.0.4-py2.py3-none-any.whl.metadata (8.5 kB)
Collecting PyYAML==6.0.2 (from homeassistant)
  Using cached PyYAML-6.0.2-cp312-cp312-linux_armv8l.whl
Collecting requests==2.32.3 (from homeassistant)
  Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting SQLAlchemy==2.0.31 (from homeassistant)
  Using cached SQLAlchemy-2.0.31-py3-none-any.whl.metadata (9.6 kB)
Collecting typing-extensions<5.0,>=4.12.2 (from homeassistant)
  Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting ulid-transform==1.0.2 (from homeassistant)
  Using cached ulid_transform-1.0.2-cp312-cp312-linux_armv8l.whl
Collecting urllib3<2,>=1.26.5 (from homeassistant)
  Using cached urllib3-1.26.20-py2.py3-none-any.whl.metadata (50 kB)
Collecting uv==0.4.28 (from homeassistant)
  Using cached uv-0.4.28.tar.gz (2.1 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting voluptuous==0.15.2 (from homeassistant)
  Using cached voluptuous-0.15.2-py3-none-any.whl.metadata (20 kB)
Collecting voluptuous-serialize==2.6.0 (from homeassistant)
  Using cached voluptuous_serialize-2.6.0-py3-none-any.whl.metadata (316 bytes)
Collecting voluptuous-openapi==0.0.5 (from homeassistant)
  Using cached voluptuous_openapi-0.0.5-py3-none-any.whl.metadata (325 bytes)
Collecting yarl==1.17.1 (from homeassistant)
  Using cached yarl-1.17.1-py3-none-any.whl.metadata (64 kB)
Collecting webrtc-models==0.2.0 (from homeassistant)
  Using cached webrtc_models-0.2.0-py3-none-any.whl.metadata (2.9 kB)
Collecting pycares>=4.0.0 (from aiodns==3.2.0->homeassistant)
  Using cached pycares-4.5.0-cp312-cp312-linux_armv8l.whl
Collecting mashumaro<4.0,>=3.11 (from aiohasupervisor==0.2.1->homeassistant)
  Using cached mashumaro-3.15-py3-none-any.whl.metadata (117 kB)
Collecting aiohappyeyeballs>=2.3.0 (from aiohttp==3.10.11->homeassistant)
  Using cached aiohappyeyeballs-2.4.3-py3-none-any.whl.metadata (6.1 kB)
Collecting aiosignal>=1.1.2 (from aiohttp==3.10.11->homeassistant)
  Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Collecting frozenlist>=1.1.1 (from aiohttp==3.10.11->homeassistant)
  Using cached frozenlist-1.5.0-py3-none-any.whl.metadata (13 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp==3.10.11->homeassistant)
  Using cached multidict-6.1.0-py3-none-any.whl.metadata (5.0 kB)
Collecting tzdata>=2024.1 (from aiozoneinfo==0.2.1->homeassistant)
  Using cached tzdata-2024.2-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting pytz (from astral==2.2->homeassistant)
  Using cached pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting cffi>=1.12 (from cryptography==43.0.1->homeassistant)
  Using cached cffi-1.17.1-cp312-cp312-linux_armv8l.whl
Collecting fnvhash<0.2.0,>=0.1.0 (from fnv-hash-fast==1.0.2->homeassistant)
  Using cached fnvhash-0.1.0-py3-none-any.whl
Collecting acme==2.11.0 (from hass-nabucasa==0.83.0->homeassistant)
  Using cached acme-2.11.0-py3-none-any.whl.metadata (1.4 kB)
Collecting pycognito==2024.5.1 (from hass-nabucasa==0.83.0->homeassistant)
  Using cached pycognito-2024.5.1-py3-none-any.whl.metadata (24 kB)
Collecting snitun==0.39.1 (from hass-nabucasa==0.83.0->homeassistant)
  Using cached snitun-0.39.1-py3-none-any.whl.metadata (4.5 kB)
Collecting habluetooth>=3.0 (from home-assistant-bluetooth==1.13.0->homeassistant)
  Using cached habluetooth-3.6.0-cp312-cp312-linux_armv8l.whl
Collecting anyio (from httpx==0.27.2->homeassistant)
  Using cached anyio-4.6.2.post1-py3-none-any.whl.metadata (4.7 kB)
Collecting httpcore==1.* (from httpx==0.27.2->homeassistant)
  Using cached httpcore-1.0.7-py3-none-any.whl.metadata (21 kB)
Collecting idna (from httpx==0.27.2->homeassistant)
  Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting sniffio (from httpx==0.27.2->homeassistant)
  Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Collecting MarkupSafe>=2.0 (from Jinja2==3.1.4->homeassistant)
  Using cached MarkupSafe-3.0.2-cp312-cp312-linux_armv8l.whl
Collecting psutil (from psutil-home-assistant==0.0.1->homeassistant)
  Using cached psutil-6.1.0-cp36-abi3-linux_armv8l.whl
Collecting text-unidecode>=1.3 (from python-slugify==8.0.4->homeassistant)
  Using cached text_unidecode-1.3-py2.py3-none-any.whl.metadata (2.4 kB)
Collecting charset-normalizer<4,>=2 (from requests==2.32.3->homeassistant)
  Using cached charset_normalizer-3.4.0-py3-none-any.whl.metadata (34 kB)
Collecting josepy>=1.13.0 (from acme==2.11.0->hass-nabucasa==0.83.0->homeassistant)
  Using cached josepy-1.14.0-py3-none-any.whl.metadata (1.8 kB)
Collecting pyrfc3339 (from acme==2.11.0->hass-nabucasa==0.83.0->homeassistant)
  Using cached pyRFC3339-2.0.1-py3-none-any.whl.metadata (2.1 kB)
Collecting setuptools>=41.6.0 (from acme==2.11.0->hass-nabucasa==0.83.0->homeassistant)
  Using cached setuptools-75.6.0-py3-none-any.whl.metadata (6.7 kB)
Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx==0.27.2->homeassistant)
  Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
Collecting boto3>=1.10.49 (from pycognito==2024.5.1->hass-nabucasa==0.83.0->homeassistant)
  Using cached boto3-1.35.71-py3-none-any.whl.metadata (6.7 kB)
Collecting envs>=1.3 (from pycognito==2024.5.1->hass-nabucasa==0.83.0->homeassistant)
  Using cached envs-1.4-py3-none-any.whl.metadata (842 bytes)
Collecting async-timeout>=3.0.1 (from snitun==0.39.1->hass-nabucasa==0.83.0->homeassistant)
  Using cached async_timeout-5.0.1-py3-none-any.whl.metadata (5.1 kB)
Collecting pycparser (from cffi>=1.12->cryptography==43.0.1->homeassistant)
  Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Collecting bleak>=0.21.1 (from habluetooth>=3.0->home-assistant-bluetooth==1.13.0->homeassistant)
  Using cached bleak-0.22.3-py3-none-any.whl.metadata (5.4 kB)
Collecting bleak-retry-connector>=3.3.0 (from habluetooth>=3.0->home-assistant-bluetooth==1.13.0->homeassistant)
  Using cached bleak_retry_connector-3.6.0-py3-none-any.whl.metadata (5.1 kB)
Collecting bluetooth-adapters>=0.16.1 (from habluetooth>=3.0->home-assistant-bluetooth==1.13.0->homeassistant)
  Using cached bluetooth_adapters-0.20.2-py3-none-any.whl.metadata (5.3 kB)
Collecting bluetooth-auto-recovery>=1.2.3 (from habluetooth>=3.0->home-assistant-bluetooth==1.13.0->homeassistant)
  Using cached bluetooth_auto_recovery-1.4.2-py3-none-any.whl.metadata (5.5 kB)
Collecting bluetooth-data-tools>=1.16.0 (from habluetooth>=3.0->home-assistant-bluetooth==1.13.0->homeassistant)
  Using cached bluetooth_data_tools-1.20.0-cp312-cp312-linux_armv8l.whl
Collecting dbus-fast<3,>=1.83.0 (from bleak>=0.21.1->habluetooth>=3.0->home-assistant-bluetooth==1.13.0->homeassistant)
  Using cached dbus_fast-2.24.4-cp312-cp312-linux_armv8l.whl
Collecting aiooui>=0.1.1 (from bluetooth-adapters>=0.16.1->habluetooth>=3.0->home-assistant-bluetooth==1.13.0->homeassistant)
  Using cached aiooui-0.1.7-py3-none-any.whl.metadata (3.8 kB)
Collecting uart-devices>=0.1.0 (from bluetooth-adapters>=0.16.1->habluetooth>=3.0->home-assistant-bluetooth==1.13.0->homeassistant)
  Using cached uart_devices-0.1.0-py3-none-any.whl.metadata (4.9 kB)
Collecting usb-devices>=0.4.5 (from bluetooth-adapters>=0.16.1->habluetooth>=3.0->home-assistant-bluetooth==1.13.0->homeassistant)
  Using cached usb_devices-0.4.5-py3-none-any.whl.metadata (5.3 kB)
Collecting PyRIC>=0.1.6.3 (from bluetooth-auto-recovery>=1.2.3->habluetooth>=3.0->home-assistant-bluetooth==1.13.0->homeassistant)
  Using cached PyRIC-0.1.6.3-py2.py3-none-any.whl
Collecting btsocket>=0.2.0 (from bluetooth-auto-recovery>=1.2.3->habluetooth>=3.0->home-assistant-bluetooth==1.13.0->homeassistant)
  Using cached btsocket-0.3.0-py2.py3-none-any.whl.metadata (7.0 kB)
Collecting botocore<1.36.0,>=1.35.71 (from boto3>=1.10.49->pycognito==2024.5.1->hass-nabucasa==0.83.0->homeassistant)
  Using cached botocore-1.35.71-py3-none-any.whl.metadata (5.7 kB)
Collecting jmespath<2.0.0,>=0.7.1 (from boto3>=1.10.49->pycognito==2024.5.1->hass-nabucasa==0.83.0->homeassistant)
  Using cached jmespath-1.0.1-py3-none-any.whl.metadata (7.6 kB)
Collecting s3transfer<0.11.0,>=0.10.0 (from boto3>=1.10.49->pycognito==2024.5.1->hass-nabucasa==0.83.0->homeassistant)
  Using cached s3transfer-0.10.4-py3-none-any.whl.metadata (1.7 kB)
Collecting python-dateutil<3.0.0,>=2.1 (from botocore<1.36.0,>=1.35.71->boto3>=1.10.49->pycognito==2024.5.1->hass-nabucasa==0.83.0->homeassistant)
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.1->botocore<1.36.0,>=1.35.71->boto3>=1.10.49->pycognito==2024.5.1->hass-nabucasa==0.83.0->homeassistant)
  Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Using cached homeassistant-2024.11.3-py3-none-any.whl (40.1 MB)
Using cached aiodns-3.2.0-py3-none-any.whl (5.7 kB)
Using cached aiohasupervisor-0.2.1-py3-none-any.whl (33 kB)
Using cached aiohttp_cors-0.7.0-py3-none-any.whl (27 kB)
Using cached aiohttp_fast_zlib-0.1.1-py3-none-any.whl (8.2 kB)
Using cached aiozoneinfo-0.2.1-py3-none-any.whl (8.0 kB)
Using cached astral-2.2-py2.py3-none-any.whl (30 kB)
Using cached async_interrupt-1.2.0-py3-none-any.whl (8.9 kB)
Using cached atomicwrites_homeassistant-1.4.1-py2.py3-none-any.whl (7.1 kB)
Using cached attrs-24.2.0-py3-none-any.whl (63 kB)
Using cached awesomeversion-24.6.0-py3-none-any.whl (14 kB)
Using cached hass_nabucasa-0.83.0-py3-none-any.whl (55 kB)
Using cached home_assistant_bluetooth-1.13.0-py3-none-any.whl (7.9 kB)
Using cached httpx-0.27.2-py3-none-any.whl (76 kB)
Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
Using cached propcache-0.2.0-py3-none-any.whl (11 kB)
Using cached psutil_home_assistant-0.0.1-py3-none-any.whl (6.3 kB)
Using cached PyJWT-2.9.0-py3-none-any.whl (22 kB)
Using cached pyOpenSSL-24.2.1-py3-none-any.whl (58 kB)
Using cached python_slugify-8.0.4-py2.py3-none-any.whl (10 kB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached SQLAlchemy-2.0.31-py3-none-any.whl (1.9 MB)
Using cached voluptuous-0.15.2-py3-none-any.whl (31 kB)
Using cached voluptuous_openapi-0.0.5-py3-none-any.whl (8.6 kB)
Using cached voluptuous_serialize-2.6.0-py3-none-any.whl (6.8 kB)
Using cached webrtc_models-0.2.0-py3-none-any.whl (7.0 kB)
Using cached yarl-1.17.1-py3-none-any.whl (44 kB)
Using cached acme-2.11.0-py3-none-any.whl (95 kB)
Using cached httpcore-1.0.7-py3-none-any.whl (78 kB)
Using cached pycognito-2024.5.1-py3-none-any.whl (26 kB)
Using cached snitun-0.39.1-py3-none-any.whl (39 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached packaging-24.2-py3-none-any.whl (65 kB)
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Using cached urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
Using cached aiohappyeyeballs-2.4.3-py3-none-any.whl (14 kB)
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Using cached charset_normalizer-3.4.0-py3-none-any.whl (49 kB)
Using cached frozenlist-1.5.0-py3-none-any.whl (11 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached mashumaro-3.15-py3-none-any.whl (93 kB)
Using cached multidict-6.1.0-py3-none-any.whl (10 kB)
Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB)
Using cached text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
Using cached tzdata-2024.2-py2.py3-none-any.whl (346 kB)
Using cached anyio-4.6.2.post1-py3-none-any.whl (90 kB)
Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
Using cached async_timeout-5.0.1-py3-none-any.whl (6.2 kB)
Using cached bleak-0.22.3-py3-none-any.whl (142 kB)
Using cached bleak_retry_connector-3.6.0-py3-none-any.whl (15 kB)
Using cached bluetooth_adapters-0.20.2-py3-none-any.whl (19 kB)
Using cached bluetooth_auto_recovery-1.4.2-py3-none-any.whl (10 kB)
Using cached boto3-1.35.71-py3-none-any.whl (139 kB)
Using cached envs-1.4-py3-none-any.whl (10 kB)
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Using cached josepy-1.14.0-py3-none-any.whl (32 kB)
Using cached setuptools-75.6.0-py3-none-any.whl (1.2 MB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Using cached pyRFC3339-2.0.1-py3-none-any.whl (5.8 kB)
Using cached aiooui-0.1.7-py3-none-any.whl (379 kB)
Using cached botocore-1.35.71-py3-none-any.whl (13.0 MB)
Using cached btsocket-0.3.0-py2.py3-none-any.whl (14 kB)
Using cached jmespath-1.0.1-py3-none-any.whl (20 kB)
Using cached s3transfer-0.10.4-py3-none-any.whl (83 kB)
Using cached uart_devices-0.1.0-py3-none-any.whl (4.8 kB)
Using cached usb_devices-0.4.5-py3-none-any.whl (5.3 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: uv
  Building wheel for uv (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for uv (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [115 lines of output]
      Running `maturin pep517 build-wheel -i /data/data/com.termux/files/home/hass/bin/python --compatibility off`
      📦 Including license file "/data/data/com.termux/files/usr/tmp/pip-install-8u4j_nx9/uv_50281abac32f4a96ba677cb71d86ee6b/LICENSE-APACHE"
      📦 Including license file "/data/data/com.termux/files/usr/tmp/pip-install-8u4j_nx9/uv_50281abac32f4a96ba677cb71d86ee6b/LICENSE-MIT"
      🍹 Building a mixed python/rust project
      🔗 Found bin bindings
      📡 Using build options bindings from pyproject.toml
         Compiling proc-macro2 v1.0.89
         Compiling unicode-ident v1.0.13
         Compiling libc v0.2.161
         Compiling cfg-if v1.0.0
         Compiling serde v1.0.213
         Compiling pin-project-lite v0.2.14
         Compiling autocfg v1.4.0
         Compiling quote v1.0.37
         Compiling jobserver v0.1.32
         Compiling syn v2.0.85
         Compiling memchr v2.7.4
         Compiling shlex v1.3.0
         Compiling cc v1.1.30
         Compiling once_cell v1.20.2
         Compiling futures-core v0.3.31
         Compiling bytes v1.7.2
         Compiling signal-hook-registry v1.4.2
         Compiling socket2 v0.5.7
         Compiling mio v1.0.2
         Compiling bitflags v2.6.0
         Compiling itoa v1.0.11
         Compiling tracing-core v0.1.32
         Compiling version_check v0.9.5
         Compiling pkg-config v0.3.31
         Compiling rustix v0.38.38
         Compiling futures-io v0.3.31
         Compiling errno v0.3.9
         Compiling linux-raw-sys v0.4.14
         Compiling futures-sink v0.3.31
         Compiling getrandom v0.2.15
         Compiling crossbeam-utils v0.8.20
         Compiling equivalent v1.0.1
         Compiling hashbrown v0.15.0
         Compiling slab v0.4.9
         Compiling thiserror v1.0.65
         Compiling ryu v1.0.18
         Compiling tinyvec_macros v0.1.1
         Compiling log v0.4.22
         Compiling tinyvec v1.8.0
         Compiling serde_json v1.0.132
         Compiling percent-encoding v2.3.1
         Compiling unicode-normalization v0.1.24
         Compiling form_urlencoded v1.2.1
         Compiling aho-corasick v1.1.3
         Compiling smallvec v1.13.2
         Compiling regex-syntax v0.8.5
         Compiling serde_derive v1.0.213
         Compiling tokio-macros v2.4.0
         Compiling tokio v1.41.0
         Compiling tracing-attributes v0.1.27
         Compiling tracing v0.1.40
         Compiling thiserror-impl v1.0.65
         Compiling unicode-bidi v0.3.17
         Compiling indexmap v2.6.0
         Compiling idna v0.5.0
         Compiling regex-automata v0.4.8
         Compiling futures-macro v0.3.31
         Compiling futures-channel v0.3.31
         Compiling pin-utils v0.1.0
         Compiling byteorder v1.5.0
         Compiling either v1.13.0
         Compiling futures-task v0.3.31
         Compiling futures-util v0.3.31
         Compiling url v2.5.2
         Compiling cmake v0.1.51
         Compiling tokio-util v0.7.12
         Compiling libz-ng-sys v1.1.16
         Compiling zstd-sys v2.0.13+zstd.1.5.6
         Compiling unicase v2.7.0
         Compiling ring v0.17.8
         Compiling rustls-pki-types v1.10.0
         Compiling fnv v1.0.7
         Compiling http v1.1.0
      error: failed to run custom build command for `libz-ng-sys v1.1.16`

      Caused by:
        process didn't exit successfully: `/data/data/com.termux/files/usr/tmp/pip-install-8u4j_nx9/uv_50281abac32f4a96ba677cb71d86ee6b/target/release/build/libz-ng-sys-455854ffb54a5d08/build-script-cmake` (exit status: 101)
        --- stdout
        CMAKE_TOOLCHAIN_FILE_armv7-linux-androideabi = None
        CMAKE_TOOLCHAIN_FILE_armv7_linux_androideabi = None
        HOST_CMAKE_TOOLCHAIN_FILE = None
        CMAKE_TOOLCHAIN_FILE = None
        CMAKE_GENERATOR_armv7-linux-androideabi = None
        CMAKE_GENERATOR_armv7_linux_androideabi = None
        HOST_CMAKE_GENERATOR = None
        CMAKE_GENERATOR = None
        CMAKE_PREFIX_PATH_armv7-linux-androideabi = None
        CMAKE_PREFIX_PATH_armv7_linux_androideabi = None
        HOST_CMAKE_PREFIX_PATH = None
        CMAKE_PREFIX_PATH = None
        CMAKE_armv7-linux-androideabi = None
        CMAKE_armv7_linux_androideabi = None
        HOST_CMAKE = None
        CMAKE = None
        running: cd "/data/data/com.termux/files/usr/tmp/pip-install-8u4j_nx9/uv_50281abac32f4a96ba677cb71d86ee6b/target/release/build/libz-ng-sys-8ee18b34e6e816ce/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-1cd66030c949c28d/libz-ng-sys-1.1.16/src/zlib-ng" "-DBUILD_SHARED_LIBS=OFF" "-DZLIB_COMPAT=OFF" "-DZLIB_ENABLE_TESTS=OFF" "-DWITH_GZFILEOP=ON" "-DCMAKE_INSTALL_PREFIX=/data/data/com.termux/files/usr/tmp/pip-install-8u4j_nx9/uv_50281abac32f4a96ba677cb71d86ee6b/target/release/build/libz-ng-sys-8ee18b34e6e816ce/out" "-DCMAKE_C_FLAGS= -DANDROID -ffunction-sections -fdata-sections -fPIC" "-DCMAKE_C_COMPILER=/data/data/com.termux/files/usr/bin/arm-linux-androideabi-gcc" "-DCMAKE_CXX_FLAGS= -DANDROID -ffunction-sections -fdata-sections -fPIC" "-DCMAKE_CXX_COMPILER=/data/data/com.termux/files/usr/bin/arm-linux-androideabi-g++" "-DCMAKE_ASM_FLAGS= -DANDROID -ffunction-sections -fdata-sections -fPIC" "-DCMAKE_ASM_COMPILER=/data/data/com.termux/files/usr/bin/arm-linux-androideabi-gcc" "-DCMAKE_BUILD_TYPE=Release"

        --- stderr
        thread 'main' panicked at /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-1cd66030c949c28d/cmake-0.1.51/src/lib.rs:1100:5:

        failed to execute command: No such file or directory (os error 2)
        is `cmake` not installed?

        build script failed, must exit now
        note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
      warning: build failed, waiting for other jobs to finish...
      💥 maturin failed
        Caused by: Failed to build a native library through cargo
        Caused by: Cargo build finished with "exit status: 101": `env -u CARGO "cargo" "rustc" "--message-format" "json-render-diagnostics" "--manifest-path" "/data/data/com.termux/files/usr/tmp/pip-install-8u4j_nx9/uv_50281abac32f4a96ba677cb71d86ee6b/crates/uv/Cargo.toml" "--release" "--bin" "uv" "--" "-C" "strip=symbols"`
      Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/data/data/com.termux/files/home/hass/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for uv
Failed to build uv

ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (uv)

What is the expected behavior?

No response

System information

Termux Variables:
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=26201
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.1
TERMUX__USER_ID=0
Packages CPU architecture:
arm
Subscribed repositories:
# sources.list
deb https://mirrors.hust.edu.cn/termux/apt/termux-main stable main
Updatable packages:
All packages up to date
termux-tools version:
1.44.1
Android version:
8.1.0
Kernel build information:
Linux localhost 3.18.14-15260192 #1 SMP PREEMPT Tue Nov 3 16:08:25 KST 2020 armv8l Android
Device manufacturer:
samsung
Device model:
SM-T580
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug reportSomething is not working properlypythonIssue is about Python related stuff, including piprustAny problem related to the Rust ecosystem (including cargo)upstream issueIt is an upstream issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions