Subject: bug#44966: closed (Re: [bug#44966] [PATCH] gnu: openocd: Fix build)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 01 Dec 2020 10:12:02 +0000

Your bug report

#44966: [PATCH] gnu: openocd: Fix build

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 [email-masked].

-- 
44966: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44966
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#44966] [PATCH] gnu: openocd: Fix build
From: Mathieu Othacehe <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Tue, 01 Dec 2020 11:11:00 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hey,

> So it turns out my pod doesn't need openocd so I'm not actually able to test
> this at all. But going from not building to building seems like an improvment
> in my eyes.

Pushed, thanks!

Mathieu

Subject: [PATCH] gnu: openocd: Fix build
From: [email-masked]
To: [email-masked]
Cc: Morgan Smith <[email-masked]>
Date: Mon, 30 Nov 2020 12:20:04 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Morgan Smith <[email-masked]>

* gnu/packages/embedded.scm (openocd)[arguments]: Add "LIBS=-lutil" to allow
it to build
---

So it turns out my pod doesn't need openocd so I'm not actually able to test
this at all. But going from not building to building seems like an improvment
in my eyes.

---
 gnu/packages/embedded.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 73375a211d..baeb2e3e2a 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -555,7 +555,8 @@ language.")
          ("libusb-compat" ,libusb-compat)))
       (arguments
        '(#:configure-flags
-         (append (list "--disable-werror"
+         (append (list "LIBS=-lutil"
+                       "--disable-werror"
                        "--enable-sysfsgpio"
                        "--disable-internal-jimtcl"
                        "--disable-internal-libjaylink")
-- 
2.29.2