Looks like you’re building on an arm chip, maybe an M1?
See if you can find some leads here, looks like there is a 5.0.0 build that worked for some ppl: