Cannot build SITL on Hardware for CubeBlack in Ubuntu

A few months ago I had no issues getting SITL on Hardware to build in Ubuntu and upload to my Pixhawk CubeBlack. I tried to run it again today and failed, so I installed a fresh clone using git clone --recurse-submodules https://github.com/ArduPilot/ardupilot.git, installed the necessary packages, built copter for the cube black, and then ran the command for sitl on hardware.

It gave me this error towards the end saying a file could not be found.

I tried running with the CubeOrange-SimOnHardWare target to see if that would build and it did. I tried the fmuv3 target on the off chance I could install that on the CubeBlack but it failed the same way. Looking for some help resolving this

It seems like i just have to disable enough features in the hwdef to get it to fit on the cube