The problem is i need WPA2-EAP in the image for the 802.1x authentication and i want a small system only with necessary packages. Can you Explain how to build it ? Or can you explain the way to install wpa2-eap authentication after flashin LEDE ?
And one other question, when i flash LEDE sysupgrade over my openWRT is it possible to step back via sysupgrade to my build openWRT ?
You are leaving out the essential part, and that is pretty much everything leading up to that. What you pasted can be pretty much anything
Run your build with LANG=C make -j1 V=s so the errors get printed in English, and chronologically, and pastebin the last 50 or so lines here (keep a full log so you don't have to re-run again if info is missing).
please post the steps in a simplified manner in order to see if you missing something while trying to do it.
that was the first try, maybe you need to clean the files.
Should download any missing package. For whatever reason this (missing packages while compiling error) happens a lot when you try to compile through a VM, never happened tome when I compile directly using Ubuntu. If you crash or whatever during the compilation and the error doesnt mention any package missing try make -j1. If it still gives you errors just start from scratch. Just put a name to your config, then rename it to .config once you clone everything on a new folder so you don't have to reconfigure everything again which takes a lot of time.