From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: bug#34402: Inferior channel (I believe 'inferior-for-channels' function specifically) sometimes fails Date: Sat, 09 Feb 2019 11:11:39 +0000 (GMT) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsQYF-0006WH-Ne for bug-guix@gnu.org; Sat, 09 Feb 2019 06:12:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsQYE-00010O-RB for bug-guix@gnu.org; Sat, 09 Feb 2019 06:12:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41230) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsQYE-00010J-N9 for bug-guix@gnu.org; Sat, 09 Feb 2019 06:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gsQYE-0004Kl-FN for bug-guix@gnu.org; Sat, 09 Feb 2019 06:12:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:51810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsQY0-0006Vw-TM for bug-guix@gnu.org; Sat, 09 Feb 2019 06:11:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsQXy-0000uU-03 for bug-guix@gnu.org; Sat, 09 Feb 2019 06:11:46 -0500 Received: from aibo.runbox.com ([91.220.196.211]:57750) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsQXw-0000so-Qu for bug-guix@gnu.org; Sat, 09 Feb 2019 06:11:45 -0500 Received: from [10.9.9.129] (helo=rmmprod07.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1gsQXs-0002yV-1t for bug-guix@gnu.org; Sat, 09 Feb 2019 12:11:40 +0100 Received: from mail by rmmprod07.runbox with local (Exim 4.86_2) (envelope-from ) id 1gsQXs-0001oo-0Z for bug-guix@gnu.org; Sat, 09 Feb 2019 12:11:40 +0100 Content-Disposition: inline Received: from [Authenticated user (850733)] by runbox.com with http (RMM6); for ; Sat, 09 Feb 2019 11:11:39 GMT List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 34402@debbugs.gnu.org Often I'll get this output when building a manifest* with an inferior: ``` itsme@antelope /tmp$ guix package -n -m example-inferior.scm=20 Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... guix package: error: failed to load 'example-inferior.scm': ``` I believe this is the 'inferior-for-channels' function that fails. After investigating a while back, it seems removing the relevant checkout i= n ~/.cache/guix/checkouts temporarily fixes it, but the issue often comes b= ack. * The manifest used is the example from the Guix manual in the section on I= nferiors, with the guix commit in the manifest replaced with my guix revisi= on: ``` (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 "722ac64cd7dc1f09fb77e2ae780427fa13c03110")))) (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"))) ```=