Make keeps failing

After cloning the repos I’m running ./scripts/morse_setup.sh -i -b ekh01-03, which seems to work correctly, the make -j8 command fails.

I have run the two install commands

> sudo apt update
> sudo apt install build-essential clang flex g++ gawk gcc-multilib git gettext \
  libncurses5-dev libssl-dev python3-distutils rsync unzip zlib1g-dev swig

Any help would be appreciated

It’s pretty hard to debug this sort of thing without the error message!

Run with V=sc (as mentioned in the README) and see what went wrong. Some people are having trouble with wireshark and their Python installation, so you may need to disable wireshark: I'm failing to build wireshark during openwrt build - #2 by james.haggerty

It seems to have worked after running make clean and make enough times.
This was the only error I could find this time, I’ve also had a lot of issues with aarch files missing.
File “/home/Sam.Chapman/Documents/opensource/openwrt/build_dir/hostpkg/Python-3.11.7/Lib/test/test_sqlite3/test_dbapi.py”, line 37, in
from _testcapi import INT_MAX, ULLONG_MAX
ModuleNotFoundError: No module named ‘_testcapi’