unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Martin Flack <martin.flack@gmail.com>
To: 34637@debbugs.gnu.org
Subject: bug#34637: inferiors example yields error from guix package
Date: Sat, 23 Feb 2019 16:16:54 -0800	[thread overview]
Message-ID: <CALNvAbcAo4b9wjG2y_ONuFkFC=cr4jVUOZCJdGL_zbXCOzxQ-g@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1924 bytes --]

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 <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.
```

```
$ 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: #<condition &store-protocol-error
[message: "build of
`/gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv' failed" status:
100] 1f80de0>
```

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

[-- Attachment #2: Type: text/html, Size: 3380 bytes --]

             reply	other threads:[~2019-02-24  0:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-24  0:16 Martin Flack [this message]
2019-03-06 13:46 ` bug#34637: inferiors example yields error from guix package Ludovic Courtès
2019-03-06 20:33   ` Martin Flack
2019-03-08 11:35     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALNvAbcAo4b9wjG2y_ONuFkFC=cr4jVUOZCJdGL_zbXCOzxQ-g@mail.gmail.com' \
    --to=martin.flack@gmail.com \
    --cc=34637@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).