From unknown Sat Aug 16 18:39:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34637: inferiors example yields error from guix package Resent-From: Martin Flack Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 24 Feb 2019 00:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34637 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 34637@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155096877515931 (code B ref -1); Sun, 24 Feb 2019 00:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Feb 2019 00:39:35 +0000 Received: from localhost ([127.0.0.1]:49669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxhpO-00048s-Lu for submit@debbugs.gnu.org; Sat, 23 Feb 2019 19:39:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxhU2-0003eZ-Sk for submit@debbugs.gnu.org; Sat, 23 Feb 2019 19:17:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:35172) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gxhTx-0005Jb-Mu for submit@debbugs.gnu.org; Sat, 23 Feb 2019 19:17:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxhTw-0003Hg-FY for bug-guix@gnu.org; Sat, 23 Feb 2019 19:17:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxhTv-0005Cy-BM for bug-guix@gnu.org; Sat, 23 Feb 2019 19:17:24 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:42888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gxhTv-00056x-0F for bug-guix@gnu.org; Sat, 23 Feb 2019 19:17:23 -0500 Received: by mail-wr1-x435.google.com with SMTP id r5so6103115wrg.9 for ; Sat, 23 Feb 2019 16:17:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=F6OvFmj66r2gGRHZ83/Dy6bjOZpma9Ir71ofHExgJEM=; b=Bq72ySPVR9cvoBGYT3fJSATAg46Ofje9HfkHbYJ9qi54wqKSrU4OrLDHhZmpTxstFf Jiv5MYLMeOpfk/0JGe423dKCIGzzG3lM5JiBqJuAW2/XrcK3GmCF9322FCrbRLkcx3Wr IeaFM7BJjsjzsMSFb0OBL0N6AjvkpF9Arf+Dnpn8PVfY2aONK5g843WB51hPHStDRnFh VK4ml/dOjrBGYbvBlZxsl8MvLWu5DVkjJgfu3btNqhHv6L+M2QicqDWf+mcKtY3JSORM Nyu1yfvrqwomxJNAvj4/DtydWZDVhwNYL6cIt/LnQ1ZqJekaLKXllIFAT53ydlDVAFTj RSsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=F6OvFmj66r2gGRHZ83/Dy6bjOZpma9Ir71ofHExgJEM=; b=KX7Ezz7f7ZHwPIKysdGDE7mqSKxOPyncNWBCIv/arwfHarN46bZTweiL+iKn774Y+P xWD3NoGP6eHv6vhziUbisp+C5jUCjAvTaVHiJuK4Nmp2lVweIj53dSMG8H3BxA5HP786 9DDAqfTHUJujAqKKV1DIkV6Dv5SpQecXOv5A+pCwMLfZ6Z/apOwrdPYWlknm65OjJxDE I0WOMucrFuWccP9jhHvGeRVcqlzij6iBoUgELPm9T6O3RHEw4uVeNgNlni7qivx0MNtB sBWPhiegyWDCsynjvlr6IdD519K2fSj1ijzs+ajb908xkoMwRdazY6KZOBFZbzlw+lFw ztyg== X-Gm-Message-State: AHQUAuZ8U+WKj+SlD8XAndyBbs7Et/gefb57jdls4Ool7lG7mmOVASjP fmXM6SvJlifn0xOIkDfe02BLTyLxU/k2WrAUoZjw4T9j X-Google-Smtp-Source: AHgI3IbtQpeoypVBkfSASRvnVVYjmMzu0bi1JxrShAE9WLi15wzZn5ac6QthQ8JAv0HfxyYAGb8pVgIa+399PBRvkMU= X-Received: by 2002:adf:b3d3:: with SMTP id x19mr234377wrd.181.1550967440743; Sat, 23 Feb 2019 16:17:20 -0800 (PST) MIME-Version: 1.0 From: Martin Flack Date: Sat, 23 Feb 2019 16:16:54 -0800 Message-ID: Content-Type: multipart/alternative; boundary="0000000000005d2431058298bf7a" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::435 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Mailman-Approved-At: Sat, 23 Feb 2019 19:39:32 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --0000000000005d2431058298bf7a Content-Type: text/plain; charset="UTF-8" I'm getting an error trying the example here: https://www.gnu.org/software/guix/manual/en/html_node/Inferiors.html ``` (use-modules (guix inferior) (guix channels) (srfi srfi-1)) ;for 'first' (define channels ;; This is the old revision from which we want to ;; extract guile-json. (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (commit "65956ad3526ba09e1f7a40722c96c6ef7c0936fe")))) (define inferior ;; An inferior representing the above revision. (inferior-for-channels channels)) ;; Now create a manifest with the current "guile" package ;; and the old "guile-json" package. (packages->manifest (list (first (lookup-inferior-packages inferior "guile-json")) (specification->package "guile"))) ``` ``` $ guix --version guix (GNU Guix) 0964671086fb9e372894e788038aee75098e61a6 Copyright (C) 2019 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ``` ``` $ guix package -n -m example-inferior.scm Updating channel 'guix' from Git repository at ' https://git.savannah.gnu.org/git/guix.git'... Computing Guix derivation for 'x86_64-linux'... | substitute: updating substitutes from 'https://bayfront.guixsd.org'... 100.0% The following derivation will be built: /gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv The following profile hook will be built: /gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv guix package: error: exception thrown: # ``` I'm running guix on ubuntu 18.04.2. I noticed bug 34402 was similar - I think I'm at the latest version of guix today. -- Martin --0000000000005d2431058298bf7a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I&= #39;m getting an error trying the example here:
<= a href=3D"https://www.gnu.org/software/guix/manual/en/html_node/Inferiors.h= tml">https://www.gnu.org/software/guix/manual/en/html_node/Inferiors.html

```
(use-modules (guix inferior) (guix channels)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(srfi srfi-1))= =C2=A0 =C2=A0;for 'first'

(define channels
=C2=A0 ;; This is the old r= evision from which we want to
=C2=A0 ;; extract guile= -json.
=C2=A0 (list (channel
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(name 'guix)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(url "https://git.savannah.gnu.org/git/guix.git"= )
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(commit
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "65956ad3526ba09e1f7a4= 0722c96c6ef7c0936fe"))))

(define inferior
=C2=A0 ;; An inferior representi= ng the above revision.
=C2=A0 (inferior-for-channels = channels))

;; Now create a= manifest with the current "guile" package
= ;; and the old "guile-json" package.
(packa= ges->manifest
=C2=A0(list (first (lookup-inferior-= packages inferior "guile-json"))
=C2=A0 =C2= =A0 =C2=A0 =C2=A0(specification->package "guile")))
= ```

```
$ guix --version
= guix (GNU Guix) 0964671086fb9e372894e788038aee75098e61a6
Copyrigh= t (C) 2019 the Guix authors
License GPLv3+: GNU GPL version 3 or = later <http://gnu.org/licen= ses/gpl.html>
This is free software: you are free to chang= e and redistribute it.
There is NO WARRANTY, to the extent permit= ted by law.
```

```
$ guix pac= kage -n -m example-inferior.scm
Updating channel 'guix' f= rom Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Computing Guix derivation for 'x86_64-linux'... |
substi= tute: updating substitutes from 'https://bayfront.guixsd.org'... 100.0%
The following de= rivation will be built:
=C2=A0 =C2=A0/gnu/store/zxrm9a410iywcdm71= crjbg2j4ggpvdbv-profile.drv
The following profile hook will be bu= ilt:
=C2=A0 =C2=A0/gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-gui= x-package-cache.drv
guix package: error: exception thrown: #<c= ondition &store-protocol-error [message: "build of `/gnu/store/zxr= m9a410iywcdm71crjbg2j4ggpvdbv-profile.drv' failed" status: 100] 1f= 80de0>
```

I'm running guix= on=C2=A0ubuntu 18.04.2.

I noticed bug 34402 was s= imilar - I think I'm at the latest version of guix today.
--

Martin
--0000000000005d2431058298bf7a-- From unknown Sat Aug 16 18:39:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34637: inferiors example yields error from guix package Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 06 Mar 2019 13:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34637 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Martin Flack Cc: 34637@debbugs.gnu.org Received: via spool by 34637-submit@debbugs.gnu.org id=B34637.155187996720483 (code B ref 34637); Wed, 06 Mar 2019 13:47:01 +0000 Received: (at 34637) by debbugs.gnu.org; 6 Mar 2019 13:46:07 +0000 Received: from localhost ([127.0.0.1]:33838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1Ws3-0005KJ-F8 for submit@debbugs.gnu.org; Wed, 06 Mar 2019 08:46:07 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:58746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1Ws1-0005KA-PL for 34637@debbugs.gnu.org; Wed, 06 Mar 2019 08:46:06 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 9CA89A99C; Wed, 6 Mar 2019 14:46:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h_uDKHWw-UOl; Wed, 6 Mar 2019 14:46:03 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id DC35DA8E2; Wed, 6 Mar 2019 14:46:02 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (Martin Flack's message of "Sat, 23 Feb 2019 16:16:54 -0800") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 =?UTF-8?Q?Vent=C3=B4se?= an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 06 Mar 2019 14:46:02 +0100 Message-ID: <87a7i8i09x.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Martin, Martin Flack skribis: > I'm getting an error trying the example here: > https://www.gnu.org/software/guix/manual/en/html_node/Inferiors.html [...] > $ guix package -n -m example-inferior.scm > Updating channel 'guix' from Git repository at ' > https://git.savannah.gnu.org/git/guix.git'... > Computing Guix derivation for 'x86_64-linux'... | > substitute: updating substitutes from 'https://bayfront.guixsd.org'... > 100.0% > The following derivation will be built: > /gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv > The following profile hook will be built: > /gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv > guix package: error: exception thrown: # [message: "build of > `/gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv' failed" status: > 100] 1f80de0> Could you paste the file reported by: guix build --log-file /gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile= .drv ? TIA, Ludo=E2=80=99. From unknown Sat Aug 16 18:39:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34637: inferiors example yields error from guix package Resent-From: Martin Flack Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 06 Mar 2019 20:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34637 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 34637@debbugs.gnu.org Received: via spool by 34637-submit@debbugs.gnu.org id=B34637.155190443210635 (code B ref 34637); Wed, 06 Mar 2019 20:34:01 +0000 Received: (at 34637) by debbugs.gnu.org; 6 Mar 2019 20:33:52 +0000 Received: from localhost ([127.0.0.1]:34724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1dEd-0002lT-RN for submit@debbugs.gnu.org; Wed, 06 Mar 2019 15:33:52 -0500 Received: from mail-wm1-f44.google.com ([209.85.128.44]:33003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1dEb-0002lC-5z for 34637@debbugs.gnu.org; Wed, 06 Mar 2019 15:33:49 -0500 Received: by mail-wm1-f44.google.com with SMTP id c13so5247533wmb.0 for <34637@debbugs.gnu.org>; Wed, 06 Mar 2019 12:33:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nr7DWsF0YZeU/q3nvuqOS0+hC/uTPv50uXtOouvJtSc=; b=ob8ChB+J0tehXv3jhVN/LCUuHqbw5qKcv16tF03zy3M1DonKvap4nCRlojLu6RVqI1 3Lf/1WffjglseC+5Y81GETogRKpS5ZDkmrCS0vw+zLC9XqpJuUR+InaoO/9QFsIfP9jk s0ktx+sAc+HQMHkGYX9hn5iLVTBryK9HC9nUC7butjZG1fIMwP19F1zs8OWpxiTNlk64 Go3PbcGKwZs5HlyNY5o/il40e0BVv8cFwVD4MihrYNMmHMFuR6006DGGqr+iD3G7yLfn qWyiUDdj+yO1y1vHLEBGz6/a5QzNoFrTmapblL0jMbezXgCtTbYXgf5ad1lfDuKQ+iIX S9ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nr7DWsF0YZeU/q3nvuqOS0+hC/uTPv50uXtOouvJtSc=; b=c8IN+4kDK7sLLSe1IhBiWCKTVyqZOm5d8LUILyXvLiMzSqJ71L+o/OJmCsDQlKkYjl yCthxp0XGRavu6RVx0EG9SCUsR8ZKsgX+o79Vr4C1UtMi3RHYogoLhLJhyseJstiZrHJ 0aUoX1uBcDJl54THhftHToatWdluV5l0hVuRgQJmGpVtdMSVPCiz+onVo3Jktqp00AXW XeoSaz2qAUWb9BaC24+1+Mf3gxLB04lFe+Bo+riy1QvK9K47GrQS5zCbRGbl3gxOjNiD KV6grzjZnet+3jhuGe2hkypVNbB6pgkOAscksE5tkxjbMqp5DObe/v6o6wdHsjnCYYB1 RjVg== X-Gm-Message-State: APjAAAVIvpQnTBYV1mONkrWu8U1hgvGrzT652Vb6oP4KvmKYbpf1XquB +wf313pdKFfIm3KOw9JK9PBz6pGUic3E36ikRQU= X-Google-Smtp-Source: APXvYqzG4GEH9Q6VYEZCFxuqQSb+TQb3AZ+krQ5ov5CiJe9OFrr5S0vMmA//7dXXHO9FAZTJVNwwG8JH6Ehf1T+FoBA= X-Received: by 2002:a1c:38b:: with SMTP id 133mr3561834wmd.26.1551904423018; Wed, 06 Mar 2019 12:33:43 -0800 (PST) MIME-Version: 1.0 References: <87a7i8i09x.fsf@gnu.org> In-Reply-To: <87a7i8i09x.fsf@gnu.org> From: Martin Flack Date: Wed, 6 Mar 2019 12:33:17 -0800 Message-ID: Content-Type: multipart/alternative; boundary="000000000000dc06c8058372e713" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000dc06c8058372e713 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That said there was no log file, but I've pulled since, so I pulled again and redid the test. `` $ guix --version guix (GNU Guix) 3546e97f38bb4dfa4c016cd7a20d4add277ca8f7 Copyright (C) 2019 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. $ guix package -n -m example-inferior.scm Updating channel 'guix' from Git repository at ' https://git.savannah.gnu.org/git/guix.git'... Computing Guix derivation for 'x86_64-linux'... \ substitute: updating substitutes from 'https://bayfront.guixsd.org'... 100.0% The following derivation will be built: /gnu/store/b5qmqrs7fjd0w7zh5zgm4an21v1alich-profile.drv The following profile hook will be built: /gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv /guix package: error: exception thrown: # $ guix build --log-file /gnu/store/b5qmqrs7fjd0w7zh5zgm4an21v1alich-profile.drv guix build: error: no build log for '/gnu/store/b5qmqrs7fjd0w7zh5zgm4an21v1alich-profile.drv' ``` There is maybe an extra clue in guix environment output, regarding repl: ``` $ guix environment --ad-hoc -m example-inferior.scm Updating channel 'guix' from Git repository at ' https://git.savannah.gnu.org/git/guix.git'... Computing Guix derivation for 'x86_64-linux'... | The following derivation will be built: /gnu/store/caqr64cryz42nh687mg8p7dnpjk3dhqn-profile.drv The following profile hook will be built: /gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv building path(s) `/gnu/store/yd83jmcpivf6aqzbhx5qwv59fcv40wd9-guix-package-cache' guix: repl: command not found Try `guix --help' for more information. Backtrace: 1 (primitive-load "/gnu/store/fgxq3d1zix70k2acrrcg1yn9qj0?") 0 (scm-error misc-error #f "~A ~S" ("inferior failed" #) #f) ERROR: In procedure scm-error: inferior failed "/gnu/store/2gln2fjds54kb97yxyz1mfa3hrrcrwlv-profile" builder for `/gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv' failed with exit code 1 cannot build derivation `/gnu/store/caqr64cryz42nh687mg8p7dnpjk3dhqn-profile.drv': 1 dependencies couldn't be built guix environment: error: exception thrown: # ``` On Wed, Mar 6, 2019 at 5:46 AM Ludovic Court=C3=A8s wrote: > Hi Martin, > > Martin Flack skribis: > > > I'm getting an error trying the example here: > > https://www.gnu.org/software/guix/manual/en/html_node/Inferiors.html > > [...] > > > $ guix package -n -m example-inferior.scm > > Updating channel 'guix' from Git repository at ' > > https://git.savannah.gnu.org/git/guix.git'... > > Computing Guix derivation for 'x86_64-linux'... | > > substitute: updating substitutes from 'https://bayfront.guixsd.org'... > > 100.0% > > The following derivation will be built: > > /gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv > > The following profile hook will be built: > > /gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv > > guix package: error: exception thrown: # > [message: "build of > > `/gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv' failed" statu= s: > > 100] 1f80de0> > > Could you paste the file reported by: > > guix build --log-file > /gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv > > ? > > TIA, > Ludo=E2=80=99. > --=20 Martin --000000000000dc06c8058372e713 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That said there was no log file, but I've pulled since, so I = pulled again and redid the test.

``
$ gui= x --version
guix (GNU Guix) 3546e97f38bb4dfa4c016cd7a20d4add277ca= 8f7
Copyright (C) 2019 the Guix authors
License GPLv3+:= GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software:= you are free to change and redistribute it.
There is NO WARRANTY= , to the extent permitted by law.

$ gui= x package -n -m example-inferior.scm=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0=C2=A0
Updating channel 'guix' from Git = repository at 'https://git.savannah.gnu.org/git/guix.git'...
Computi= ng Guix derivation for 'x86_64-linux'... \
substitute: up= dating substitutes from 'https:= //bayfront.guixsd.org'... 100.0%
The following derivation= will be built:
=C2=A0 =C2=A0/gnu/store/b5qmqrs7fjd0w7zh5zgm4an21= v1alich-profile.drv
The following profile hook will be built:
=C2=A0 =C2=A0/gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-packag= e-cache.drv
/guix package: error: exception thrown: #<conditio= n &store-protocol-error [message: "build of `/gnu/store/b5qmqrs7fj= d0w7zh5zgm4an21v1alich-profile.drv' failed" status: 100] 4a4c750&g= t;

$ guix build --log-file /gnu/store/b5qmqrs7fjd0= w7zh5zgm4an21v1alich-profile.drv
guix build: error: no build log = for '/gnu/store/b5qmqrs7fjd0w7zh5zgm4an21v1alich-profile.drv'
=
```

There is maybe an extra clue in= guix environment output, regarding repl:

```
$ guix environment --ad-hoc -m example-inferior.scm=C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0
Updati= ng channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/gui= x.git'...
Computing Guix derivation for 'x86_64-linux= '... |
The following derivation will be built:
=C2= =A0 =C2=A0/gnu/store/caqr64cryz42nh687mg8p7dnpjk3dhqn-profile.drv
The following profile hook will be built:
=C2=A0 =C2=A0/gnu/stor= e/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv
buildin= g path(s) `/gnu/store/yd83jmcpivf6aqzbhx5qwv59fcv40wd9-guix-package-cache&#= 39;
guix: repl: command not found
Try `guix --help'= for more information.
Backtrace:
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A01 (primitive-load "/gnu/store/fgxq3d1zix70k2acrrcg= 1yn9qj0?")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00 (scm-e= rror misc-error #f "~A ~S" ("inferior failed" #) #f)

ERROR: In procedure scm-error:
inferior fa= iled "/gnu/store/2gln2fjds54kb97yxyz1mfa3hrrcrwlv-profile"
<= div>builder for `/gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-c= ache.drv' failed with exit code 1
cannot build derivation `/g= nu/store/caqr64cryz42nh687mg8p7dnpjk3dhqn-profile.drv': 1 dependencies = couldn't be built
guix environment: error: exception thrown: = #<condition &store-protocol-error [message: "build of `/gnu/sto= re/caqr64cryz42nh687mg8p7dnpjk3dhqn-profile.drv' failed" status: 1= 00] 52e43f0>
```

<= /div>

On Wed, Mar 6, 2019 at 5:46 AM Ludovic Court=C3=A8s <ludo@gnu.org> wrote:
Hi Martin,

Martin Flack <martin.flack@gmail.com> skribis:

> I'm getting an error trying the example here:
> https://www.gnu.org/softwar= e/guix/manual/en/html_node/Inferiors.html

[...]

> $ guix package -n -m example-inferior.scm
> Updating channel 'guix' from Git repository at '
> https://git.savannah.gnu.org/git/guix.git'.<= /a>..
> Computing Guix derivation for 'x86_64-linux'... |
> substitute: updating substitutes from '
https://bayfront.guixsd.o= rg'...
> 100.0%
> The following derivation will be built:
>=C2=A0 =C2=A0 /gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv > The following profile hook will be built:
>=C2=A0 =C2=A0 /gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-= cache.drv
> guix package: error: exception thrown: #<condition &store-proto= col-error
> [message: "build of
> `/gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv' failed&q= uot; status:
> 100] 1f80de0>

Could you paste the file reported by:

=C2=A0 guix build --log-file /gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-pr= ofile.drv

?

TIA,
Ludo=E2=80=99.


--

Martin
--000000000000dc06c8058372e713-- From unknown Sat Aug 16 18:39:12 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Martin Flack Subject: bug#34637: closed (Re: bug#34637: inferiors example yields error from guix package) Message-ID: References: <87h8cdha4m.fsf@gnu.org> X-Gnu-PR-Message: they-closed 34637 X-Gnu-PR-Package: guix Reply-To: 34637@debbugs.gnu.org Date: Fri, 08 Mar 2019 11:36:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1552044962-512-1" This is a multi-part message in MIME format... ------------=_1552044962-512-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #34637: inferiors example yields error from guix package which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 34637@debbugs.gnu.org. --=20 34637: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34637 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1552044962-512-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 34637-done) by debbugs.gnu.org; 8 Mar 2019 11:35:40 +0000 Received: from localhost ([127.0.0.1]:35902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h2Dmt-00007e-RS for submit@debbugs.gnu.org; Fri, 08 Mar 2019 06:35:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h2Dms-00007S-Vc for 34637-done@debbugs.gnu.org; Fri, 08 Mar 2019 06:35:39 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2Dmk-00063q-Iu; Fri, 08 Mar 2019 06:35:30 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=41150 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h2Dmd-0000Pn-Hi; Fri, 08 Mar 2019 06:35:24 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Martin Flack Subject: Re: bug#34637: inferiors example yields error from guix package References: <87a7i8i09x.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 =?utf-8?Q?Vent=C3=B4se?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 08 Mar 2019 12:35:21 +0100 In-Reply-To: (Martin Flack's message of "Wed, 6 Mar 2019 12:33:17 -0800") Message-ID: <87h8cdha4m.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34637-done Cc: 34637-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Martin Flack skribis: > $ guix --version > guix (GNU Guix) 3546e97f38bb4dfa4c016cd7a20d4add277ca8f7 [...] > There is maybe an extra clue in guix environment output, regarding repl: > > ``` > $ guix environment --ad-hoc -m example-inferior.scm > > Updating channel 'guix' from Git repository at ' > https://git.savannah.gnu.org/git/guix.git'... > Computing Guix derivation for 'x86_64-linux'... | > The following derivation will be built: > /gnu/store/caqr64cryz42nh687mg8p7dnpjk3dhqn-profile.drv > The following profile hook will be built: > /gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv > building path(s) > `/gnu/store/yd83jmcpivf6aqzbhx5qwv59fcv40wd9-guix-package-cache' > guix: repl: command not found > Try `guix --help' for more information. > Backtrace: > 1 (primitive-load "/gnu/store/fgxq3d1zix70k2acrrcg1yn9qj0?") > 0 (scm-error misc-error #f "~A ~S" ("inferior failed" #) #f) > > ERROR: In procedure scm-error: > inferior failed "/gnu/store/2gln2fjds54kb97yxyz1mfa3hrrcrwlv-profile" > builder for > `/gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv' fail= ed > with exit code 1 Oh, got it. Commit 4035fcba93aaf551f4b5698045f025aa61287e17 fixes it, thank you! Ludo=E2=80=99. ------------=_1552044962-512-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Feb 2019 00:39:35 +0000 Received: from localhost ([127.0.0.1]:49669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxhpO-00048s-Lu for submit@debbugs.gnu.org; Sat, 23 Feb 2019 19:39:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxhU2-0003eZ-Sk for submit@debbugs.gnu.org; Sat, 23 Feb 2019 19:17:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:35172) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gxhTx-0005Jb-Mu for submit@debbugs.gnu.org; Sat, 23 Feb 2019 19:17:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxhTw-0003Hg-FY for bug-guix@gnu.org; Sat, 23 Feb 2019 19:17:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxhTv-0005Cy-BM for bug-guix@gnu.org; Sat, 23 Feb 2019 19:17:24 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:42888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gxhTv-00056x-0F for bug-guix@gnu.org; Sat, 23 Feb 2019 19:17:23 -0500 Received: by mail-wr1-x435.google.com with SMTP id r5so6103115wrg.9 for ; Sat, 23 Feb 2019 16:17:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=F6OvFmj66r2gGRHZ83/Dy6bjOZpma9Ir71ofHExgJEM=; b=Bq72ySPVR9cvoBGYT3fJSATAg46Ofje9HfkHbYJ9qi54wqKSrU4OrLDHhZmpTxstFf Jiv5MYLMeOpfk/0JGe423dKCIGzzG3lM5JiBqJuAW2/XrcK3GmCF9322FCrbRLkcx3Wr IeaFM7BJjsjzsMSFb0OBL0N6AjvkpF9Arf+Dnpn8PVfY2aONK5g843WB51hPHStDRnFh VK4ml/dOjrBGYbvBlZxsl8MvLWu5DVkjJgfu3btNqhHv6L+M2QicqDWf+mcKtY3JSORM Nyu1yfvrqwomxJNAvj4/DtydWZDVhwNYL6cIt/LnQ1ZqJekaLKXllIFAT53ydlDVAFTj RSsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=F6OvFmj66r2gGRHZ83/Dy6bjOZpma9Ir71ofHExgJEM=; b=KX7Ezz7f7ZHwPIKysdGDE7mqSKxOPyncNWBCIv/arwfHarN46bZTweiL+iKn774Y+P xWD3NoGP6eHv6vhziUbisp+C5jUCjAvTaVHiJuK4Nmp2lVweIj53dSMG8H3BxA5HP786 9DDAqfTHUJujAqKKV1DIkV6Dv5SpQecXOv5A+pCwMLfZ6Z/apOwrdPYWlknm65OjJxDE I0WOMucrFuWccP9jhHvGeRVcqlzij6iBoUgELPm9T6O3RHEw4uVeNgNlni7qivx0MNtB sBWPhiegyWDCsynjvlr6IdD519K2fSj1ijzs+ajb908xkoMwRdazY6KZOBFZbzlw+lFw ztyg== X-Gm-Message-State: AHQUAuZ8U+WKj+SlD8XAndyBbs7Et/gefb57jdls4Ool7lG7mmOVASjP fmXM6SvJlifn0xOIkDfe02BLTyLxU/k2WrAUoZjw4T9j X-Google-Smtp-Source: AHgI3IbtQpeoypVBkfSASRvnVVYjmMzu0bi1JxrShAE9WLi15wzZn5ac6QthQ8JAv0HfxyYAGb8pVgIa+399PBRvkMU= X-Received: by 2002:adf:b3d3:: with SMTP id x19mr234377wrd.181.1550967440743; Sat, 23 Feb 2019 16:17:20 -0800 (PST) MIME-Version: 1.0 From: Martin Flack Date: Sat, 23 Feb 2019 16:16:54 -0800 Message-ID: Subject: inferiors example yields error from guix package To: bug-guix@gnu.org Content-Type: multipart/alternative; boundary="0000000000005d2431058298bf7a" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::435 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 23 Feb 2019 19:39:32 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --0000000000005d2431058298bf7a Content-Type: text/plain; charset="UTF-8" I'm getting an error trying the example here: https://www.gnu.org/software/guix/manual/en/html_node/Inferiors.html ``` (use-modules (guix inferior) (guix channels) (srfi srfi-1)) ;for 'first' (define channels ;; This is the old revision from which we want to ;; extract guile-json. (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (commit "65956ad3526ba09e1f7a40722c96c6ef7c0936fe")))) (define inferior ;; An inferior representing the above revision. (inferior-for-channels channels)) ;; Now create a manifest with the current "guile" package ;; and the old "guile-json" package. (packages->manifest (list (first (lookup-inferior-packages inferior "guile-json")) (specification->package "guile"))) ``` ``` $ guix --version guix (GNU Guix) 0964671086fb9e372894e788038aee75098e61a6 Copyright (C) 2019 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ``` ``` $ guix package -n -m example-inferior.scm Updating channel 'guix' from Git repository at ' https://git.savannah.gnu.org/git/guix.git'... Computing Guix derivation for 'x86_64-linux'... | substitute: updating substitutes from 'https://bayfront.guixsd.org'... 100.0% The following derivation will be built: /gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv The following profile hook will be built: /gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv guix package: error: exception thrown: # ``` I'm running guix on ubuntu 18.04.2. I noticed bug 34402 was similar - I think I'm at the latest version of guix today. -- Martin --0000000000005d2431058298bf7a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I&= #39;m getting an error trying the example here:
<= a href=3D"https://www.gnu.org/software/guix/manual/en/html_node/Inferiors.h= tml">https://www.gnu.org/software/guix/manual/en/html_node/Inferiors.html

```
(use-modules (guix inferior) (guix channels)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(srfi srfi-1))= =C2=A0 =C2=A0;for 'first'

(define channels
=C2=A0 ;; This is the old r= evision from which we want to
=C2=A0 ;; extract guile= -json.
=C2=A0 (list (channel
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(name 'guix)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(url "https://git.savannah.gnu.org/git/guix.git"= )
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(commit
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "65956ad3526ba09e1f7a4= 0722c96c6ef7c0936fe"))))

(define inferior
=C2=A0 ;; An inferior representi= ng the above revision.
=C2=A0 (inferior-for-channels = channels))

;; Now create a= manifest with the current "guile" package
= ;; and the old "guile-json" package.
(packa= ges->manifest
=C2=A0(list (first (lookup-inferior-= packages inferior "guile-json"))
=C2=A0 =C2= =A0 =C2=A0 =C2=A0(specification->package "guile")))
= ```

```
$ guix --version
= guix (GNU Guix) 0964671086fb9e372894e788038aee75098e61a6
Copyrigh= t (C) 2019 the Guix authors
License GPLv3+: GNU GPL version 3 or = later <http://gnu.org/licen= ses/gpl.html>
This is free software: you are free to chang= e and redistribute it.
There is NO WARRANTY, to the extent permit= ted by law.
```

```
$ guix pac= kage -n -m example-inferior.scm
Updating channel 'guix' f= rom Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Computing Guix derivation for 'x86_64-linux'... |
substi= tute: updating substitutes from 'https://bayfront.guixsd.org'... 100.0%
The following de= rivation will be built:
=C2=A0 =C2=A0/gnu/store/zxrm9a410iywcdm71= crjbg2j4ggpvdbv-profile.drv
The following profile hook will be bu= ilt:
=C2=A0 =C2=A0/gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-gui= x-package-cache.drv
guix package: error: exception thrown: #<c= ondition &store-protocol-error [message: "build of `/gnu/store/zxr= m9a410iywcdm71crjbg2j4ggpvdbv-profile.drv' failed" status: 100] 1f= 80de0>
```

I'm running guix= on=C2=A0ubuntu 18.04.2.

I noticed bug 34402 was s= imilar - I think I'm at the latest version of guix today.
--

Martin
--0000000000005d2431058298bf7a-- ------------=_1552044962-512-1--