From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#38388: [2.9.5] Inaccurate source location info for unbound variables Date: Tue, 26 Nov 2019 16:20:51 +0100 Message-ID: <8736ea64vg.fsf@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="16585"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: Andy Wingo To: bug-Guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Nov 26 16:21:16 2019 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iZceS-0004BM-AL for guile-bugs@m.gmane.org; Tue, 26 Nov 2019 16:21:16 +0100 Original-Received: from localhost ([::1]:56268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZceQ-0002wO-9w for guile-bugs@m.gmane.org; Tue, 26 Nov 2019 10:21:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56735) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZceH-0002sm-S8 for bug-guile@gnu.org; Tue, 26 Nov 2019 10:21:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZceG-00018j-Ru for bug-guile@gnu.org; Tue, 26 Nov 2019 10:21:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46758) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZceG-00018X-N3 for bug-guile@gnu.org; Tue, 26 Nov 2019 10:21:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iZceD-0002gK-Rp; Tue, 26 Nov 2019 10:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: wingo@igalia.com, bug-guile@gnu.org Resent-Date: Tue, 26 Nov 2019 15:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38388 X-GNU-PR-Package: guile X-Debbugs-Original-Xcc: Andy Wingo Original-Received: via spool by submit@debbugs.gnu.org id=B.157478166010290 (code B ref -1); Tue, 26 Nov 2019 15:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Nov 2019 15:21:00 +0000 Original-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 1iZceC-0002fu-J3 for submit@debbugs.gnu.org; Tue, 26 Nov 2019 10:21:00 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:46521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZceA-0002fm-MW for submit@debbugs.gnu.org; Tue, 26 Nov 2019 10:20:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56686) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZce9-0002dZ-I1 for bug-Guile@gnu.org; Tue, 26 Nov 2019 10:20:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZce8-0000oa-5V for bug-Guile@gnu.org; Tue, 26 Nov 2019 10:20:57 -0500 Original-Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:7440) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iZce7-0000l6-Rx for bug-Guile@gnu.org; Tue, 26 Nov 2019 10:20:56 -0500 X-IronPort-AV: E=Sophos;i="5.69,246,1571695200"; d="scan'208";a="328085020" Original-Received: from nat-eduroam-36-gw-01-bso.bordeaux.inria.fr (HELO ribbon) ([194.199.1.36]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES256-GCM-SHA384; 26 Nov 2019 16:20:52 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 Frimaire an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:9470 Archived-At: Hello, I have a test that runs =E2=80=98guix system build=E2=80=99 on this file: --8<---------------cut here---------------start------------->8--- (use-modules (gnu)) ; 1 (use-service-modules networking) ; 2 (operating-system ; 4 (host-name "antelope") ; 5 (timezone "Europe/Paris") ; 6 (locale "en_US.UTF-8") ; 7 (bootloader (GRUB-config (target "/dev/sdX"))) ; 9 (file-systems (cons (file-system (device (file-system-label "root")) (mount-point "/") (type "ext4")) %base-file-systems))) --8<---------------cut here---------------end--------------->8--- Here, =E2=80=98GRUB-config=E2=80=99 is unbound, and the test expects to see= a stack frame corresponding to line 9. However, the stack frame we get is for line 11, char 32, which corresponds to (file-system-label "root"). So it would seem that the IP-to-source-location mapping is not quite working as expected. Thoughts? Ludo=E2=80=99.