No longer able to install HA core on android device using termux

Hy HA community,
Last year I have installed an HA core system in my android phone using Termux, following step by step the tutorial in community, it was working fine.
Unfortunately, last week, trying to update network parameters, I have broken my ha installation, so I need to setup a fresh environment in same device.
Following the same tutorial ( Homeassistant core on Android (Guide Dec'22)) Im facing issues,

After lot of search in the net, no solution, nothing work, each time I have the same error message " failed building wheel for cffi"

Any help guys will be welcome
Thanks a lot

This seems like unsupported flags for the gcc version, I had a similar issue in another Linux distro.

The current version of Termux is based on Python 3.11, whereas the latest version of Home Assistant requires Python 3.12. Based on my experience, installing Home Assistant Core from source code in Termux can result in various issues and conflicts. Instead, using the Docker Container Image to install Home Assistant Core is the most stable method for hosting it on an Android phone. This approach significantly reduces errors and conflicts. Furthermore, by following this approach, you can also install the Matter Server (using the Matter Server Docker Container Image) and successfully add and control Matter devices: https://community.home-assistant.io/t/simple-and-fast-installing-home-assistant-core-and-matter-server-on-android-no-root-no-qemu/788933