You should have posted just the error part, which is caused by zesarux mis-detecting the OS. You're also not running Ubuntu, but Armbian, which is why the configure part produces the wrong string.

Error is:

gcc -mcpu=cortex-a76 -O2 -fsigned-char -I. -Iaudio -Icopy_interfaces -Icores -Icpus -Imachines -Imenu -Isnap -Istorage -Isoundchips -Ithird_party -Ivideo -Ivideo_chips -Izrcp -Izxvision -I/usr/include/ncursesw -D_GNU_SOURCE -D_DEFAULT_SOURCE -c video/scrcurses.c
In file included from ./cpu.h:25,
from video/scrsimpletext.h:25,
from video/scrsimpletext.c:25:
./compileoptions.h:31:36: warning: missing terminating " character
31 | #define COMPILATION_SYSTEM_RELEASE "Armbian_community 25.5.0-trunk.4 noble
| ^
./compileoptions.h:32:19: error: too many decimal points in number
32 | Armbian_community 25.5.0-trunk.4 noble"
| ^~~~~~

because compileoptions.h contains a multi-line string:

... #define COMPILATION_SYSTEM "GNU/Linux" #define COMPILATION_SYSTEM_RELEASE "Armbian_community 25.5.0-trunk.4 noble Armbian_community 25.5.0-trunk.4 noble" ...

Upstream should modify the detection part to fix this, maybe I'll send a PR. You can modify the /etc/os-release file and remove the last line, this should solve the compilation issue temporarily.