From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oMvqNdSik2SZJAEASxT56A (envelope-from ) for ; Thu, 22 Jun 2023 03:24:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UIIvNdSik2SPXwEAG6o9tA (envelope-from ) for ; Thu, 22 Jun 2023 03:24:36 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D15B3A20A for ; Thu, 22 Jun 2023 03:24:35 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm2 header.b=cNmcknoW; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="W 4nWc5f"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687397076; a=rsa-sha256; cv=none; b=W4Ro2H7iv6IZQEU0+0h/IvzQ2Q35eSbUdoNVotZGECuXmXlo/VqoSsDSWbyCKrPXYr2jbr +iiNo38/9O9ZheensX1HkaFrKEa2pB0R7NRhg8jPjIgEYU5QzC50Bau/quU/gT25bkYEgJ Fk51LNStvum0IU3u0NULgM+2QjfJVY2pxToe5qe1YHRt2vGF/tiWMpX+lzsXOa9Jfl0R+s X+faB3VS4ZOhxCDulppNwo5FGvS8tMyyDH9XyK8Gw188/L+xHMhLJBJk4QZbnQXfLNjnbC mYu5xha4q2q0d8JgYIDv9JJoMF6UVo7mqcs5c3iKBeEqNKRl6/sz81kttWQrbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm2 header.b=cNmcknoW; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="W 4nWc5f"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687397076; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Qzhcm4tMx/j3Phexv7cQOMVftXXeadF9Cu1gPk4ln50=; b=r5P1SgnVVDLz3b4BWw2WzhxWNRIjukL3HRkQDdnBo0ioX45XDEteG8G9jQl9KiGlguI85S P+zlislGZi4RVXCNeBiPTD1lOpSLG1BUQrf0tXGlPVcSSxtDOidZ/5wLCyi1mb/7KiQKnt xMl98fSX/E0VfCk44qnkQ7GbXPli+cikJskovLGtzkryaKNS+BPzPrj8D6RRfIghjaYTDH 1puwZmZQ0vCcM1QRqlnaGkD281RrDkTcyAJgbvKczgMhMXqVsSJy2/AOongLAGvN95URAb R9l0Q5Oafo1Pc5C4d+R6I1nvHLr2vMg8KP9w/VcxUMx8nXJJ635m3mNj7PtWAQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qC93O-0001Mv-LA; Wed, 21 Jun 2023 21:24:06 -0400 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 ) id 1qC93N-0001MP-2o for help-guix@gnu.org; Wed, 21 Jun 2023 21:24:05 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qC93K-0008Ug-RX for help-guix@gnu.org; Wed, 21 Jun 2023 21:24:04 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id AF764320096D; Wed, 21 Jun 2023 21:24:00 -0400 (EDT) Received: from imap52 ([10.202.2.102]) by compute1.internal (MEProxy); Wed, 21 Jun 2023 21:24:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1687397040; x=1687483440; bh=Qzhcm4tMx/ j3Phexv7cQOMVftXXeadF9Cu1gPk4ln50=; b=cNmcknoWkI4rMWWmrY2LvGJKK3 g24V7lTjZ+0wLpi1GlpCCVMH9EytECY+JMHK21HbETfINwr0afpkPMghTT8My/ao klORK7ZXtjUzTxyieZ+7fBnRsyRWvOC0Ws+gsfxzIJWIYXecQ+9Dxf2QSB3/YnVr 71MoQMhgRr5Yz/Dc/Tbbz2ez+obIn8C07AqJdGyHE9AQ2bs92PCwQ29+LzpWV9Xm pU12zEkMg3qydb8fcWcwtTxojI+fzINXBPkxl0TJBRh+wh1u0KeLt0QvLDQV4fyV uVP0jho+ggsW4DVRfcoX01lfpV0iD1WxrDV1N5BxVOhDNiPiW3jWEwdGMD7g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1687397040; x= 1687483440; bh=Qzhcm4tMx/j3Phexv7cQOMVftXXeadF9Cu1gPk4ln50=; b=W 4nWc5fOOVUoZaEGMhGbnhwRkq992WWMYcsHtZzxgclHzUrcLt4Q9hHST4txMhK+P sUm5G9EW6TakJ3o86qCrKuWCCQfndHJG8yUff0VHTmSreh0Cp+8g2sFQm2A93lwM mow7r7VsX8HsghqpnlgJE0ntQdj1ftH1zYzuXD/ju3hm7IGFWoQN29RXN+uOyGes SCTacoY5Bqedd6uva4wG5mVGnkwzK119SdDpLPdm9U4BDlF8BXKGpV6AKI7j3K6I WhH0FMbHaOa6M5VfCh/aJbdCZ1RP3FNk3ImQVj97eXjjXndjOPW0c0JGGhsDCz/m 550WNWCrsSR/w3SapMgdQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeegtddgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfrfhh ihhlihhpucfotgfirhgrthhhfdcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthh drtghomheqnecuggftrfgrthhtvghrnhepveehkeevteefveehvdfgveejgeeuuddtieek feekleehhfejgffffeffhfehledtnecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhhihhlihhpsehp hhhilhhiphhmtghgrhgrthhhrdgtohhm X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 06036C60091; Wed, 21 Jun 2023 21:23:59 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-499-gf27bbf33e2-fm-20230619.001-gf27bbf33 Mime-Version: 1.0 Message-Id: In-Reply-To: <875y7weasl.fsf@wireframe> References: <74786e26-0653-46be-850f-2bcbefa83e55@app.fastmail.com> <875y7weasl.fsf@wireframe> Date: Wed, 21 Jun 2023 21:23:04 -0400 From: "Philip McGrath" To: "Vagrant Cascadian" , "Guix Help" Subject: Re: Failed to autoload read-substitute-urls in (guix scripts discover) Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=64.147.123.25; envelope-from=philip@philipmcgrath.com; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.14 X-Migadu-Queue-Id: D15B3A20A X-Spam-Score: -0.14 X-TUID: zpxhaDVetSuW Hi, On Fri, Jun 9, 2023, at 2:43 PM, Vagrant Cascadian wrote: > On 2023-06-07, Philip McGrath wrote: >> On a Debian Bookworm system, most Guix commands are failing for me wi= th errors like the following unless I supply --no-substitutes: >> ``` >> philip@avalon:~$ guix build hello >> substitute: ;;; Failed to autoload read-substitute-urls in (guix scri= pts discover): > ... >> substitute: In unknown file: >> substitute: 1 (primitive-load-path "guix/scripts/substitut= e" #) >> substitute: In guix/scripts/substitute.scm: >> substitute: 753:33 0 (_) >> substitute:=20 >> substitute: guix/scripts/substitute.scm:753:33: error: read-substitut= e-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 >> , >> 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 a= nd > back in again, etc.)? > > Do older guix pull generations work? > I forgot earlier that I had used `sudo systemctl edit guix-daemon.servic= e` to add `--discover` to the command line for `/usr/bin/guix-daemon` on= the broken machine, but not on the working machine. Removing that optio= n got things working again! I think there is actually a Debian bug, though, because it looks like th= e Debian package really doesn't have code for the module `(guix scripts = discover)`, and running with `--discover` ought to be supported. Vagrant= , I haven't come up with a minimum reproducible example yet, but I can o= pen a report now if you like, or feel free to do it yourself. -Philip