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 ms0.migadu.com with LMTPS id gBhTD8ofDWLzLwEAgWs5BA (envelope-from ) for ; Wed, 16 Feb 2022 17:01:14 +0100 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 kPAhCMofDWKKYQAAG6o9tA (envelope-from ) for ; Wed, 16 Feb 2022 17:01:14 +0100 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 AD2A72A226 for ; Wed, 16 Feb 2022 17:01:13 +0100 (CET) Received: from localhost ([::1]:58536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKMjw-0007VV-Tg for larch@yhetil.org; Wed, 16 Feb 2022 11:01:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKMjm-0007Tv-IM for bug-guix@gnu.org; Wed, 16 Feb 2022 11:01:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKMjm-0005S0-8F for bug-guix@gnu.org; Wed, 16 Feb 2022 11:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nKMjm-0001yr-7M for bug-guix@gnu.org; Wed, 16 Feb 2022 11:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#54003: local-file after Guile update Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 16 Feb 2022 16:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54003 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Received: via spool by 54003-submit@debbugs.gnu.org id=B54003.16450272437577 (code B ref 54003); Wed, 16 Feb 2022 16:01:02 +0000 Received: (at 54003) by debbugs.gnu.org; 16 Feb 2022 16:00:43 +0000 Received: from localhost ([127.0.0.1]:49284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKMjT-0001y8-B3 for submit@debbugs.gnu.org; Wed, 16 Feb 2022 11:00:43 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:59998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKMjN-0001xp-Uu for 54003@debbugs.gnu.org; Wed, 16 Feb 2022 11:00:41 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 48F91A27; Wed, 16 Feb 2022 17:00:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ezwi7c2fmRhn; Wed, 16 Feb 2022 17:00:31 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 5CE0957B; Wed, 16 Feb 2022 17:00:31 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zgmtqfsf.fsf@posteo.org> <87pmnoyy2s.fsf@gnu.org> <87iltgxgv4.fsf@gmail.com> <871r03zzky.fsf@gnu.org> <695f30cb2a9857b3f616333b9a9fafb347f60061.camel@telenet.be> <87v8xfycde.fsf@gnu.org> <87mtirxfg6.fsf@gnu.org> Date: Wed, 16 Feb 2022 17:00:30 +0100 In-Reply-To: <87mtirxfg6.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 16 Feb 2022 11:40:09 +0100") Message-ID: <87sfsivm1t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: + X-Rspamd-Server: hera X-Rspamd-Queue-Id: 48F91A27 X-Spamd-Result: default: False [1.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_CC(0.00)[debbugs.gnu.org,gmail.com,posteo.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 54003@debbugs.gnu.org, Maxim Cournoyer , Aleksandr Vityazev Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645027273; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=yeWgiQNrSaGx2C+L1zYNwAtb2D9lAm6f5JPt8wtYXG8=; b=mIfkxhHFEb3rYSFJDkpcSwDCshwHzCH01aQNmhAdlhZymWFubd33qfOlH8csBYga1smMjj 6WJ2pa4dpo9m9x0iL7MlqLNbsa6bwjdiPdo0EdqRJtwocfNCKV4R7bvwPpCyAjjkxuK6hF U34P59mo6c7fBplhGUe4lTu+zZVkjyPp/8TYOTsKw2YjDlC9l4m8f1w2poe/9rEH3IyKQq mQeFhIwUVPL1LQJVLugb1RgeJJqHPwr93sh1lN7/dz4ivKp3TSWWpOXoSGyiNhj2y94x9h utIAXUhcLkVDtKXzGy2Th87RY8E1YxTXq0wFRAVAXAwXeFOsE9Qo/Hj9vvoq5w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645027273; a=rsa-sha256; cv=none; b=IvYpLaJuGsWeRvweNBW2ct5AZyzJZ9Ps36Qk+m4DC0ZFqOEOAA8bLM3mnydPUNC28sbVk0 d0udxaH9ujwu+xQOSFTRSXHoVHU0tRw4QTyhhMOAtP9ogatSwv5JbTe1Mgb+nsuGHbMXpA bEVXpool1KOYZ0mqmb2s+KcTfptcQ0x7E47ljYhYD3LmGFKp4Xl/WP+MUcrusyff8BKHH5 CSHK3ymM3MUofhPmrj4BNoa2HochLn8V0aZZTvh6phK5zTv5tTC/XoKnhKbzBuOKey3Kr2 LlTLDv5VMwID6LOcs52bM5YPQQEi2+XXMuMIcX/ts5ueEIwt/FbRLN5tS2X1ZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AD2A72A226 X-Spam-Score: -2.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7d2x/kn3Js2k Ludovic Court=C3=A8s skribis: >>>From 7fd25c6f15f74fb6e45fc3f0db21a110267f262c Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?Ludovic=3D20Court=3DC3=3DA8s?=3D > Date: Wed, 16 Feb 2022 11:27:43 +0100 > Subject: [PATCH] gexp: Preserve source location for #~ and #$ read extens= ions. > > Read hash extensions preserve source location info as source properties > on their result. However, in Guile 3.0.8, that location would be > dismissed, leading 'local-file' to fail to resolve file names relative > to the source directory. > > Fixes . > Reported by Aleksandr Vityazev . > > * guix/gexp.scm [read-syntax-redefined?, read-procedure] > [read-syntax*]: New variables. > [read-ungexp]: Adjust to expect either sexps or syntax objects. > [read-gexp]: Call 'read-procedure'. > * tests/gexp.scm ("local-file, relative file name, within gexp") > ("local-file, relative file name, within gexp, compiled"): New tests. Pushed as ca155a20aea25003b03ef5e0420c77e416d5f425 after verifying that it works with 3.0.7. I=E2=80=99m leaving the bug open so we can see what to do on the Guile side. Ludo=E2=80=99.