GNU bug report logs - #57234
Fix build of package icestorm

Previous Next

Package: guix-patches;

Reported by: Gabriel Wicki <gabriel <at> erlikon.ch>

Date: Mon, 15 Aug 2022 23:59:02 UTC

Severity: normal

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57234 in the body.
You can then email your comments to 57234 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#57234; Package guix-patches. (Mon, 15 Aug 2022 23:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gabriel Wicki <gabriel <at> erlikon.ch>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 15 Aug 2022 23:59:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gabriel Wicki <gabriel <at> erlikon.ch>
To: guix-patches <at> gnu.org
Subject: Fix build of package icestorm
Date: Tue, 16 Aug 2022 01:58:11 +0200
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 <gabriel <at> erlikon.ch>
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 <vector>")
+                 "#include <vector>\n#include <stdexcept>"))))
           (delete 'configure))))
     (inputs
      (list libftdi))
-- 
2.36.1





Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Wed, 17 Aug 2022 05:57:02 GMT) Full text and rfc822 format available.

Notification sent to Gabriel Wicki <gabriel <at> erlikon.ch>:
bug acknowledged by developer. (Wed, 17 Aug 2022 05:57:02 GMT) Full text and rfc822 format available.

Message #10 received at 57234-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Gabriel Wicki <gabriel <at> erlikon.ch>
Cc: 57234-done <at> debbugs.gnu.org
Subject: Re: bug#57234: Fix build of package icestorm
Date: Wed, 17 Aug 2022 13:56:32 +0800
Gabriel Wicki <gabriel <at> erlikon.ch> 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!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 14 Sep 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.