24" mac, M1: bad CPU type in executable

Hi. M1Pro Ventura 13.2.1 user here. I've got the "avr-g++: bad CPU type in executable" error as well, and I can't shake it. Attempting the terminal-based Rosetta solution results in "Installing Rosetta 2 on this system is not supported. "

Next steps?