unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Vagrant Cascadian <vagrant@debian.org>
To: Philip McGrath <philip@philipmcgrath.com>, help-guix@gnu.org
Subject: Re: Failed to autoload read-substitute-urls in (guix scripts discover)
Date: Fri, 09 Jun 2023 11:43:38 -0700	[thread overview]
Message-ID: <875y7weasl.fsf@wireframe> (raw)
In-Reply-To: <74786e26-0653-46be-850f-2bcbefa83e55@app.fastmail.com>

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

On 2023-06-07, Philip McGrath wrote:
> On a Debian Bookworm system, most Guix commands are failing for me with errors like the following unless I supply --no-substitutes:
> ```
> philip@avalon:~$ guix build hello
> substitute: ;;; Failed to autoload read-substitute-urls in (guix scripts discover):
...
> substitute: In unknown file:
> substitute:            1 (primitive-load-path "guix/scripts/substitute" #<proced…>)
> substitute: In guix/scripts/substitute.scm:
> substitute:    753:33  0 (_)
> substitute: 
> substitute: guix/scripts/substitute.scm:753:33: error: read-substitute-urls: unbound variable
> guix build: error: `/usr/bin/guix substitute' died unexpectedly
> philip@avalon:~$ command -v guix
> /home/philip/.config/guix/current/bin/guix
> ```

I don't seem to have this problem on Debian bookworm with guix
1.4.0-3. I also uploaded 1.4.0-4 with possibly related fixes, but that
is stuck in sid/unstable for now...

Not sure if it matters, but I am not using guix home...


> It's possible that this could be somehow related to
> <https://lists.gnu.org/archive/html/guix-devel/2023-05/msg00235.html>,
> but I've applied the same workaround I use on a Kubuntu 22.10 system
> that doesn't have this problem.

Does it work at all *without* the workaround (presumably logging out and
back in again, etc.)?

Do older guix pull generations work?


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2023-06-09 18:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-08  0:27 Failed to autoload read-substitute-urls in (guix scripts discover) Philip McGrath
2023-06-09 18:43 ` Vagrant Cascadian [this message]
2023-06-22  1:23   ` Philip McGrath
2023-06-22 16:44     ` Vagrant Cascadian
2023-06-23  4:53       ` Philip McGrath
2023-06-23  6:50         ` Vagrant Cascadian
2023-06-23  6:56           ` Philip McGrath
2023-06-23 18:44             ` Vagrant Cascadian

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=875y7weasl.fsf@wireframe \
    --to=vagrant@debian.org \
    --cc=help-guix@gnu.org \
    --cc=philip@philipmcgrath.com \
    /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.
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).