Building Linux failed

I fully answered a similar question here: Why all the tags where removed from altera-opensource/linux-socfpga?

Basically, Altera (Intel) removed all the old baselines that had a major software vulnerability. You’ll have to pick a new baseline to build against and change the environment variables accordingly