GNU bug report logs - #54801
[PATCH] gnu: lsof: Fix invalid G-Expression.

Previous Next

Package: guix-patches;

Reported by: Brian Kubisiak <brian <at> kubisiak.com>

Date: Fri, 8 Apr 2022 20:31:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Brian Kubisiak <brian <at> kubisiak.com>
Subject: bug#54801: closed (Re: bug#54801: [PATCH] gnu: lsof: Fix invalid
 G-Expression.)
Date: Fri, 08 Apr 2022 21:08:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#54801: [PATCH] gnu: lsof: Fix invalid G-Expression.

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 54801 <at> debbugs.gnu.org.

-- 
54801: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54801
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Brian Kubisiak <brian <at> kubisiak.com>
Cc: 54801-done <at> debbugs.gnu.org
Subject: Re: bug#54801: [PATCH] gnu: lsof: Fix invalid G-Expression.
Date: Fri, 08 Apr 2022 23:07:04 +0200
Hi,

Brian Kubisiak <brian <at> kubisiak.com> skribis:

> Cross-compiling lsof is failing with an "invalid G-expression input"
> error. Fix this by using a quoted list.
>
> * gnu/packages/lsof.scm (lsof): Fix invalid G-Expression.

Good catch; applied.

>               ,@(if (%current-target-system)
> -                   (list (setenv "LINUX_CONF_CC" "gcc"))

Ouch, glad it wasn’t (delete-file-recursively "/").

Thanks!

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Brian Kubisiak <brian <at> kubisiak.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: lsof: Fix invalid G-Expression.
Date: Fri, 8 Apr 2022 13:30:34 -0700
Cross-compiling lsof is failing with an "invalid G-expression input"
error. Fix this by using a quoted list.

* gnu/packages/lsof.scm (lsof): Fix invalid G-Expression.
---
 gnu/packages/lsof.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/lsof.scm b/gnu/packages/lsof.scm
index be7bf43646..5f413483f4 100644
--- a/gnu/packages/lsof.scm
+++ b/gnu/packages/lsof.scm
@@ -55,7 +55,7 @@ (define-public lsof
            (lambda _
              (setenv "LSOF_CC" ,(cc-for-target))
              ,@(if (%current-target-system)
-                   (list (setenv "LINUX_CONF_CC" "gcc"))
+                   '((setenv "LINUX_CONF_CC" "gcc"))
                    '())
              (setenv "LSOF_MAKE" "make")
 
-- 
2.34.0





This bug report was last modified 3 years and 46 days ago.

Previous Next


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