unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: Brice Waegeneire <brice@waegenei.re>, bdju <bdju@tilde.team>
Cc: 49161@debbugs.gnu.org
Subject: bug#49161: kicad-5.1.6 fails to build
Date: Tue, 22 Jun 2021 11:04:08 +0000	[thread overview]
Message-ID: <5ee1b02a2af545e7b767a9a7a124661b9009c0fa.camel@posteo.net> (raw)
In-Reply-To: <87fsxawgl1.fsf@waegenei.re>

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

> 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.

[-- Attachment #2: libngspice.patch --]
[-- Type: text/x-patch, Size: 989 bytes --]

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)))

  parent reply	other threads:[~2021-06-22 11:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-21 16:23 bug#49161: kicad-5.1.6 fails to build bdju via Bug reports for GNU Guix
2021-06-22  6:36 ` Brice Waegeneire
2021-06-22  9:42   ` Vinicius Monego
2021-06-22  9:42   ` Vinicius Monego
2021-06-22 11:04   ` Vinicius Monego [this message]
2021-06-22 12:01     ` Guillaume Le Vaillant
2021-06-22 13:29       ` Vinicius Monego
2021-06-22 13:39       ` Vinicius Monego
2021-06-22 14:54         ` Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5ee1b02a2af545e7b767a9a7a124661b9009c0fa.camel@posteo.net \
    --to=monego@posteo.net \
    --cc=49161@debbugs.gnu.org \
    --cc=bdju@tilde.team \
    --cc=brice@waegenei.re \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).