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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Balthazar Potet <balthazarpotet@HIDDEN>; dated Sun, 18 Feb 2024 18:23:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 69209 <at> debbugs.gnu.org:


Received: (at 69209) by debbugs.gnu.org; 19 Feb 2024 21:19:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 19 16:19:17 2024
Received: from localhost ([127.0.0.1]:43629 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rcB2j-0002J2-G5
	for submit <at> debbugs.gnu.org; Mon, 19 Feb 2024 16:19:17 -0500
Received: from smtp-32.italiaonline.it ([213.209.10.32]:45792 helo=libero.it)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rimarko@HIDDEN>) id 1rcB2g-0002Im-BX
 for 69209 <at> debbugs.gnu.org; Mon, 19 Feb 2024 16:19:16 -0500
Received: from localhost ([93.38.119.137]) by smtp-32.iol.local with ESMTPA
 id cB2ErSnp7XHQGcB2Er0lTT; Mon, 19 Feb 2024 22:18:46 +0100
x-libjamoibt: 1601
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021;
 t=1708377526; bh=njur25QQh4zC2u0ZlfOqfAq/TZto0mNzDFrX0XkZbYU=;
 h=From;
 b=NluiDkjIL7lTVTGMzLqV4V+zcFbbN6Bwek4J1p9aZp6qRYItuprB4usj5PFpMP1i3
 8YNzi4OhN0DYGtBMD9XOIRGeWrGds2ewQMOhVmvek00NgGDkQujpv0JdhuogAY3w1m
 zkVxnb3rlUO/KME+Wxcbw9cMcumWdnDCiDhG3VXBmcC+WE0pDnceHAPoUGpXRmDLUN
 53LiiXM5icPr9qeWdpKPrfsed+8merESjT7KB6A1fzp+nbBVfgIzcH+O+/XNMkO7Yd
 6TYqHns8f9973/UB0+zAGD5pZcusZZTqRpDTBtB39y+9XQr7CNKgUwzErIVyIlg/oD
 Yrsc/7mZLld/w==
X-CNFS-Analysis: v=2.4 cv=ULV+Hzfy c=1 sm=1 tr=0 ts=65d3c5b6 cx=a_exe
 a=zr5aN+YwjWvrDHBFAPbA8Q==:117 a=zr5aN+YwjWvrDHBFAPbA8Q==:17
 a=kj9zAlcOel0A:10 a=unSNuK8E2BwyG5jLWHAA:9 a=CjuIK1q_8ugA:10
Date: Mon, 19 Feb 2024 22:18:45 +0100
From: Marco Rimoldi <rimarko@HIDDEN>
To: 69209 <at> debbugs.gnu.org
Subject: bug#69209: Extended packaging example from the Guix cookbook
 produces an error
Message-ID: <20240219221845.036b5fae@HIDDEN>
X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4xfCtwlZBVaReJ9KAxN5w7kaln2D3g1PJQPqJDLQZDpYNgO2UACqbc+3Hd0x6XdI4pNu2oZtRfaoZBcJ5ohHR13dt07W4kCFYTeT/W+9VAS3B/DMoLKdPQ
 1SNRIg1nIQg6Tn2J+4RNy2fY9/W9NETupnadr3HppMhcZA/JM1JlT+T2pUJnPB6wxm1FvjOTfGcUlw==
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 69209
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.9 (--)

Hello, I think the example is missing a line like this:

#:use-module (gnu packages)

cheers,
Marco




Information forwarded to bug-guix@HIDDEN:
bug#69209; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Feb 2024 18:22:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 18 13:22:27 2024
Received: from localhost ([127.0.0.1]:37057 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rblo2-00032E-Af
	for submit <at> debbugs.gnu.org; Sun, 18 Feb 2024 13:22:26 -0500
Received: from lists.gnu.org ([209.51.188.17]:53956)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <balthazarpotet@HIDDEN>) id 1rblQk-0001mW-I9
 for submit <at> debbugs.gnu.org; Sun, 18 Feb 2024 12:58:22 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <balthazarpotet@HIDDEN>)
 id 1rbOR8-0007wh-2r
 for bug-guix@HIDDEN; Sat, 17 Feb 2024 12:25:14 -0500
Received: from mail-ua1-x92c.google.com ([2607:f8b0:4864:20::92c])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <balthazarpotet@HIDDEN>)
 id 1rbOR6-0000wH-LZ
 for bug-guix@HIDDEN; Sat, 17 Feb 2024 12:25:13 -0500
Received: by mail-ua1-x92c.google.com with SMTP id
 a1e0cc1a2514c-7d5bddb0f4cso1161828241.2
 for <bug-guix@HIDDEN>; Sat, 17 Feb 2024 09:25:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1708190711; x=1708795511; darn=gnu.org;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=meB+MaBt9y3mgiFy5fmasAXJufeN0MG3Ba9/NRnDaoI=;
 b=AHJukmChljU40dxxbpL4dusrH1PxxLFpF3IeCxTbA38bN/gqKqxl3Y41roMdB+S0lL
 bX30tedh7rb0YEi7uPvGW1tyCveevuxF4ivmCRHTxplIjHBC1vyuPtQuuiWOr6tNJZel
 MlNrIB9MZuFWnESRkCBEuPAur3TpZG1fu1XffTGEcyvClmaA9FAOc8r6fbjNsBF8bntF
 DRmfaACWxTtKJRJrGiXyZZXohHXrzEGlaXXn7njqyyzr3xFWKgtq6AAmEm0YVxnfMCva
 CnLsgbkykxbmB7Q7veUiPgJssg3z8530i5wcl0bYU4fVe6w+llFL36w+mV+peD8ZSaSB
 j0wQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1708190711; x=1708795511;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=meB+MaBt9y3mgiFy5fmasAXJufeN0MG3Ba9/NRnDaoI=;
 b=Q/cGgTwZeUuydK4VlyrciVB2Gla2lOr53+RKputLogWYjA9dAuQKEBOpZpN6rkUivo
 KXiiqCTjbgaW9BsjeMDLPt3NNhatUCfJ872br85c4VzK6Kk2W/qiLsGrlGeX48pMbrIX
 WI/PT7vC/4bhF57IOVwJY4M/d5oYdXG+RoOTdDFjLaT/Hr2hYxoHRGMVS0bbgX5csKRU
 Hphkk7eFMmFBErFEyOAp8xLbemNS1XVx6FfOM9l3tcsrLT6qTrj8fPBMn3W9mqnz7MpB
 1zI9ZUM/zJw50tvGvKEcJmoQSbTyZWFI8ur4oofoNs3Ceu7EAgK0hw7a5HTVQk8kjtCZ
 f2+A==
X-Gm-Message-State: AOJu0Yz7gufPxaXDIhHGOeSj82nI1zrwTOGSmEhQ+NQ6fufCiH/esQGq
 DPFHITAMiyhuCm1A7AOdHbFotxwJ5V1JE6jsWuVza2C2zmFI7scLh6hOQJphcLlKN/4GxnRau/u
 U1zOHSIjhJ2D9oX6ZEk7/cwWIHyzsrnoOGY3FtA==
X-Google-Smtp-Source: AGHT+IH785WGzQJjwG1VzyHI1egkILCkKAYV48OV5pklRUcV7Tbrli3UUGhIKcUr7gS901wQQ+WwD/EqQ96lxPPBzJg=
X-Received: by 2002:a05:6102:f14:b0:46d:1fca:3f4f with SMTP id
 v20-20020a0561020f1400b0046d1fca3f4fmr9481137vss.16.1708190711318; Sat, 17
 Feb 2024 09:25:11 -0800 (PST)
MIME-Version: 1.0
From: Balthazar Potet <balthazarpotet@HIDDEN>
Date: Sat, 17 Feb 2024 18:25:00 +0100
Message-ID: <CAFKDfEKM1dgZgK06f0dyQfZQ7CfAUSCXc0R+iT+z3qYM1_wBeg@HIDDEN>
Subject: Extended packaging example from the Guix cookbook produces an error
To: bug-guix@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::92c;
 envelope-from=balthazarpotet@HIDDEN; helo=mail-ua1-x92c.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, 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: -3.5 (---)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.5 (----)

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-exa=
mple

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> =E2=80=
=A6)
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=E2=80=
=A6> =E2=80=A6)
   1300:8  8 (call-with-build-handler #<procedure 7fea85e07ea0 at g=E2=80=
=A6> =E2=80=A6)
  2180:25  7 (run-with-store #<store-connection 256.99 7fea863822d0> =E2=80=
=A6)
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




Acknowledgement sent to Balthazar Potet <balthazarpotet@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#69209; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 19 Feb 2024 21:30:02 UTC

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