> In particular the /gnu/store/...-libngspice-34/include/config.h > seems suspicious. Good catch. Indeed, that file should be removed. Kicad takes a long time to build on my machine. I am attaching a diff that removes config.h and should fix the compilation if anyone can confirm.