GNU logs - #43818, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#43818: Use of local-file in icecat-source definition breaks REPL
Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 05 Oct 2020 17:37:01 +0000
Resent-Message-ID: <handler.43818.B.160191937425401 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 43818
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 43818 <at> debbugs.gnu.org
Cc: "Mark H. Weaver" <mhw@HIDDEN>
X-Debbugs-Original-To: bug-guix <bug-guix@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.160191937425401
          (code B ref -1); Mon, 05 Oct 2020 17:37:01 +0000
Received: (at submit) by debbugs.gnu.org; 5 Oct 2020 17:36:14 +0000
Received: from localhost ([127.0.0.1]:50466 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kPUPG-0006bd-0n
	for submit <at> debbugs.gnu.org; Mon, 05 Oct 2020 13:36:14 -0400
Received: from lists.gnu.org ([209.51.188.17]:45040)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1kPUPE-0006bV-0U
 for submit <at> debbugs.gnu.org; Mon, 05 Oct 2020 13:36:12 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55698)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1kPUPD-00042j-OA
 for bug-guix@HIDDEN; Mon, 05 Oct 2020 13:36:11 -0400
Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:44239)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1kPUPC-0006zF-Eu
 for bug-guix@HIDDEN; Mon, 05 Oct 2020 13:36:11 -0400
Received: by mail-qk1-x731.google.com with SMTP id s7so6962075qkh.11
 for <bug-guix@HIDDEN>; Mon, 05 Oct 2020 10:36:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:date:message-id:mime-version;
 bh=AZcLF9EwIE24p1km3E7ByJngWGUfChtg2iH40y4ZizY=;
 b=bu80f/4Mb/mLhhU2XYVcfY6SvzkQ/Gds93DJpKnIYP3Vski47o3i3wimk7HE49DNgh
 i1QprSOHjyaRV38UHPmmCmi6JR/y9OtUeMXglga+4uE33rUSsxZHs8zFxvmwj9aJlsKV
 Tkeyf/8v40fmzHAx6+YQpXXe3Kk0mZmlyfkoono3Jp2Bj1NBkxrouihIX1xhVbfZ4j26
 JIV0PXP9y08ub+zWEQhAAcrtyRtSHG2K6kXRLaRId5/bIH7L19u774l2WEh8Sd0yjZQY
 rYAJFa+EkQ4dKN+UVEr8t5DEY2v/AXdVDI/a0/iN6eszVlxs6xoW7G1IOqa6nkKidh7o
 2NzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version;
 bh=AZcLF9EwIE24p1km3E7ByJngWGUfChtg2iH40y4ZizY=;
 b=r9g4WtNMjMWP2CCxwxnWY/s4OA/k0VjTk0SXV5hogDgXiEVf48OPT5wVXWz6kJ3Jod
 iqvo59aFk0VFeZ9HJMSrv3a130lR8beAU+wDi/XpKHPCs/SFI761HkOuseI7bhrlLfNy
 xayLEOTJC3G8oNf5zUl19tJ7Sxcp39K3N3i6AMNsTrQIz0PhBoPc9qoq9N3h08wN7jQB
 vaoZ2JdHkr7JisjN4mwthu8AxvS7r241R449rkxpHwKgChPDj7OYCH4W3/tr4kMiAWoM
 z8mRGlB7gVOWQQDgFkBnP33wERVkIwCveW/f75hK67h0kuoN83mesD9teEWWZB0CDN3W
 f85w==
X-Gm-Message-State: AOAM533JQRiavy9MBs6QDDWy+qqX0Xbtg3JjLqJrNWxR2Lm/kx64NKuM
 5oc+B38Ji+yA5spwzpVB8LGx0hYmDxoajw==
X-Google-Smtp-Source: ABdhPJywBafIQbhiabsnPdL6rcITOvm12sw+zVQYKZlBe5leE3cEEykbtokuTN1yYu2F2XkVWvkR1A==
X-Received: by 2002:a05:620a:c07:: with SMTP id l7mr1179716qki.9.1601919369247; 
 Mon, 05 Oct 2020 10:36:09 -0700 (PDT)
Received: from hurd (dsl-10-141-84.b2b2c.ca. [72.10.141.84])
 by smtp.gmail.com with ESMTPSA id a3sm271042qtp.63.2020.10.05.10.36.08
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 05 Oct 2020 10:36:08 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Date: Mon, 05 Oct 2020 13:36:07 -0400
Message-ID: <878sckk22g.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::731;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qk1-x731.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: 0
X-Spam_score: -0.1
X-Spam_bar: /
X-Spam_report: (-0.1 / 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, FREEMAIL_FROM=0.001,
 PDS_TONAME_EQ_TOLOCAL_SHORT=1.997, RCVD_IN_DNSWL_NONE=-0.0001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  CC: Mark H Weaver, one of the Icecat maintainer. Hello, The
 problem is that local-file doesn't work in Geiser. This breaks working at
 the REPL: 
 Content analysis details:   (2.5 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (maxim.cournoyer[at]gmail.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -2.3 RCVD_IN_DNSWL_MED      RBL: Sender listed at https://www.dnswl.org/,
 medium trust [209.51.188.17 listed in list.dnswl.org]
 0.0 RCVD_IN_MSPIKE_H4      RBL: Very Good reputation (+4)
 [209.51.188.17 listed in wl.mailspike.net]
 2.0 PDS_TONAME_EQ_TOLOCAL_SHORT Short body with To: name matches
 everything in local email
 0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 1.8 SPOOFED_FREEMAIL       No description available.
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

CC: Mark H Weaver, one of the Icecat maintainer.

Hello,

The problem is that local-file doesn't work in Geiser.  This breaks
working at the REPL:

Enter `,help' for help.
scheme@(guile-user)> ,m (gnu packages linux)
While executing meta-command:
ERROR:
  1. &formatted-message:
      format: "~a: patch not found\n"
      arguments: ("icecat-use-older-reveal-hidden-html.patch")

Any ideas of what could be done about it?

Maxim




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: bug#43818: Acknowledgement (Use of local-file in icecat-source
 definition breaks REPL)
Message-ID: <handler.43818.B.160191937425401.ack <at> debbugs.gnu.org>
References: <878sckk22g.fsf@HIDDEN>
X-Gnu-PR-Message: ack 43818
X-Gnu-PR-Package: guix
Reply-To: 43818 <at> debbugs.gnu.org
Date: Mon, 05 Oct 2020 17:37:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 43818 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
43818: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43818
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#43818: Use of local-file in icecat-source definition breaks REPL
Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 05 Oct 2020 17:40:02 +0000
Resent-Message-ID: <handler.43818.B43818.160191958425741 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 43818
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 43818 <at> debbugs.gnu.org
Cc: "Mark H. Weaver" <mhw@HIDDEN>
Received: via spool by 43818-submit <at> debbugs.gnu.org id=B43818.160191958425741
          (code B ref 43818); Mon, 05 Oct 2020 17:40:02 +0000
Received: (at 43818) by debbugs.gnu.org; 5 Oct 2020 17:39:44 +0000
Received: from localhost ([127.0.0.1]:50471 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kPUSe-0006h7-Id
	for submit <at> debbugs.gnu.org; Mon, 05 Oct 2020 13:39:44 -0400
Received: from mail-qt1-f179.google.com ([209.85.160.179]:34276)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1kPUSb-0006gt-M1
 for 43818 <at> debbugs.gnu.org; Mon, 05 Oct 2020 13:39:43 -0400
Received: by mail-qt1-f179.google.com with SMTP id 19so10335346qtp.1
 for <43818 <at> debbugs.gnu.org>; Mon, 05 Oct 2020 10:39:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=g1C+JpDIbDoKNrAB1HPUT6wFYCLUwtP/hpvQUi/evr4=;
 b=fHbcou/6F7PIyoDgecf7gbwDdYtoS6MMXQbKyS8uxYt6JvpnqwaygtZZt0cUP06yld
 lncRduUePaYOiViDeypX4Nzz2iR7EGSLndCKNGFdEfOhR+U3XpsROx5SQz1fWSh3QSRh
 GHsj7Zce04L5MHyueHq25LwysS+0uxUubwUe9gvXLDpP2o1/rb6oDdw6jeMah6k8v8o6
 9Ru0FiT7aGEWG1GhSOqzuPftMhnG2xgYADjCJzD6wZr79HdsgKB9upjsJqy5Axkr5OyR
 Kv0Ig1D0oA6n1Y5w6RVx5ssfyEVLsG1ox1OkoJD/2Y7p6n1gUUKu0BQYSA69P3l6hDec
 aNfg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=g1C+JpDIbDoKNrAB1HPUT6wFYCLUwtP/hpvQUi/evr4=;
 b=gDhARlFjWxJXA58tLHB3kk3y8na43biMXlQFyAm8VHNMaboOfdxx6TjGk7LiV6skET
 KrMbTEnNyPL7WKD2alTN0/lFiqSEQExWUiluVuwzl+Y8GFgmXXH4yNW9ybtJTP+JZ7yH
 U1PZ97I+lzYB0ab8yFkG/j4BDpUZt4hrgQ7yxsiha7KpRJcWNoZod9z4nZ6JdWHZRORD
 WOsm5i8h3YgBo55uvRmSdfMUlyZMysU3moXpO67cSGgik5KCV+FMxaIUhubr4t18ADp1
 aQnOe2/9wDBALkd0rFVwPLi2vrF6JomocCYspe+5e8PjcjJSf/KRWG96cDlciqVMawXv
 02rA==
X-Gm-Message-State: AOAM531+VTxSjzMfI7dG7eyiV44vIEcbHUdtmZFbTwCYcqw9V48ihGYb
 CHqJZyQtkQBhYFO0VFp3qqg=
X-Google-Smtp-Source: ABdhPJzWIWYmpqwpq5jrj7CDEzptH5QewSJxysw+pK3z1mODkgth6IhqJV7MtE0d+z/tVf+t6pxwtg==
X-Received: by 2002:aed:3bf1:: with SMTP id s46mr936515qte.389.1601919575938; 
 Mon, 05 Oct 2020 10:39:35 -0700 (PDT)
Received: from hurd (dsl-10-141-84.b2b2c.ca. [72.10.141.84])
 by smtp.gmail.com with ESMTPSA id e17sm267605qte.11.2020.10.05.10.39.35
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 05 Oct 2020 10:39:35 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
References: <878sckk22g.fsf@HIDDEN>
Date: Mon, 05 Oct 2020 13:39:34 -0400
In-Reply-To: <878sckk22g.fsf@HIDDEN> (Maxim Cournoyer's message of "Mon, 05
 Oct 2020 13:36:07 -0400")
Message-ID: <874kn8k1wp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Maxim Cournoyer <maxim.cournoyer@HIDDEN> writes:

> CC: Mark H Weaver, one of the Icecat maintainer.
>
> Hello,
>
> The problem is that local-file doesn't work in Geiser.  This breaks
> working at the REPL:
>
> Enter `,help' for help.
> scheme@(guile-user)> ,m (gnu packages linux)
> While executing meta-command:
> ERROR:
>   1. &formatted-message:
>       format: "~a: patch not found\n"
>       arguments: ("icecat-use-older-reveal-hidden-html.patch")
>
> Any ideas of what could be done about it?
>
> Maxim

The same also occurs for linux-libre patches:

While executing meta-command:
ERROR:
  1. &formatted-message:
      format: "~a: patch not found\n"
      arguments: ("linux-libre-support-for-Pinebook-Pro.patch")

I'll try progressing on the Gexp as a thunked field experiment; this
should allow us to rewrite the orgins in a more straight forward way,
hopefully eschewing this issue.

Maxim




Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: bug#43818: closed (Use of local-file in icecat-source definition
 breaks REPL)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.43818.D43818.160351533211096.ackdone <at> debbugs.gnu.org>
References: <87k0vg5ikr.fsf@HIDDEN> <878sckk22g.fsf@HIDDEN>
X-Gnu-PR-Message: closed 43818
X-Gnu-PR-Package: guix
Date: Sat, 24 Oct 2020 04:56:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1603515362-11137-0"

This is a multi-part message in MIME format...

------------=_1603515362-11137-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Sat, 24 Oct 2020 00:55:16 -0400
with message-id <87k0vg5ikr.fsf@HIDDEN>
and subject line Re: bug#43818: Use of local-file in icecat-source definiti=
on breaks REPL
has caused the debbugs.gnu.org bug report #43818,
regarding Use of local-file in icecat-source definition breaks REPL
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


--=20
43818: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43818
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1603515362-11137-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 5 Oct 2020 17:36:14 +0000
Received: from localhost ([127.0.0.1]:50466 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kPUPG-0006bd-0n
	for submit <at> debbugs.gnu.org; Mon, 05 Oct 2020 13:36:14 -0400
Received: from lists.gnu.org ([209.51.188.17]:45040)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1kPUPE-0006bV-0U
 for submit <at> debbugs.gnu.org; Mon, 05 Oct 2020 13:36:12 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55698)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1kPUPD-00042j-OA
 for bug-guix@HIDDEN; Mon, 05 Oct 2020 13:36:11 -0400
Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:44239)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1kPUPC-0006zF-Eu
 for bug-guix@HIDDEN; Mon, 05 Oct 2020 13:36:11 -0400
Received: by mail-qk1-x731.google.com with SMTP id s7so6962075qkh.11
 for <bug-guix@HIDDEN>; Mon, 05 Oct 2020 10:36:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:date:message-id:mime-version;
 bh=AZcLF9EwIE24p1km3E7ByJngWGUfChtg2iH40y4ZizY=;
 b=bu80f/4Mb/mLhhU2XYVcfY6SvzkQ/Gds93DJpKnIYP3Vski47o3i3wimk7HE49DNgh
 i1QprSOHjyaRV38UHPmmCmi6JR/y9OtUeMXglga+4uE33rUSsxZHs8zFxvmwj9aJlsKV
 Tkeyf/8v40fmzHAx6+YQpXXe3Kk0mZmlyfkoono3Jp2Bj1NBkxrouihIX1xhVbfZ4j26
 JIV0PXP9y08ub+zWEQhAAcrtyRtSHG2K6kXRLaRId5/bIH7L19u774l2WEh8Sd0yjZQY
 rYAJFa+EkQ4dKN+UVEr8t5DEY2v/AXdVDI/a0/iN6eszVlxs6xoW7G1IOqa6nkKidh7o
 2NzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version;
 bh=AZcLF9EwIE24p1km3E7ByJngWGUfChtg2iH40y4ZizY=;
 b=r9g4WtNMjMWP2CCxwxnWY/s4OA/k0VjTk0SXV5hogDgXiEVf48OPT5wVXWz6kJ3Jod
 iqvo59aFk0VFeZ9HJMSrv3a130lR8beAU+wDi/XpKHPCs/SFI761HkOuseI7bhrlLfNy
 xayLEOTJC3G8oNf5zUl19tJ7Sxcp39K3N3i6AMNsTrQIz0PhBoPc9qoq9N3h08wN7jQB
 vaoZ2JdHkr7JisjN4mwthu8AxvS7r241R449rkxpHwKgChPDj7OYCH4W3/tr4kMiAWoM
 z8mRGlB7gVOWQQDgFkBnP33wERVkIwCveW/f75hK67h0kuoN83mesD9teEWWZB0CDN3W
 f85w==
X-Gm-Message-State: AOAM533JQRiavy9MBs6QDDWy+qqX0Xbtg3JjLqJrNWxR2Lm/kx64NKuM
 5oc+B38Ji+yA5spwzpVB8LGx0hYmDxoajw==
X-Google-Smtp-Source: ABdhPJywBafIQbhiabsnPdL6rcITOvm12sw+zVQYKZlBe5leE3cEEykbtokuTN1yYu2F2XkVWvkR1A==
X-Received: by 2002:a05:620a:c07:: with SMTP id l7mr1179716qki.9.1601919369247; 
 Mon, 05 Oct 2020 10:36:09 -0700 (PDT)
Received: from hurd (dsl-10-141-84.b2b2c.ca. [72.10.141.84])
 by smtp.gmail.com with ESMTPSA id a3sm271042qtp.63.2020.10.05.10.36.08
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 05 Oct 2020 10:36:08 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: Use of local-file in icecat-source definition breaks REPL
Date: Mon, 05 Oct 2020 13:36:07 -0400
Message-ID: <878sckk22g.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::731;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qk1-x731.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: 0
X-Spam_score: -0.1
X-Spam_bar: /
X-Spam_report: (-0.1 / 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, FREEMAIL_FROM=0.001,
 PDS_TONAME_EQ_TOLOCAL_SHORT=1.997, RCVD_IN_DNSWL_NONE=-0.0001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  CC: Mark H Weaver, one of the Icecat maintainer. Hello, The
 problem is that local-file doesn't work in Geiser. This breaks working at
 the REPL: 
 Content analysis details:   (2.5 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (maxim.cournoyer[at]gmail.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -2.3 RCVD_IN_DNSWL_MED      RBL: Sender listed at https://www.dnswl.org/,
 medium trust [209.51.188.17 listed in list.dnswl.org]
 0.0 RCVD_IN_MSPIKE_H4      RBL: Very Good reputation (+4)
 [209.51.188.17 listed in wl.mailspike.net]
 2.0 PDS_TONAME_EQ_TOLOCAL_SHORT Short body with To: name matches
 everything in local email
 0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 1.8 SPOOFED_FREEMAIL       No description available.
X-Debbugs-Envelope-To: submit
Cc: "Mark H. Weaver" <mhw@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

CC: Mark H Weaver, one of the Icecat maintainer.

Hello,

The problem is that local-file doesn't work in Geiser.  This breaks
working at the REPL:

Enter `,help' for help.
scheme@(guile-user)> ,m (gnu packages linux)
While executing meta-command:
ERROR:
  1. &formatted-message:
      format: "~a: patch not found\n"
      arguments: ("icecat-use-older-reveal-hidden-html.patch")

Any ideas of what could be done about it?

Maxim



------------=_1603515362-11137-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 43818-done) by debbugs.gnu.org; 24 Oct 2020 04:55:32 +0000
Received: from localhost ([127.0.0.1]:58859 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kWBaV-0002su-Jo
	for submit <at> debbugs.gnu.org; Sat, 24 Oct 2020 00:55:31 -0400
Received: from mail-il1-f194.google.com ([209.85.166.194]:44664)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1kWBaS-0002sg-RK
 for 43818-done <at> debbugs.gnu.org; Sat, 24 Oct 2020 00:55:29 -0400
Received: by mail-il1-f194.google.com with SMTP id z2so3369500ilh.11
 for <43818-done <at> debbugs.gnu.org>; Fri, 23 Oct 2020 21:55:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=rnZ/BcaBf4HxrOM1QPzFYIPbM/7YEE+R1QXUxMkYuck=;
 b=NwksZ2emTpEpzvh873RxbG3C3n3SzxA0dv1mPYTGSJEKeBTN5BTcmaw9mPjhZyBc2w
 dDRZ9Sv5iqLPgFdWnFK31Cn+FwJmUkU/3+LJRDwMWNMUiUOPb/t/+T2kENzIU1O0ukGW
 Snc9vemKcZ5HuH6IQzW9eGUhFo25i+PY71aMQEuZBMYJ3DHmA0prplCyqGThHSx/XB9A
 ayys9C1dVQnQNrx7ERDGJPzhTYpZPhz72i3Qy+NKZhFsJ0HwPOZbn33cffReH11ddqnP
 1vJypkic7JtKi9jSrHWOInbIbf4h9WcWSwKHF6eeA4/hIesQ3GNTSvCT2Yllr7DlPRkn
 Kf1g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=rnZ/BcaBf4HxrOM1QPzFYIPbM/7YEE+R1QXUxMkYuck=;
 b=dYEl098K87fG1bLuoLUQGhFFKQ9Y0PAKXsp/CvyrfbouESaAACj5RqxvN6lIYWEPdz
 /wnMtL2bmZt/uompGeFQfjVf6S9yP5PIpgdw0RKDDOT7mNFmZ0ClZq+qnBYjjPqeCC4L
 DYLA9pKz77swbcB/Uc+f015oH0xbmXen/qfg5vZU3awHd1goQbIh9Bki645A7HD13uQG
 XQWHjcs/YkVuvGkNK8E5hpEdaKNEY9qZyYgDuryKyMnDke2KcJ5mhr34ws+jN8ArwGU6
 B9SskIwFJ0KrosS2/A5Fg3mnsqTk65gDLq+PTKCxy0nV+k0/+Lat0+z6MyuA9a56pHBi
 xgZA==
X-Gm-Message-State: AOAM5330uJn6KECz4e/OIAQh7tetVLRWCRewW0BxvjjGgIywj27iyTCa
 +NN03fF6eaBH9fRCzNJ4U5b6Lh4RRvs=
X-Google-Smtp-Source: ABdhPJyv7lE+u+aNJcxr+NcywqG1N7rRPL+1VYxTQ+GbMGnosxgVn3TYOOdLM8c71ThyQlVKwTSNMw==
X-Received: by 2002:a05:6e02:df4:: with SMTP id
 m20mr4304716ilj.180.1603515323022; 
 Fri, 23 Oct 2020 21:55:23 -0700 (PDT)
Received: from hurd (dsl-159-173.b2b2c.ca. [66.158.159.173])
 by smtp.gmail.com with ESMTPSA id m66sm2069914ill.69.2020.10.23.21.55.21
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 23 Oct 2020 21:55:22 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: 43818-done <at> debbugs.gnu.org
Subject: Re: bug#43818: Use of local-file in icecat-source definition breaks
 REPL
References: <878sckk22g.fsf@HIDDEN>
Date: Sat, 24 Oct 2020 00:55:16 -0400
In-Reply-To: <878sckk22g.fsf@HIDDEN> (Maxim Cournoyer's message of "Mon, 05
 Oct 2020 13:36:07 -0400")
Message-ID: <87k0vg5ikr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43818-done
Cc: "Mark H. Weaver" <mhw@HIDDEN>, Christopher Baines <mail@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

Maxim Cournoyer <maxim.cournoyer@HIDDEN> writes:

> CC: Mark H Weaver, one of the Icecat maintainer.
>
> Hello,
>
> The problem is that local-file doesn't work in Geiser.  This breaks
> working at the REPL:
>
> Enter `,help' for help.
> scheme@(guile-user)> ,m (gnu packages linux)
> While executing meta-command:
> ERROR:
>   1. &formatted-message:
>       format: "~a: patch not found\n"
>       arguments: ("icecat-use-older-reveal-hidden-html.patch")

Thanks for Christopher Baines on #guix who pointed that local-file
seemed to behave correctly at the REPL and Geiser (indeed!).  It made me
try to reproduce it in a --pure environment and I couldn't.

After a couple hours digging, I found that this snippet in my modified
.dir-locals file:

--8<---------------cut here---------------start------------->8---
(with-eval-after-load 'geiser-guile
  (let ((root-dir (locate-dominating-file
                   default-directory ".dir-locals.el")))
    (setq geiser-guile-load-path
          (cons root-dir
                (delete root-dir geiser-guile-load-path)))))
--8<---------------cut here---------------end--------------->8---

Was the culprit, especially the use of with-eval-after-load (which
turned out to be unnecessary).

This snippet allows to switch between git worktrees and always have the
geiser-guile-load-path (which configures both the Guile %load-path and
the %load-compiled-path) set correctly.

Here's the diff of my (fixed) .dir-locals in my Guix git checkout:

--8<---------------cut here---------------start------------->8---
~/src/guix$ git diff .dir-locals.el
diff --git a/.dir-locals.el b/.dir-locals.el
index 19f15b3e1a..0869fbaa20 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -8,7 +8,17 @@
      ;; For use with 'bug-reference-prog-mode'.
      (bug-reference-url-format . "http://bugs.gnu.org/%s")
      (bug-reference-bug-regexp
-      . "<https?://\\(debbugs\\|bugs\\)\\.gnu\\.org/\\([0-9]+\\)>")))
+      . "<https?://\\(debbugs\\|bugs\\)\\.gnu\\.org/\\([0-9]+\\)>")
+
+     ;; Emacs-Guix
+     (eval . (setq guix-directory
+                   (locate-dominating-file default-directory ".dir-locals.el")))
+     ;; Geiser
+     (eval . (let ((root-dir (locate-dominating-file
+                              default-directory ".dir-locals.el")))
+               (setq geiser-guile-load-path
+                     (cons root-dir
+                           (delete root-dir geiser-guile-load-path)))))))
  (c-mode          . ((c-file-style . "gnu")))
  (scheme-mode
   .
--8<---------------cut here---------------end--------------->8---

I am closing this issue, sorry for the noise!

Maxim


------------=_1603515362-11137-0--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: bug#43818: closed (Re: bug#43818: Use of local-file in
 icecat-source definition breaks REPL)
Message-ID: <handler.43818.D43818.160351533211096.notifdone <at> debbugs.gnu.org>
References: <87k0vg5ikr.fsf@HIDDEN> <878sckk22g.fsf@HIDDEN>
X-Gnu-PR-Message: they-closed 43818
X-Gnu-PR-Package: guix
Reply-To: 43818 <at> debbugs.gnu.org
Date: Sat, 24 Oct 2020 04:56:04 +0000
Content-Type: multipart/mixed; boundary="----------=_1603515364-11137-1"

This is a multi-part message in MIME format...

------------=_1603515364-11137-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#43818: Use of local-file in icecat-source definition breaks REPL

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 43818 <at> debbugs.gnu.org.

--=20
43818: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43818
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1603515364-11137-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 43818-done) by debbugs.gnu.org; 24 Oct 2020 04:55:32 +0000
Received: from localhost ([127.0.0.1]:58859 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kWBaV-0002su-Jo
	for submit <at> debbugs.gnu.org; Sat, 24 Oct 2020 00:55:31 -0400
Received: from mail-il1-f194.google.com ([209.85.166.194]:44664)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1kWBaS-0002sg-RK
 for 43818-done <at> debbugs.gnu.org; Sat, 24 Oct 2020 00:55:29 -0400
Received: by mail-il1-f194.google.com with SMTP id z2so3369500ilh.11
 for <43818-done <at> debbugs.gnu.org>; Fri, 23 Oct 2020 21:55:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=rnZ/BcaBf4HxrOM1QPzFYIPbM/7YEE+R1QXUxMkYuck=;
 b=NwksZ2emTpEpzvh873RxbG3C3n3SzxA0dv1mPYTGSJEKeBTN5BTcmaw9mPjhZyBc2w
 dDRZ9Sv5iqLPgFdWnFK31Cn+FwJmUkU/3+LJRDwMWNMUiUOPb/t/+T2kENzIU1O0ukGW
 Snc9vemKcZ5HuH6IQzW9eGUhFo25i+PY71aMQEuZBMYJ3DHmA0prplCyqGThHSx/XB9A
 ayys9C1dVQnQNrx7ERDGJPzhTYpZPhz72i3Qy+NKZhFsJ0HwPOZbn33cffReH11ddqnP
 1vJypkic7JtKi9jSrHWOInbIbf4h9WcWSwKHF6eeA4/hIesQ3GNTSvCT2Yllr7DlPRkn
 Kf1g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=rnZ/BcaBf4HxrOM1QPzFYIPbM/7YEE+R1QXUxMkYuck=;
 b=dYEl098K87fG1bLuoLUQGhFFKQ9Y0PAKXsp/CvyrfbouESaAACj5RqxvN6lIYWEPdz
 /wnMtL2bmZt/uompGeFQfjVf6S9yP5PIpgdw0RKDDOT7mNFmZ0ClZq+qnBYjjPqeCC4L
 DYLA9pKz77swbcB/Uc+f015oH0xbmXen/qfg5vZU3awHd1goQbIh9Bki645A7HD13uQG
 XQWHjcs/YkVuvGkNK8E5hpEdaKNEY9qZyYgDuryKyMnDke2KcJ5mhr34ws+jN8ArwGU6
 B9SskIwFJ0KrosS2/A5Fg3mnsqTk65gDLq+PTKCxy0nV+k0/+Lat0+z6MyuA9a56pHBi
 xgZA==
X-Gm-Message-State: AOAM5330uJn6KECz4e/OIAQh7tetVLRWCRewW0BxvjjGgIywj27iyTCa
 +NN03fF6eaBH9fRCzNJ4U5b6Lh4RRvs=
X-Google-Smtp-Source: ABdhPJyv7lE+u+aNJcxr+NcywqG1N7rRPL+1VYxTQ+GbMGnosxgVn3TYOOdLM8c71ThyQlVKwTSNMw==
X-Received: by 2002:a05:6e02:df4:: with SMTP id
 m20mr4304716ilj.180.1603515323022; 
 Fri, 23 Oct 2020 21:55:23 -0700 (PDT)
Received: from hurd (dsl-159-173.b2b2c.ca. [66.158.159.173])
 by smtp.gmail.com with ESMTPSA id m66sm2069914ill.69.2020.10.23.21.55.21
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 23 Oct 2020 21:55:22 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: 43818-done <at> debbugs.gnu.org
Subject: Re: bug#43818: Use of local-file in icecat-source definition breaks
 REPL
References: <878sckk22g.fsf@HIDDEN>
Date: Sat, 24 Oct 2020 00:55:16 -0400
In-Reply-To: <878sckk22g.fsf@HIDDEN> (Maxim Cournoyer's message of "Mon, 05
 Oct 2020 13:36:07 -0400")
Message-ID: <87k0vg5ikr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43818-done
Cc: "Mark H. Weaver" <mhw@HIDDEN>, Christopher Baines <mail@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

Maxim Cournoyer <maxim.cournoyer@HIDDEN> writes:

> CC: Mark H Weaver, one of the Icecat maintainer.
>
> Hello,
>
> The problem is that local-file doesn't work in Geiser.  This breaks
> working at the REPL:
>
> Enter `,help' for help.
> scheme@(guile-user)> ,m (gnu packages linux)
> While executing meta-command:
> ERROR:
>   1. &formatted-message:
>       format: "~a: patch not found\n"
>       arguments: ("icecat-use-older-reveal-hidden-html.patch")

Thanks for Christopher Baines on #guix who pointed that local-file
seemed to behave correctly at the REPL and Geiser (indeed!).  It made me
try to reproduce it in a --pure environment and I couldn't.

After a couple hours digging, I found that this snippet in my modified
.dir-locals file:

--8<---------------cut here---------------start------------->8---
(with-eval-after-load 'geiser-guile
  (let ((root-dir (locate-dominating-file
                   default-directory ".dir-locals.el")))
    (setq geiser-guile-load-path
          (cons root-dir
                (delete root-dir geiser-guile-load-path)))))
--8<---------------cut here---------------end--------------->8---

Was the culprit, especially the use of with-eval-after-load (which
turned out to be unnecessary).

This snippet allows to switch between git worktrees and always have the
geiser-guile-load-path (which configures both the Guile %load-path and
the %load-compiled-path) set correctly.

Here's the diff of my (fixed) .dir-locals in my Guix git checkout:

--8<---------------cut here---------------start------------->8---
~/src/guix$ git diff .dir-locals.el
diff --git a/.dir-locals.el b/.dir-locals.el
index 19f15b3e1a..0869fbaa20 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -8,7 +8,17 @@
      ;; For use with 'bug-reference-prog-mode'.
      (bug-reference-url-format . "http://bugs.gnu.org/%s")
      (bug-reference-bug-regexp
-      . "<https?://\\(debbugs\\|bugs\\)\\.gnu\\.org/\\([0-9]+\\)>")))
+      . "<https?://\\(debbugs\\|bugs\\)\\.gnu\\.org/\\([0-9]+\\)>")
+
+     ;; Emacs-Guix
+     (eval . (setq guix-directory
+                   (locate-dominating-file default-directory ".dir-locals.el")))
+     ;; Geiser
+     (eval . (let ((root-dir (locate-dominating-file
+                              default-directory ".dir-locals.el")))
+               (setq geiser-guile-load-path
+                     (cons root-dir
+                           (delete root-dir geiser-guile-load-path)))))))
  (c-mode          . ((c-file-style . "gnu")))
  (scheme-mode
   .
--8<---------------cut here---------------end--------------->8---

I am closing this issue, sorry for the noise!

Maxim


------------=_1603515364-11137-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 5 Oct 2020 17:36:14 +0000
Received: from localhost ([127.0.0.1]:50466 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kPUPG-0006bd-0n
	for submit <at> debbugs.gnu.org; Mon, 05 Oct 2020 13:36:14 -0400
Received: from lists.gnu.org ([209.51.188.17]:45040)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1kPUPE-0006bV-0U
 for submit <at> debbugs.gnu.org; Mon, 05 Oct 2020 13:36:12 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55698)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1kPUPD-00042j-OA
 for bug-guix@HIDDEN; Mon, 05 Oct 2020 13:36:11 -0400
Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:44239)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1kPUPC-0006zF-Eu
 for bug-guix@HIDDEN; Mon, 05 Oct 2020 13:36:11 -0400
Received: by mail-qk1-x731.google.com with SMTP id s7so6962075qkh.11
 for <bug-guix@HIDDEN>; Mon, 05 Oct 2020 10:36:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:date:message-id:mime-version;
 bh=AZcLF9EwIE24p1km3E7ByJngWGUfChtg2iH40y4ZizY=;
 b=bu80f/4Mb/mLhhU2XYVcfY6SvzkQ/Gds93DJpKnIYP3Vski47o3i3wimk7HE49DNgh
 i1QprSOHjyaRV38UHPmmCmi6JR/y9OtUeMXglga+4uE33rUSsxZHs8zFxvmwj9aJlsKV
 Tkeyf/8v40fmzHAx6+YQpXXe3Kk0mZmlyfkoono3Jp2Bj1NBkxrouihIX1xhVbfZ4j26
 JIV0PXP9y08ub+zWEQhAAcrtyRtSHG2K6kXRLaRId5/bIH7L19u774l2WEh8Sd0yjZQY
 rYAJFa+EkQ4dKN+UVEr8t5DEY2v/AXdVDI/a0/iN6eszVlxs6xoW7G1IOqa6nkKidh7o
 2NzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version;
 bh=AZcLF9EwIE24p1km3E7ByJngWGUfChtg2iH40y4ZizY=;
 b=r9g4WtNMjMWP2CCxwxnWY/s4OA/k0VjTk0SXV5hogDgXiEVf48OPT5wVXWz6kJ3Jod
 iqvo59aFk0VFeZ9HJMSrv3a130lR8beAU+wDi/XpKHPCs/SFI761HkOuseI7bhrlLfNy
 xayLEOTJC3G8oNf5zUl19tJ7Sxcp39K3N3i6AMNsTrQIz0PhBoPc9qoq9N3h08wN7jQB
 vaoZ2JdHkr7JisjN4mwthu8AxvS7r241R449rkxpHwKgChPDj7OYCH4W3/tr4kMiAWoM
 z8mRGlB7gVOWQQDgFkBnP33wERVkIwCveW/f75hK67h0kuoN83mesD9teEWWZB0CDN3W
 f85w==
X-Gm-Message-State: AOAM533JQRiavy9MBs6QDDWy+qqX0Xbtg3JjLqJrNWxR2Lm/kx64NKuM
 5oc+B38Ji+yA5spwzpVB8LGx0hYmDxoajw==
X-Google-Smtp-Source: ABdhPJywBafIQbhiabsnPdL6rcITOvm12sw+zVQYKZlBe5leE3cEEykbtokuTN1yYu2F2XkVWvkR1A==
X-Received: by 2002:a05:620a:c07:: with SMTP id l7mr1179716qki.9.1601919369247; 
 Mon, 05 Oct 2020 10:36:09 -0700 (PDT)
Received: from hurd (dsl-10-141-84.b2b2c.ca. [72.10.141.84])
 by smtp.gmail.com with ESMTPSA id a3sm271042qtp.63.2020.10.05.10.36.08
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 05 Oct 2020 10:36:08 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: Use of local-file in icecat-source definition breaks REPL
Date: Mon, 05 Oct 2020 13:36:07 -0400
Message-ID: <878sckk22g.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::731;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qk1-x731.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: 0
X-Spam_score: -0.1
X-Spam_bar: /
X-Spam_report: (-0.1 / 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, FREEMAIL_FROM=0.001,
 PDS_TONAME_EQ_TOLOCAL_SHORT=1.997, RCVD_IN_DNSWL_NONE=-0.0001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  CC: Mark H Weaver, one of the Icecat maintainer. Hello, The
 problem is that local-file doesn't work in Geiser. This breaks working at
 the REPL: 
 Content analysis details:   (2.5 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (maxim.cournoyer[at]gmail.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -2.3 RCVD_IN_DNSWL_MED      RBL: Sender listed at https://www.dnswl.org/,
 medium trust [209.51.188.17 listed in list.dnswl.org]
 0.0 RCVD_IN_MSPIKE_H4      RBL: Very Good reputation (+4)
 [209.51.188.17 listed in wl.mailspike.net]
 2.0 PDS_TONAME_EQ_TOLOCAL_SHORT Short body with To: name matches
 everything in local email
 0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 1.8 SPOOFED_FREEMAIL       No description available.
X-Debbugs-Envelope-To: submit
Cc: "Mark H. Weaver" <mhw@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

CC: Mark H Weaver, one of the Icecat maintainer.

Hello,

The problem is that local-file doesn't work in Geiser.  This breaks
working at the REPL:

Enter `,help' for help.
scheme@(guile-user)> ,m (gnu packages linux)
While executing meta-command:
ERROR:
  1. &formatted-message:
      format: "~a: patch not found\n"
      arguments: ("icecat-use-older-reveal-hidden-html.patch")

Any ideas of what could be done about it?

Maxim



------------=_1603515364-11137-1--


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#43818: Use of local-file in icecat-source definition breaks REPL)
Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 25 Oct 2020 02:15:02 +0000
Resent-Message-ID: <handler.43818.B43818.160359208429768 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 43818
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 43818 <at> debbugs.gnu.org
Cc: GNU Debbugs <control <at> debbugs.gnu.org>
Received: via spool by 43818-submit <at> debbugs.gnu.org id=B43818.160359208429768
          (code B ref 43818); Sun, 25 Oct 2020 02:15:02 +0000
Received: (at 43818) by debbugs.gnu.org; 25 Oct 2020 02:14:44 +0000
Received: from localhost ([127.0.0.1]:35554 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kWVYR-0007jy-Kg
	for submit <at> debbugs.gnu.org; Sat, 24 Oct 2020 22:14:43 -0400
Received: from mail-qk1-f173.google.com ([209.85.222.173]:35731)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1kWVYN-0007je-Iz; Sat, 24 Oct 2020 22:14:42 -0400
Received: by mail-qk1-f173.google.com with SMTP id 140so5337927qko.2;
 Sat, 24 Oct 2020 19:14:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=lTcQLxr+Fw5eoGi0bi2aZX/wwH03qxphM+zHOUk2Z08=;
 b=Jqme5rA6OSHvgw213dTYrGZru1+X8PsTQ8izeM/K3+2nfnSptTyXtUSMrqXtREx2fC
 4Azk2Btl3EYLUnrh83mi57KL63jHZhUzfLPw5iOKEVBPwbiQJB8R+sqqbnVndBFlFbKB
 9oZuvPuKwnW8ndVwJNssu+DpV0mwxfEcHlh1QDLS3uUDIzLnW0e1qOxl4mr6pzlbHd2d
 HEwrBBWUx+IB63Hev1nMe0KWuRaTTHwEdIaxop/Yg3NQcxzZixNi5lqFd4gBh8CS9OwE
 ESC8/SRrIaOOKdoCiVtN6uM82GJuMkySpJilf5LSW7brwwzjOPAnui8YFPfuPRan0NTt
 Xa7Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=lTcQLxr+Fw5eoGi0bi2aZX/wwH03qxphM+zHOUk2Z08=;
 b=EfMbHgZr4CNgTFIwYp0mTcQuJFudQBFOBCAXLHLOhVGEqAtu447ir0B8sc+6y9nqfQ
 npuwjfdOpgHAB1U0bgk7oijyidaHtMcm3Q/m+jDzLpsBwXNHGBMhdRVPul/jpmfmbCSP
 6DRbVEASZeGTMAX5TaGbavJA7xktR71HwAnOTn2zyHxE7vw1w3uPm4t4UvQoOFpiBXi+
 fIGXHIURBZUst0CmmoWFbL9qxEWMZbDr5f4/4Qq0p5zkUQcduPy5fQqiGismryUKaCRg
 imYVc7NrgXvIirxsKTUwMciBoqAUOZP6WGteB74R1mtarTUQz4T9OBY2CYNdhcrTULil
 L4wQ==
X-Gm-Message-State: AOAM532TZfIAHHaJu3ja2Ly/gmocFW45nDUqKxyfp4jEUABCLTuuZ6P9
 //c1s2wb16IdIDi80LEPOmZhLQbdBqE=
X-Google-Smtp-Source: ABdhPJwtuqWBx5wJm6PdS1A5ETNOVFzOKFh0k4Yi9+28bFhU/JC9tf4UwP4oKAtPxbdM+41HbQ7Sbg==
X-Received: by 2002:ae9:e60c:: with SMTP id z12mr9545367qkf.392.1603592073824; 
 Sat, 24 Oct 2020 19:14:33 -0700 (PDT)
Received: from hurd (dsl-159-173.b2b2c.ca. [66.158.159.173])
 by smtp.gmail.com with ESMTPSA id i20sm2140569qtw.66.2020.10.24.19.14.32
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 24 Oct 2020 19:14:33 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
References: <87k0vg5ikr.fsf@HIDDEN> <878sckk22g.fsf@HIDDEN>
 <handler.43818.D43818.160351533211096.notifdone <at> debbugs.gnu.org>
Date: Sat, 24 Oct 2020 22:14:32 -0400
In-Reply-To: <handler.43818.D43818.160351533211096.notifdone <at> debbugs.gnu.org>
 (GNU bug Tracking System's message of "Sat, 24 Oct 2020 04:56:04
 +0000")
Message-ID: <87wnzf2gs7.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

reopen
thanks

I thought I had this understood, but there is still an issue.  At least
this time I could pinpoint precisely what makes it fail.  It had nothing
to do with the use of `eval-after-load' in my .dir-locals file.

To reproduce the problem, it suffices to append a trailing slash to the Guix entry in the
GUILE_LOAD_PATH:

--8<---------------cut here---------------start------------->8---
maxim@hurd ~/src/guix$ GUILE_LOAD_PATH=$PWD:$GUILE_LOAD_PATH GUILE_LOAD_COMPILED_PATH=$PWD:$GUILE_LOAD_COMPILED_PATH guile
GNU Guile 3.0.4
Copyright (C) 1995-2020 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> %load-path
$1 = ("/home/maxim/src/guix" "/home/maxim/src/guile-hacks" "/home/maxim/.guix-profile/share/guile/site/3.0" "/run/current-system/profile/share/g0.4/share/guile/3.0" "/gnu/store/ah16zr8mmfkqy23rr7jy5a842ca1q9h1-guile-3.0.4/share/guile/site/3.0" "/gnu/store/ah16zr8mmfkqy23rr7jy5a842ca1q9h1ca1q9h1-guile-3.0.4/share/guile")
scheme@(guile-user)> ,use (gnu packages linux)
scheme@(guile-user)> 

maxim@hurd ~/src/guix$ GUILE_LOAD_PATH=$PWD/:$GUILE_LOAD_PATH GUILE_LOAD_COMPILED_PATH=$PWD/:$GUILE_LOAD_COMPILED_PATH guile
GNU Guile 3.0.4
Copyright (C) 1995-2020 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> %load-path
$1 = ("/home/maxim/src/guix/" "/home/maxim/src/guile-hacks" "/home/maxim/.guix-profile/share/guile/site/3.0" "/run/current-system/profile/share/.0.4/share/guile/3.0" "/gnu/store/ah16zr8mmfkqy23rr7jy5a842ca1q9h1-guile-3.0.4/share/guile/site/3.0" "/gnu/store/ah16zr8mmfkqy23rr7jy5a842ca1q9h2ca1q9h1-guile-3.0.4/share/guile")
scheme@(guile-user)> ,use (gnu packages linux)
While executing meta-command:
ERROR:
  1. &formatted-message:
      format: "~a: patch not found\n"
      arguments: ("icecat-use-older-reveal-hidden-html.patch")
scheme@(guile-user)>
--8<---------------cut here---------------end--------------->8---

To be continued...

Maxim




Message received at fakecontrol@fakecontrolmessage:


Received: (at fakecontrol) by fakecontrolmessage;
To: internal_control <at> debbugs.gnu.org
From: Debbugs Internal Request <help-debbugs@HIDDEN>
Subject: Internal Control
Message-Id: Did not alter fixed versions and reopened.
Date: Sun, 25 Oct 2020 02:39:02 +0000
User-Agent: Fakemail v42.6.9

# This is a fake control message.
#
# The action:
# Did not alter fixed versions and reopened.
thanks
# This fakemail brought to you by your local debbugs
# administrator


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#43818: [PATCH] packages: Fix a bug in %patch-path.
References: <878sckk22g.fsf@HIDDEN>
In-Reply-To: <878sckk22g.fsf@HIDDEN>
Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 25 Oct 2020 05:54:01 +0000
Resent-Message-ID: <handler.43818.B43818.16036052032232 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 43818
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 43818 <at> debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Received: via spool by 43818-submit <at> debbugs.gnu.org id=B43818.16036052032232
          (code B ref 43818); Sun, 25 Oct 2020 05:54:01 +0000
Received: (at 43818) by debbugs.gnu.org; 25 Oct 2020 05:53:23 +0000
Received: from localhost ([127.0.0.1]:35619 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kWYy2-0000Zw-Ly
	for submit <at> debbugs.gnu.org; Sun, 25 Oct 2020 01:53:22 -0400
Received: from mail-io1-f66.google.com ([209.85.166.66]:47078)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1kWYxz-0000Zg-Sa
 for 43818 <at> debbugs.gnu.org; Sun, 25 Oct 2020 01:53:20 -0400
Received: by mail-io1-f66.google.com with SMTP id b15so6587767iod.13
 for <43818 <at> debbugs.gnu.org>; Sat, 24 Oct 2020 22:53:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=HbDeNY4V9OEDsf6cun2TsuVlfBvGmcMKH7x1NI183K4=;
 b=lqBIzpBD4LZx0Tkq6duhqsFK9QIzoKlfBeE28olSElkaFznzJHkxPpJNZD7lXt2y+T
 vgqHUAX98QL/ihdhhE8pYsnW/ZD/qm8G8gaXyUBOiNlVwHGD+2qsmykVa9dpLcbvPoyQ
 KogWo/y7SC6jHLsxJOhfhF/l6zh4xAVDDGGFFPA4HmcDmwUjVYfXPfhqviW0tj137R4U
 JFhFPeZ1+kDCYP7JQW4/H9mPNy4UfSR6AH9pp4AqddLyD3sHsgjwYwzcEi0IApuf+gYX
 sKVrJzgv3f+rBsoVK5XseqXdAVpKftIFcMOQFFMAc8ZJvUA+ksb+SxDDoejM5pMYsU6I
 lpwQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=HbDeNY4V9OEDsf6cun2TsuVlfBvGmcMKH7x1NI183K4=;
 b=AR/SBFPt/cwlwbHL21VgSt8F6IVwupg0bl+IsQ62wBBV7dTVD1VT1umnQ6TImbhmUa
 VKHMNunJ+PZyAwdqvefFk4fj8LrSqUqhvZVMTQrTHaCWJAOTwwJQgTs8j4slC4MG5tfG
 hmfsMoYR/GTc0X79kkuXFlfSOe8w6KJ595XMlE/mmDcdz/NSOTrcm30IbmUR1YSxNZhN
 z1f6wWzI4iTZ1OhKspNlQimrr8vcb1XX6BYA8CLaDs2xd5E3Gsx4CVUQDdrZOam67GvG
 9dtLjWbJ8h2+FJNlq64BdBL8IjvDtCkftXzX66QT0p2anQcUsinbC1yG67LqLHRRsWd/
 xjyw==
X-Gm-Message-State: AOAM530kMJwbViAE/fqlduVzDcLStqXFbj+J5oE0XcrmU0bWVv/ixQeJ
 YdbVLAN1DaMpRpmoXDUKs6z59UwP1U/adg==
X-Google-Smtp-Source: ABdhPJxtlpV+r+ntGi4SiMAvSccc2KxBmj+9/lq0aWHtqfwfWdgWFIebSp1+nFA9NjjD688k/diAiQ==
X-Received: by 2002:a05:6602:2b90:: with SMTP id
 r16mr6835800iov.31.1603605194086; 
 Sat, 24 Oct 2020 22:53:14 -0700 (PDT)
Received: from localhost.localdomain (dsl-159-173.b2b2c.ca. [66.158.159.173])
 by smtp.gmail.com with ESMTPSA id
 p4sm3761561ilg.79.2020.10.24.22.53.13
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 24 Oct 2020 22:53:13 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Date: Sun, 25 Oct 2020 01:52:34 -0400
Message-Id: <20201025055234.19912-1-maxim.cournoyer@HIDDEN>
X-Mailer: git-send-email 2.28.0
MIME-Version: 1.0
Content-Type: text/plain; charset=yes
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Fixes <https://issues.guix.gnu.org/43818>.

Having the Guix root trailed by a slash in the GUILE_LOAD_PATH would
previously cause %patch-path to not return an entry with the patches
sub-directory, leading to errors such as:

   While executing meta-command:
   ERROR:
     1. &formatted-message:
         format: "~a: patch not found\n"
         arguments: ("icecat-use-older-reveal-hidden-html.patch")

* gnu/packages.scm (strip-trailing-slash): New procedure.
(%patch-path): Use it to strip any trailing slash from the %load-path entries.
---
 gnu/packages.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages.scm b/gnu/packages.scm
index ccfc83dd11..f5acbda897 100644
--- a/gnu/packages.scm
+++ b/gnu/packages.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2014 Eric Bavier <bavier@HIDDEN>
 ;;; Copyright © 2016, 2017 Alex Kost <alezost@HIDDEN>
 ;;; Copyright © 2016 Mathieu Lirzin <mthl@HIDDEN>
+;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -159,6 +160,12 @@ flags."
              %default-package-module-path
              channels-scm))))
 
+(define (strip-trailing-slash s)
+  ;; Strip the trailing slash of a string, if present.
+  (if (string-suffix? "/" s)
+      (string-drop-right s 1)
+      s))
+
 (define %patch-path
   ;; Define it after '%package-module-path' so that '%load-path' contains user
   ;; directories, allowing patches in $GUIX_PACKAGE_PATH to be found.
@@ -167,7 +174,7 @@ flags."
           (if (string=? directory %distro-root-directory)
               (string-append directory "/gnu/packages/patches")
               directory))
-        %load-path)))
+        (map strip-trailing-slash %load-path))))
 
 ;; This procedure is used by Emacs-Guix up to 0.5.1.1, so keep it for now.
 ;; See <https://github.com/alezost/guix.el/issues/30>.
-- 
2.28.0





Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 25 Oct 2020 05:53:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 25 01:53:36 2020
Received: from localhost ([127.0.0.1]:35622 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kWYyF-0000aR-VE
	for submit <at> debbugs.gnu.org; Sun, 25 Oct 2020 01:53:36 -0400
Received: from mail-il1-f180.google.com ([209.85.166.180]:40291)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1kWYyE-0000aA-DS
 for control <at> debbugs.gnu.org; Sun, 25 Oct 2020 01:53:34 -0400
Received: by mail-il1-f180.google.com with SMTP id n5so5220808ile.7
 for <control <at> debbugs.gnu.org>; Sat, 24 Oct 2020 22:53:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=date:message-id:to:from:subject;
 bh=KLejVnng6eShV2WSxoXQr3lCD8mNkE4aJGAI21NCyxY=;
 b=QgUPtqMVxv4TV6g8XTkn4O+YLlWSDnW4E+O0t6uUoWpsWmxjfEHzkCjexVJOSywaVa
 vnESl32sRF+FCYX9PIGQy1Bo3ilkHUktQg5s44+ago9ATUlLgMjuqAn+CtwLM6dtZ6f3
 wT/ZfcjyiXMqJS3/GvqKFogCdr6ub9P0pLVhsn7zO+nEEFxwfxQfAPl4/goY3NFst8cg
 6ilDVszETvaYp8DeV7XhVZa/pXzetV5VSFI58ti6bIaE+3p/e+mH+fP7JCuKx6JFrWmp
 7HlFQV9T/BZF4a+6BNYd7lUAdzbUdp1M7BbatLeEMBVTMxzrASKE0BKc8UTVGrMts8nX
 UFJQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:message-id:to:from:subject;
 bh=KLejVnng6eShV2WSxoXQr3lCD8mNkE4aJGAI21NCyxY=;
 b=QE7IwfsgR/a9NZ+Pd+g6NHd3ZRbA/YlrW4BNnU1GaFn0Zy0adxmRHkLYs9YywHpRpz
 6usF8ARHH+t0SlaCUfDsXyLDtUaqnIzai8+2CzidzXh4eSHlxt0PelXMjm4Iae4dGJkU
 1tbWD+2VwBUK7p/Xr3+MZQNpusrqYjTNSgPOq3YSVM/EdbetjR/o2Dj/VN8+I1qXcsFu
 NWcHHeovetLhTyX/x4XV6c6BUmMI3rHxxAkL8pZx0TQhc0gTUc/4iqrYcNG0xuc2GV9z
 jDaU+HPs2fxQCRKkbc+Gnp8w0WIKxP07Wd7Js9Nlv5VxVm0BSfTu82dduQs2IIIvV3nW
 3+EQ==
X-Gm-Message-State: AOAM532bsWX1nA5I5oPVpGr9uGeYJfUQBzuJ7p11bT7n5NEOaOFA3wY8
 Gkp1TrcGA1GFSt3w2bc/3oCMXqoTMDIGow==
X-Google-Smtp-Source: ABdhPJxRUXdq0ARJ2VMFr7xuRmH/AxWzdWzB/05qD8sjJn0yJwRta4VI7jJgvAh10zSAvBycCyTQgg==
X-Received: by 2002:a92:d5d0:: with SMTP id d16mr5779466ilq.223.1603605208841; 
 Sat, 24 Oct 2020 22:53:28 -0700 (PDT)
Received: from hurd (dsl-159-173.b2b2c.ca. [66.158.159.173])
 by smtp.gmail.com with ESMTPSA id l29sm3190353ili.29.2020.10.24.22.53.28
 for <control <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 24 Oct 2020 22:53:28 -0700 (PDT)
Date: Sun, 25 Oct 2020 01:53:27 -0400
Message-Id: <87y2juyhpk.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: control message for bug #43818
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 43818 + patch
quit





Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 25 Oct 2020 05:56:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 25 01:56:33 2020
Received: from localhost ([127.0.0.1]:35629 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kWZ17-0000fH-ET
	for submit <at> debbugs.gnu.org; Sun, 25 Oct 2020 01:56:33 -0400
Received: from mail-il1-f178.google.com ([209.85.166.178]:36189)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1kWZ16-0000f5-DC
 for control <at> debbugs.gnu.org; Sun, 25 Oct 2020 01:56:32 -0400
Received: by mail-il1-f178.google.com with SMTP id p10so5257398ile.3
 for <control <at> debbugs.gnu.org>; Sat, 24 Oct 2020 22:56:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=date:message-id:to:from:subject;
 bh=zP4cmIKbn4adtgi94TvgRlY9+A03u6f8oT3eZYzswQs=;
 b=b0DnQVQhY0BDMnlwexOi7rqL2b21zQUJJ/NewiQlZSwXWEoEcAKKXJ2C6Lj7JLQp3E
 jDuO/e3LZxwsxuW6ZJSeI4zdeYPH8JRpaqGEkJMP8xq718ZIVbA+WubHilC0JFS3r88Y
 g9q51+9byLTFrhLODtxEy5H+NEfG/YGVuUyXRtSDljxWMVdhN0nOXQ0x4/rJNGpoNhMd
 WGJuFr5/JIEtwCEAXjeeLbnlmVdyEuwfMXHnJMLlZZhKe0Fu1gOjqiPQ2GoDJQwRm35H
 Z0zGnAtR+YE/n0Z9jgXMkG3vDWsq0HK2TQLnptynLY9SwMA5BbyRfPwCqi1MksV1SASt
 NHjA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:message-id:to:from:subject;
 bh=zP4cmIKbn4adtgi94TvgRlY9+A03u6f8oT3eZYzswQs=;
 b=IH2JmZp/clBb0CQa11M57qqs030QSNnzuI+QdyZXlLpilaeo2H6K9lYZ7X3JtGiTD3
 TFgBBd1/s7/XB0cPZwHtjjF04hCMtQNXqjhMtlW/TN8k0j2/+obZYXI4QMn+AwCSxsWM
 YhrEQA+BhgKzqFhCQ39MpnMJpB3EjKZLaA8E3cJexzjibxRrhO1ouEQUL1hEM8Y2yjcd
 6BtR6NUatEXzdF7pcCmdNd/90o2n6wJ97f+23MbVVHckCTmh+e2R+5lYQlZlkNTMg+BF
 pVvp6mYqirNrIqvWwGUhnFcGrjPbo4+ePYz8+pF/bcdwqmGytBj2NrAwq0dCuvufJct5
 tsvA==
X-Gm-Message-State: AOAM532WttFXy34n0ux0/ijNRLQXVSa/W8rHHnEk5EQFSZe2c4WO53Ho
 Lt79htVNckhzamR6p0mWrmaS0AWXkbI=
X-Google-Smtp-Source: ABdhPJw6gY4BnaQJxOSSe8BnxvL5cylHpqtbpB1NbUqIu5ldH4EblfjMVd6L5hGylpML+N+S0q34uQ==
X-Received: by 2002:a92:dcc5:: with SMTP id b5mr1943790ilr.236.1603605386829; 
 Sat, 24 Oct 2020 22:56:26 -0700 (PDT)
Received: from hurd (dsl-159-173.b2b2c.ca. [66.158.159.173])
 by smtp.gmail.com with ESMTPSA id u19sm3379365ioc.10.2020.10.24.22.56.26
 for <control <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 24 Oct 2020 22:56:26 -0700 (PDT)
Date: Sun, 25 Oct 2020 01:56:25 -0400
Message-Id: <87wnzeyhkm.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: control message for bug #43818
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

retitle 43818 search-patches fails when there is a trailing slash on the Guix load path
quit






Last modified: Sun, 25 Oct 2020 06:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.