GNU bug report logs - #69209
Extended packaging example from the Guix cookbook produces an error

Previous Next

Package: guix;

Reported by: Balthazar Potet <balthazarpotet <at> gmail.com>

Date: Sun, 18 Feb 2024 18:23:01 UTC

Severity: normal

Done: Greg Hogan <code <at> greghogan.com>

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 69209 in the body.
You can then email your comments to 69209 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 bug-guix <at> gnu.org:
bug#69209; Package guix. (Sun, 18 Feb 2024 18:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Balthazar Potet <balthazarpotet <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 18 Feb 2024 18:23:02 GMT) Full text and rfc822 format available.

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

From: Balthazar Potet <balthazarpotet <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Extended packaging example from the Guix cookbook produces an error
Date: Sat, 17 Feb 2024 18:25:00 +0100
Hello,

I tried to install the package defined in this section of the Guix
cookbook : https://guix.gnu.org/cookbook/en/guix-cookbook.html#Extended-example

Running `guix package -f example.scm` gives the following error:

Backtrace:
In guix/store.scm:
  2180:25 19 (run-with-store #<store-connection 256.99 7fea884c5dc0> …)
In guix/gexp.scm:
   914:13 18 (_ _)
In guix/store.scm:
   2008:8 17 (_ _)
In guix/gexp.scm:
   299:22 16 (_ _)
In guix/store.scm:
   2008:8 15 (_ _)
In guix/packages.scm:
  1977:11 14 (_ _)
In guix/gexp.scm:
   1201:2 13 (_ #<store-connection 256.99 7fea863822d0>)
   1068:2 12 (_ _)
    909:4 11 (_ _)
In guix/store.scm:
  2065:12 10 (_ #<store-connection 256.99 7fea863822d0>)
  1382:11  9 (map/accumulate-builds #<store-connection 256.99 7fea8…> …)
   1300:8  8 (call-with-build-handler #<procedure 7fea85e07ea0 at g…> …)
  2180:25  7 (run-with-store #<store-connection 256.99 7fea863822d0> …)
In guix/gexp.scm:
   914:13  6 (_ _)
In guix/store.scm:
  2008:13  5 (_ #<store-connection 256.99 7fea863822d0>)
In guix/gexp.scm:
   299:51  4 (_)
In guix/packages.scm:
   2081:2  3 Exception thrown while printing backtrace:
error: search-patches: unbound variable

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
error: search-patches: unbound variable




Information forwarded to bug-guix <at> gnu.org:
bug#69209; Package guix. (Mon, 19 Feb 2024 21:20:03 GMT) Full text and rfc822 format available.

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

From: Marco Rimoldi <rimarko <at> libero.it>
To: 69209 <at> debbugs.gnu.org
Subject: bug#69209: Extended packaging example from the Guix cookbook
 produces an error
Date: Mon, 19 Feb 2024 22:18:45 +0100
Hello, I think the example is missing a line like this:

#:use-module (gnu packages)

cheers,
Marco




Information forwarded to ludo <at> gnu.org, maxim.cournoyer <at> gmail.com, bug-guix <at> gnu.org:
bug#69209; Package guix. (Thu, 24 Apr 2025 13:48:02 GMT) Full text and rfc822 format available.

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

From: Greg Hogan <code <at> greghogan.com>
To: 69209 <at> debbugs.gnu.org
Cc: Greg Hogan <code <at> greghogan.com>
Subject: [PATCH] doc: cookbook: Fix extended example.
Date: Thu, 24 Apr 2025 13:47:20 +0000
* doc/guix-cookbook.texi (Extended example): Include missing module.

Change-Id: Ibbda03344ad8762ea0c775a7eac36036c3b6200a
---
 doc/guix-cookbook.texi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi
index 6296156855..04cc5bfe0d 100644
--- a/doc/guix-cookbook.texi
+++ b/doc/guix-cookbook.texi
@@ -1014,6 +1014,7 @@ Extended example
   #:use-module (guix packages)
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
+  #:use-module (gnu packages)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)

base-commit: 9f4bdb270e178eac636df3f4bbffbe4aa3b90a67
-- 
2.49.0





Information forwarded to bug-guix <at> gnu.org:
bug#69209; Package guix. (Thu, 24 Apr 2025 21:40:03 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Greg Hogan <code <at> greghogan.com>
Cc: 69209 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: Re: bug#69209: [PATCH] doc: cookbook: Fix extended example.
Date: Thu, 24 Apr 2025 18:02:05 +0200
Greg Hogan <code <at> greghogan.com> writes:

> * doc/guix-cookbook.texi (Extended example): Include missing module.
>
> Change-Id: Ibbda03344ad8762ea0c775a7eac36036c3b6200a

LGTM!




Reply sent to Greg Hogan <code <at> greghogan.com>:
You have taken responsibility. (Tue, 29 Apr 2025 15:01:02 GMT) Full text and rfc822 format available.

Notification sent to Balthazar Potet <balthazarpotet <at> gmail.com>:
bug acknowledged by developer. (Tue, 29 Apr 2025 15:01:02 GMT) Full text and rfc822 format available.

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

From: Greg Hogan <code <at> greghogan.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, 69209-done <at> debbugs.gnu.org
Subject: Re: bug#69209: [PATCH] doc: cookbook: Fix extended example.
Date: Tue, 29 Apr 2025 11:00:18 -0400
On Thu, Apr 24, 2025 at 5:39 PM Ludovic Courtès <ludo <at> gnu.org> wrote:
>
> Greg Hogan <code <at> greghogan.com> writes:
>
> > * doc/guix-cookbook.texi (Extended example): Include missing module.
> >
> > Change-Id: Ibbda03344ad8762ea0c775a7eac36036c3b6200a
>
> LGTM!

Pushed as 47a20a125922f14b3057b585ce1c2acfb6a6dc05.




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

This bug report was last modified 36 days ago.

Previous Next


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