@Fma are you able to try using this repo?
The relevant commands would become:
cd
git clone https://github.com/noah95/avr32-toolchain
cd avr32-toolchain
PREFIX=$HOME/avr32-tools make install-cross
Basically, the Makefile that builds the toolchain is really brittle, and many small things end up breaking it. Usually when it does I check the network view on GitHub to see if anyone else has a fork with recent commits, as they might have fixes, and at the very least can show that they’ve had it working recently.
I can’t make any promises that the noah95 fork will work, or that it won’t eat all the files on your computer and transport it to a parallel dimension, but trying that is the first place to start. You can view the changes between our version and theirs here, the biggest difference is that they’ve bundled a lot of the header files into the repo.
Has anyone tried running the Atmel Linux binaries under WSL recently? One of the bugs that stopped it working has been fixed (#1048), but the other hasn’t had any updates for a while (#1462).
Ultimately the pre-compiled Linux binaries are pretty solid, you may need to contemplate going down the virtual machine route, or if you know how to use it vagrant might be a good option (that’s what Mutable Instruments use to provide a reproducible build environment for their modules).