Error installing Home Assistant on Rpi Zero W 1

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | 9.12.1
  • Distro version | bookworm 1
  • Kernel version | Linux DietPi 6.12.25+rpt-rpi-v6 #1 Raspbian 1:6.12.25-1+rpt1 (2025-04-30) armv6l GNU/Linux
  • Architecture | armhf
  • SBC model | RPi Zero W (armv6l)
  • Power supply used | 5V 1A
  • SD card used | Verbatim

Additional Information (if applicable)

Software: Home Assistant installed via dietpi-software on a fresh dietpi install

Steps to reproduce

Select Home Assistant in dietpi-software. After a couple of hours this error happens

Expected behaviour

Successful installation of HA

Actual behaviour

Installation error

Extra details

  Created wheel for zeroconf: filename=zeroconf-0.146.0-cp313-cp313-linux_armv6l.whl size=1413354 sha256=b2f2719c5b1a0eca0611fb6f73b7b66335c24cf5bd9fe8b53ae17ef9c4f68733
  Stored in directory: /tmp/pip-ephem-wheel-cache-p3z0jmkq/wheels/24/5a/8e/4cfb0b89fd69ca83608c0c150a3acdb603b7d130d8bb398dec
  DEPRECATION: Building 'fnvhash' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` op
tion, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'fnvhash'. Discussion can be found at https://github.com/pypa/pip/issues/6334
  Building wheel for fnvhash (setup.py): started
  Building wheel for fnvhash (setup.py): finished with status 'done'
  Created wheel for fnvhash: filename=fnvhash-0.1.0-py3-none-any.whl size=2179 sha256=9d89379a1c387bfffa0520a5028c04de17f76aba36a85338fc97288326aee663
  Stored in directory: /tmp/pip-ephem-wheel-cache-p3z0jmkq/wheels/b4/11/13/f349ad04df7e01224db09470d3f79e74ab001ad2e2cdd4a731
  Building wheel for cffi (pyproject.toml): started
  Building wheel for cffi (pyproject.toml): still running...
  Building wheel for cffi (pyproject.toml): finished with status 'done'
  Created wheel for cffi: filename=cffi-1.17.1-cp313-cp313-linux_armv6l.whl size=455396 sha256=f4634a21fda52bd4a04cde7cc6eb4b07e46beaf109ba8716a6b24679e79aa318
  Stored in directory: /tmp/pip-ephem-wheel-cache-p3z0jmkq/wheels/bd/0e/40/750215a36c0bd49bbcf609adeb238143c3368071408de140b8
  Building wheel for habluetooth (pyproject.toml): started
  Building wheel for habluetooth (pyproject.toml): still running...
  Building wheel for habluetooth (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Building wheel for habluetooth (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [170 lines of output]
      A setup.py file already exists. Using it.
      warning: src/habluetooth/advertisement_tracker.py:68:44: Unknown type declaration '_str' in annotation, ignoring
      warning: src/habluetooth/base_scanner.py:144:25: Unknown type declaration '_int' in annotation, ignoring
      warning: src/habluetooth/base_scanner.py:144:47: Unknown type declaration 'BluetoothScannerDevice' in annotation, ignoring
      warn

The log ends in this way. Like it is truncated. I sent the log with the code

fd7dded3-e2cf-436a-8079-431ea889af74

Thank you in advance for your precious support.

Mario.