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 KCxlI8UGJmL77AAAgWs5BA (envelope-from ) for ; Mon, 07 Mar 2022 14:21:09 +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 AKv3G8UGJmKHdQAAG6o9tA (envelope-from ) for ; Mon, 07 Mar 2022 14:21:09 +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 17D152C8BE for ; Mon, 7 Mar 2022 14:21:08 +0100 (CET) Received: from localhost ([::1]:42926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRDIG-00018y-Li for larch@yhetil.org; Mon, 07 Mar 2022 08:20:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRDHP-00014n-61 for bug-guix@gnu.org; Mon, 07 Mar 2022 08:20:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRDHO-0002Vm-Q2 for bug-guix@gnu.org; Mon, 07 Mar 2022 08:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nRDHO-0008Sa-Ex for bug-guix@gnu.org; Mon, 07 Mar 2022 08:20:02 -0500 Subject: bug#54003: 'local-file' fails to resolve relative file names with Guile 3.0.8 Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Mon, 07 Mar 2022 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 54003 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Mail-Followup-To: 54003@debbugs.gnu.org, ludo@gnu.org, avityazev@posteo.org Received: via spool by 54003-done@debbugs.gnu.org id=D54003.164665915132451 (code D ref 54003); Mon, 07 Mar 2022 13:20:02 +0000 Received: (at 54003-done) by debbugs.gnu.org; 7 Mar 2022 13:19:11 +0000 Received: from localhost ([127.0.0.1]:52729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRDGZ-0008RL-BT for submit@debbugs.gnu.org; Mon, 07 Mar 2022 08:19:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRDGX-0008R6-Ri for 54003-done@debbugs.gnu.org; Mon, 07 Mar 2022 08:19:10 -0500 Received: from [2001:470:142:3::e] (port=42252 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRDGP-0002J3-Eh; Mon, 07 Mar 2022 08:19:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=o6U/b3z+KTlqyqodMVjTS+T+9uPfRPOowm83QyNP7d4=; b=VxMkQjHuOJYi1oDregJa 5LFWbFbKzMVNQX95HHm3pN2jQbnlhLuICP4fOIL2LedmodcX5Nl5MMqXRRXuPArj01IFO2bc0mX6C WilRej+W5rzNC+uS/F/A/JhET86+918yhHWbxX3hWe3dCnejfNluVPWELvXkPlm5u82XyWpE6ztfA F3R+XdOH1/fqEy6afOh7qZ/dS3dqm7CLj90O5kEVhbo41gIsyfzbVxLr4L8z8S98ZuF0/zbk29QzO jDNWvMMTEJpFXxLmMqqS7XCNqPvrEpOHAwLltEAaoJJBnCu8Pau31rxDyS2ILgTDze75miZ45OJgY TWe01FMGOKtBhw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:53316 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRDGO-0004qM-RL; Mon, 07 Mar 2022 08:19:01 -0500 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> <87sfsivm1t.fsf@gnu.org> Date: Mon, 07 Mar 2022 14:18:58 +0100 In-Reply-To: <87sfsivm1t.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 16 Feb 2022 17:00:30 +0100") Message-ID: <87wnh5294t.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-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-done@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=1646659269; 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-to: 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:dkim-signature; bh=o6U/b3z+KTlqyqodMVjTS+T+9uPfRPOowm83QyNP7d4=; b=Akq+zX5T5nSUto4ImdaHKS8ULKc+IigVq6QyguPtz0NY7XGPBaML/4TxdOiNpH6Gh4daKQ tbITyjdiaW30D1SiFKuUeRkja/dNRYWqG5vfPH81oBomqj6YH6dJHii9pPixW5YkthhrlM fuXszzqNoSD1l6INStVgR22bgZlYPymN1Fa4D6hGr+bIS566vONkAHG1M5EfgaX8As3uUd Qc5zEYDiiH71wJdOGbSJNnr4dmFR8ExCP66ErGz0+4TqLA3nC9xlZEFmWMefi81VyAXwlN 7greo49d3dDueZFdDlytEUgPxhE0IZ27Xctxuw9nt/jVYZRapRQSEAthGL1z7A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646659269; a=rsa-sha256; cv=none; b=pfSBapJ/FWvv7XL53p6Mhp0XG0qApfU64Ga+no0ytk67jgeP/2AmhaM9EPFj5IkErmuhsr 0AMZ/Cc9Na68HI9czO/p2D52jDmq8RJn1W7sX0/s032pr4XnGFq3PYPTqDf08+l5E2GiEI oww9iBHllhvqqIziCSpcNarZ6xlRu5LZKPgD0bafkUYwzpl5WimZo1i3XwsZdK3Rc8Zx7S /adZ3mwbItSaE2VOepWcunM4+VYFtz03Rtl6PFbogRJJDr6njmIgHhyUYZgmQEupnDjJxW wWdHSoQg6LCSF8UjXQyNOqcYnDQxRkLybi830WC64T8VONgr6g7oIZ/ZFzNCzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=VxMkQjHu; 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.82 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=VxMkQjHu; 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: 17D152C8BE X-Spam-Score: -2.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8aoFjXJD5kWs Ludovic Court=C3=A8s skribis: > 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 exten= sions. >> >> 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 si= de. Fixed in Guile: https://git.savannah.gnu.org/cgit/guile.git/commit/?id=3D347321ece9fc85dd= f74af3c798230b7b187fbce9 Closing! Ludo=E2=80=99.