From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CHmhLfDl0WBemQAAgWs5BA (envelope-from ) for ; Tue, 22 Jun 2021 15:30:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WAVbKfDl0WCSXgAA1q6Kng (envelope-from ) for ; Tue, 22 Jun 2021 13:30:24 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D653C2446B for ; Tue, 22 Jun 2021 15:30:23 +0200 (CEST) Received: from localhost ([::1]:36172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvgTt-00025M-R5 for larch@yhetil.org; Tue, 22 Jun 2021 09:30:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvgTb-00024r-1K for bug-guix@gnu.org; Tue, 22 Jun 2021 09:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvgTa-000192-Nb for bug-guix@gnu.org; Tue, 22 Jun 2021 09:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lvgTa-0004VA-Ii for bug-guix@gnu.org; Tue, 22 Jun 2021 09:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49161: kicad-5.1.6 fails to build Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 22 Jun 2021 13:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49161 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant Received: via spool by 49161-submit@debbugs.gnu.org id=B49161.162436858617260 (code B ref 49161); Tue, 22 Jun 2021 13:30:02 +0000 Received: (at 49161) by debbugs.gnu.org; 22 Jun 2021 13:29:46 +0000 Received: from localhost ([127.0.0.1]:38144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvgTJ-0004UK-Fi for submit@debbugs.gnu.org; Tue, 22 Jun 2021 09:29:46 -0400 Received: from mout02.posteo.de ([185.67.36.66]:35661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvgTH-0004U5-Il for 49161@debbugs.gnu.org; Tue, 22 Jun 2021 09:29:44 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 11FB82400FE for <49161@debbugs.gnu.org>; Tue, 22 Jun 2021 15:29:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1624368577; bh=8zRueW2ltPXA+AHrTfwfVNbWcRZPgqV+0KMGKKnpLBE=; h=Subject:From:To:Cc:Date:From; b=exzT6vTFLP/z/O4YoJxXxB4oC9JuOSLnWRgeJnjSzrsErVWR8rHJuVr61ehXyZv5g +38elySpkP9ZDprIZxH90I1r9qda3o0x+CUBm+IxNZs0AztsNm3w+iSapZv/mF7+Cl imXyDNSmMGWg5TmWOlAAAGuRsNS6hZAMCu7MFGh07Y4lGNV2sRgz13fBR+9qQE4gAV g34zcwyVp4OZTj2SUO1gCO+x8nzr4RroFWQ0dkBOWsS3/V4gT/nKEVq4rpJO69nwm0 jmHyf7fRj0mRbvVHlhOzyKFbqgMqVprN2YrqzTpe5XWBXKIk7EuFE0Z7SvL2RW1jwf f+QoWuHNpBIdg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4G8S1B1prGz6tm9; Tue, 22 Jun 2021 15:29:34 +0200 (CEST) Message-ID: <8dbc4cb415de97178817c7736a7152353f0366f0.camel@posteo.net> From: Vinicius Monego Date: Tue, 22 Jun 2021 13:29:21 +0000 In-Reply-To: <87tulqds5s.fsf@kitej> References: <87fsxawgl1.fsf@waegenei.re> <5ee1b02a2af545e7b767a9a7a124661b9009c0fa.camel@posteo.net> <87tulqds5s.fsf@kitej> Content-Type: multipart/mixed; boundary="=-pLjqmeoXv3Z5e4flqvQ+" MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 49161@debbugs.gnu.org, Brice Waegeneire Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624368624; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=9sycTYjqX6Oqck7cdSah5Nc/Ons8uvSck2qoP1N3KxE=; b=m1ttAySUwH+s0Jenn4vv48cO357nDbBfHt9dgB2FVF0jRZy2NduSFYtwO5vrbWh2wsg2o+ l+SN7LybTqrseezkVBD4QuZ7gWvKlq1937FirflyVQ2UpiYCUrY6QMOUJsPoftbCWAWvOH +c4o8QApf9sC8pt5iMoXJvDICbdbU6hUnl8kH86CS5fOuVal00/YMjaenBnOrVdul/qwGz WPEr5/fO6A0REtKzSO7xSHCrtJ18oGUpnGOsPL/AvKl/2oPLlRV61iHNbOawFMsoVROjC5 XrpofRMZJ6QlEdVdBZVzoZaEWWqmxB8vec6/NTUrJUbxntXdxFx5Di5mj20N6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624368624; a=rsa-sha256; cv=none; b=hQHf6KUxf3wPfPzsZQcQMRJWb+zvqz5ZSeFDSY8vE2A0kxYXU10C77M9H7l1uwPNfFoMga SDwLuLDhy09GF13F6aQwSQf4lhf9Sj9pynKeYC9PHVzfLE5ZT8/teGnkWv/rK9FRGvkI73 n5m6XSIVrREbPg9XiK8ChKfc1Dcnupm17vVbsh6Sk82jmT/D2GjrxTDtjFX3A9I3brJNp8 fInQNsOmYWmL8+ohkQYAl9Do9tbnwpqwUFCtIMTVGjzZFHIWzi7axrgohGTfumA96nLS++ tBfoACR0tOlYW1iJ5RoP7YqwmbGyD+YjgVhQGKmo2/M5RFLEIhgR/4JgpoO3sw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=exzT6vTF; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=exzT6vTF; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: D653C2446B X-Spam-Score: -0.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6cHbGGzdc0c6 --=-pLjqmeoXv3Z5e4flqvQ+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Em ter, 2021-06-22 às 12:01 +0000, Guillaume Le Vaillant escreveu: > Vinicius Monego skribis: > > > > 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. > > I tried applying your diff and with it kicad compiles fine and works. > Could you send a formatted patch? Done. I am sending the two changes in different patches because I read in [1] that KiCad uses config.h to extract version information about ngspice. If simulations are working without config.h, then both patches can be pushed. The history_file problem in the KiCad compilation is related to readline only. [1] https://bugs.archlinux.org/task/70569 --=-pLjqmeoXv3Z5e4flqvQ+ Content-Disposition: attachment; filename="0001-gnu-libngspice-Fix-KiCad-compilation.patch" Content-Type: text/x-patch; name="0001-gnu-libngspice-Fix-KiCad-compilation.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSA3NzIyNDI3YTNmMTUwZjVlMjI0OWJhMmVhOGEwYzAyNGI0YmJmMDJkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBWaW5pY2l1cyBNb25lZ28gPG1vbmVnb0Bwb3N0ZW8ubmV0PgpE YXRlOiBUdWUsIDIyIEp1biAyMDIxIDA5OjQ2OjMyIC0wMzAwClN1YmplY3Q6IFtQQVRDSCAxLzJd IGdudTogbGlibmdzcGljZTogRml4IEtpQ2FkIGNvbXBpbGF0aW9uLgoKKiBnbnUvcGFja2FnZXMv ZW5naW5lZXJpbmcuc2NtIChsaWJuZ3NwaWNlKVthcmd1bWVudHNdPCM6Y29uZmlndXJlLWZsYWdz PjoKUGFzcyAiLS13aXRoLXJlYWRsaW5lPW5vIi4KLS0tCiBnbnUvcGFja2FnZXMvZW5naW5lZXJp bmcuc2NtIHwgNCArKystCiAxIGZpbGUgY2hhbmdlZCwgMyBpbnNlcnRpb25zKCspLCAxIGRlbGV0 aW9uKC0pCgpkaWZmIC0tZ2l0IGEvZ251L3BhY2thZ2VzL2VuZ2luZWVyaW5nLnNjbSBiL2dudS9w YWNrYWdlcy9lbmdpbmVlcmluZy5zY20KaW5kZXggNWIxYzhiNzkzOC4uMzAyYjVjNzE1ZSAxMDA2 NDQKLS0tIGEvZ251L3BhY2thZ2VzL2VuZ2luZWVyaW5nLnNjbQorKysgYi9nbnUvcGFja2FnZXMv ZW5naW5lZXJpbmcuc2NtCkBAIC0xNzIxLDcgKzE3MjEsOSBAQCBoaWdoLXBlcmZvcm1hbmNlIHBh cmFsbGVsIGRpZmZlcmVudGlhbCBldm9sdXRpb24gKERFKSBvcHRpbWl6YXRpb24gYWxnb3JpdGht LiIpCiAgICAgICAgICAgICAgIi0tZW5hYmxlLWNpZGVybGliIgogICAgICAgICAgICAgICItLWVu YWJsZS14c3BpY2UiCiAgICAgICAgICAgICAgIi0td2l0aC1uZ3NoYXJlZCIKLSAgICAgICAgICAg ICAiLS13aXRoLXJlYWRsaW5lPXllcyIpKSkKKyAgICAgICAgICAgICA7OyBSZWFkbGluZSBtdXN0 IGJlIGRpc2FibGVkIHRvIGJ1aWxkIEtpQ2FkIHdpdGggbmdzcGljZSAzNC4gIFNlZQorICAgICAg ICAgICAgIDs7IGh0dHBzOi8vYnVncy5hcmNobGludXgub3JnL3Rhc2svNzA1NjMgZm9yIHJlZmVy ZW5jZS4KKyAgICAgICAgICAgICAiLS13aXRoLXJlYWRsaW5lPW5vIikpKQogICAgIChuYXRpdmUt aW5wdXRzCiAgICAgIGAoKCJiaXNvbiIgLGJpc29uKQogICAgICAgICgiZmxleCIgLGZsZXgpKSkK LS0gCjIuMzIuMAoK --=-pLjqmeoXv3Z5e4flqvQ+ Content-Disposition: attachment; filename="0002-gnu-libngspice-Delete-autogenerated-config.h.patch" Content-Type: text/x-patch; name="0002-gnu-libngspice-Delete-autogenerated-config.h.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSBkOTgwYjViY2VhM2ZkN2FmYzNmMWUwOTRkYmVmM2MyNDI2ZTY0NWU4IE1vbiBTZXAgMTcg M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c2NvbnZlcnRcXC4xIG5nbXVsdGlkZWNcXC4xIikKICAgICAgICAgICAgICAgICAibWFu X01BTlMgPSAiKSkpKQotICAgICAgICAgKGFkZC1hZnRlciAnaW5zdGFsbCAnZGVsZXRlLXNjcmlw dC1maWxlcworICAgICAgICAgKGFkZC1hZnRlciAnaW5zdGFsbCAnZGVsZXRlLXNjcmlwdHMtYW5k LWNvbmZpZwogICAgICAgICAgICAobGFtYmRhKiAoIzprZXkgb3V0cHV0cyAjOmFsbG93LW90aGVy LWtleXMpCiAgICAgICAgICAgICAgKGRlbGV0ZS1maWxlLXJlY3Vyc2l2ZWx5CiAgICAgICAgICAg ICAgIChzdHJpbmctYXBwZW5kIChhc3NvYy1yZWYgb3V0cHV0cyAib3V0IikKLSAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIi9zaGFyZS9uZ3NwaWNlL3NjcmlwdHMiKSkpKSkKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIi9zaGFyZS9uZ3NwaWNlL3NjcmlwdHMiKSkKKyAgICAgICAg ICAgICA7OyBUaGlzIGZpbGUgaXMgYXV0b2dlbmVyYXRlZCBieSB0aGUgY29uZmlndXJlIHNjcmlw dCBhbmQgc2hvdWxkCisgICAgICAgICAgICAgOzsgbm90IGJlIGRpc3RyaWJ1dGVkLiAgSXQgY291 bGQgYmUgcmVtb3ZlZCBpbiBuZ3NwaWNlIDM1LiAgU2VlCisgICAgICAgICAgICAgOzsgaHR0cHM6 Ly9idWdzLmFyY2hsaW51eC5vcmcvdGFzay83MDU2OSBmb3IgcmVmZXJlbmNlLgorICAgICAgICAg ICAgIChkZWxldGUtZmlsZSAoc3RyaW5nLWFwcGVuZCAoYXNzb2MtcmVmIG91dHB1dHMgIm91dCIp CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIvaW5jbHVkZS9jb25m aWcuaCIpKSkpKQogICAgICAgICM6Y29uZmlndXJlLWZsYWdzCiAgICAgICAgKGxpc3QgIi0tZW5h YmxlLW9wZW5tcCIKICAgICAgICAgICAgICAiLS1lbmFibGUtY2lkZXJsaWIiCi0tIAoyLjMyLjAK Cg== --=-pLjqmeoXv3Z5e4flqvQ+--