Building nougat
/cm-14
/e/OS ROMs has been broken for a while unfortunately. I saw similar errors last time I tried to build one.
The last successful nougat
build I made was back in June, using the v-0.21-nougat
tag in my build. You could try that.
I also seem to recall that building LineageOS and Lineage-for-MIcrog for nougat broke around the same time, but I don’t have details and I may be wrong. Good luck!