BTW with previous versions there were no such problems and build was successful.
This won't be easy, especially if I have to ask for the same info repeatedly.
If it worked before why did you reinstall all the packages?
Why are you compiling with sudo?
I need to see the FIRST errors and what CPU you have.
Try building the previous version again the exact same way.
Try compiling from the source tarball instead of cloning.