From unknown Mon Jun 23 18:34:06 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#57234] Fix build of package icestorm Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Aug 2022 23:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57234 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 57234@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166060790611650 (code B ref -1); Mon, 15 Aug 2022 23:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Aug 2022 23:58:26 +0000 Received: from localhost ([127.0.0.1]:44349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNjyU-00031q-9Q for submit@debbugs.gnu.org; Mon, 15 Aug 2022 19:58:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:33988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNjyP-00031f-Kk for submit@debbugs.gnu.org; Mon, 15 Aug 2022 19:58:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNjyP-0001ea-Fl for guix-patches@gnu.org; Mon, 15 Aug 2022 19:58:21 -0400 Received: from chimborazo.ee.ethz.ch ([129.132.2.15]:50509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNjyN-0007zP-DA for guix-patches@gnu.org; Mon, 15 Aug 2022 19:58:21 -0400 Received: from silvi (unknown [85.195.207.206]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gabriel) by chimborazo.ee.ethz.ch (Postfix) with ESMTPSA id E72984011F for ; Tue, 16 Aug 2022 01:58:14 +0200 (CEST) Date: Tue, 16 Aug 2022 01:58:11 +0200 From: Gabriel Wicki Message-ID: <20220815235811.5mlvvl2mbsoa2lzb@silvi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=129.132.2.15; envelope-from=gabriel@erlikon.ch; helo=chimborazo.ee.ethz.ch X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello! I noticed icestorm doesn't build currently. I've attached a fix. TIA for merging soon ;) g >From de5b7f58c5c18621f69d15e11d78349c0d2d18be Mon Sep 17 00:00:00 2001 From: Gabriel Wicki Date: Tue, 16 Aug 2022 01:46:07 +0200 Subject: [PATCH] gnu: fpga: Fix build of icestorm * gnu/packages/fpga.scm (icestorm): Fix build. [phases]{fix-build}: New phase. --- gnu/packages/fpga.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index b8f98ca63e..cac4db318d 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -258,6 +258,11 @@ (define-public icestorm (substitute* "icebox/icebox_vlog.py" (("/usr/local/share") (string-append (assoc-ref outputs "out") "/share"))) #t)) + (add-after 'fix-usr-local 'fix-build + (lambda _ + (substitute* "icetime/icetime.cc" + (("#include ") + "#include \n#include ")))) (delete 'configure)))) (inputs (list libftdi)) -- 2.36.1 From unknown Mon Jun 23 18:34:06 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Gabriel Wicki Subject: bug#57234: closed (Re: bug#57234: Fix build of package icestorm) Message-ID: References: <878rnnct0v.fsf@envs.net> <20220815235811.5mlvvl2mbsoa2lzb@silvi> X-Gnu-PR-Message: they-closed 57234 X-Gnu-PR-Package: guix-patches Reply-To: 57234@debbugs.gnu.org Date: Wed, 17 Aug 2022 05:57:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1660715822-2198-1" This is a multi-part message in MIME format... ------------=_1660715822-2198-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #57234: Fix build of package icestorm which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 57234@debbugs.gnu.org. --=20 57234: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57234 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1660715822-2198-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 57234-done) by debbugs.gnu.org; 17 Aug 2022 05:56:45 +0000 Received: from localhost ([127.0.0.1]:49231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOC2m-0000Z0-S1 for submit@debbugs.gnu.org; Wed, 17 Aug 2022 01:56:45 -0400 Received: from envs.net ([89.163.145.170]:55568 helo=mail.envs.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOC2k-0000Ym-7K for 57234-done@debbugs.gnu.org; Wed, 17 Aug 2022 01:56:43 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id C4D3C38A0E01; Wed, 17 Aug 2022 05:56:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1660715797; bh=n+xSU04UcuBc9U39F9w8yuw2f/B9fmyQPCVgQyN0+OA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=NnLMQG1scQa5x2HYFCZPD8L2zieeLxOTb52OhdnxK4OpK1ZRRHiswWOVbkUD2cdWC HJHXVDvrLyHEzgUADiM2rhRNMnptxgolFR7k9bIDUUKYDdl26xlMWBoXx+j9KRcZMe A4qC3d97QgEO2/mtb1jJOwnvaWh2Li3Ee2kPC+3zMY9i1uTV522dMrOv/nSyqrVp91 BsDHGrBmCoZcamVMLBh+/fQYz+G2qPSsPQQv/9b/UDP/xIovW9HVmdTGbZtRua4OPR K0foNjjqPZdmH01570joipwa+FW7oTBYMxM0rifPoInE9cfaSIvoeEUO+dV4xLjU1C 5vGc1NPeiKxc7Oy/YuHQnIUjMAdVJ6siBGmBjE4d2ZVXho5cuDVLWoDLisIEbtv6Kq 3hLlqJw8FtGVd0LyrVWbpJm8+oqtTZ4eaSIR8ejmredk+FY1IXnwlVqMOLxUvm8Tar gm3XF/K1JAMCNrI32wEFISVpmEUptVjy5cGNwiyS3qhDOBWhxlylAF835q5fSxUUD9 AMpH4WIKb4pmhqdOvG2UCVj4ZHC/Sxec76IlKacKhVp31MirIw8oiUPomjFheAR/tu 9/otEh7MyupRJbqSx/HgDBWyMNINrJIq+RzqkBOVr60mQr7j7zPjEFWbUhN0Tl3OmG QZ3MkPvFFx+v0rohUBPXkaSQ= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5IBNdjlMPmmN; Wed, 17 Aug 2022 05:56:35 +0000 (UTC) Received: from localhost (unknown [182.150.116.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: iyzsong@envs.net) by mail.envs.net (Postfix) with ESMTPSA; Wed, 17 Aug 2022 05:56:35 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id f9745186; Wed, 17 Aug 2022 05:56:32 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= To: Gabriel Wicki Subject: Re: bug#57234: Fix build of package icestorm References: <20220815235811.5mlvvl2mbsoa2lzb@silvi> Date: Wed, 17 Aug 2022 13:56:32 +0800 In-Reply-To: <20220815235811.5mlvvl2mbsoa2lzb@silvi> (Gabriel Wicki's message of "Tue, 16 Aug 2022 01:58:11 +0200") Message-ID: <878rnnct0v.fsf@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57234-done Cc: 57234-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Gabriel Wicki writes: > Hello! > > I noticed icestorm doesn't build currently. I've attached a fix. > > TIA for merging soon ;) Hello, the latest version of icestorm have that fix, so I updated the commit instead of merge this patch, thank you! ------------=_1660715822-2198-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Aug 2022 23:58:26 +0000 Received: from localhost ([127.0.0.1]:44349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNjyU-00031q-9Q for submit@debbugs.gnu.org; Mon, 15 Aug 2022 19:58:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:33988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNjyP-00031f-Kk for submit@debbugs.gnu.org; Mon, 15 Aug 2022 19:58:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNjyP-0001ea-Fl for guix-patches@gnu.org; Mon, 15 Aug 2022 19:58:21 -0400 Received: from chimborazo.ee.ethz.ch ([129.132.2.15]:50509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNjyN-0007zP-DA for guix-patches@gnu.org; Mon, 15 Aug 2022 19:58:21 -0400 Received: from silvi (unknown [85.195.207.206]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gabriel) by chimborazo.ee.ethz.ch (Postfix) with ESMTPSA id E72984011F for ; Tue, 16 Aug 2022 01:58:14 +0200 (CEST) Date: Tue, 16 Aug 2022 01:58:11 +0200 From: Gabriel Wicki To: guix-patches@gnu.org Subject: Fix build of package icestorm Message-ID: <20220815235811.5mlvvl2mbsoa2lzb@silvi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=129.132.2.15; envelope-from=gabriel@erlikon.ch; helo=chimborazo.ee.ethz.ch X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello! I noticed icestorm doesn't build currently. I've attached a fix. TIA for merging soon ;) g >From de5b7f58c5c18621f69d15e11d78349c0d2d18be Mon Sep 17 00:00:00 2001 From: Gabriel Wicki Date: Tue, 16 Aug 2022 01:46:07 +0200 Subject: [PATCH] gnu: fpga: Fix build of icestorm * gnu/packages/fpga.scm (icestorm): Fix build. [phases]{fix-build}: New phase. --- gnu/packages/fpga.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index b8f98ca63e..cac4db318d 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -258,6 +258,11 @@ (define-public icestorm (substitute* "icebox/icebox_vlog.py" (("/usr/local/share") (string-append (assoc-ref outputs "out") "/share"))) #t)) + (add-after 'fix-usr-local 'fix-build + (lambda _ + (substitute* "icetime/icetime.cc" + (("#include ") + "#include \n#include ")))) (delete 'configure)))) (inputs (list libftdi)) -- 2.36.1 ------------=_1660715822-2198-1--