> 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.
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 5b1c8b7938..06e41ad535 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1715,13 +1715,15 @@ high-performance parallel differential evolution (DE) optimization algorithm.")
(lambda* (#:key outputs #:allow-other-keys)
(delete-file-recursively
(string-append (assoc-ref outputs "out")
- "/share/ngspice/scripts")))))
+ "/share/ngspice/scripts"))
+ (delete-file (string-append (assoc-ref outputs "out")
+ "/include/config.h")))))
#:configure-flags
(list "--enable-openmp"
"--enable-ciderlib"
"--enable-xspice"
"--with-ngshared"
- "--with-readline=yes")))
+ "--with-readline=no")))
(native-inputs
`(("bison" ,bison)
("flex" ,flex)))