It’s unclear from the log, but I think this is a warnings-as-errors problem. Rosetta uses a compiler-warning-free build, but sometimes architectures we don’t tes ton (apparently like yours) some warnings pop up.
You can edit your main/source/tools/build/user.settings file so it contains the block:
“removes” : {
“flags” : {
“warn” : [“Werror”,],
},
},
Then recompile and see if this goes away.