From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!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: Sat, 07 Mar 2020 17:06:56 +0100 Message-ID: <8736aki1y7.fsf@gnu.org> References: <8736ea64vg.fsf@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="86140"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) To: 38388@debbugs.gnu.org, Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Sat Mar 07 17:08:08 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jAbzj-000MKe-QS for guile-bugs@m.gmane-mx.org; Sat, 07 Mar 2020 17:08:07 +0100 Original-Received: from localhost ([::1]:50102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAbzi-0007Lg-SR for guile-bugs@m.gmane-mx.org; Sat, 07 Mar 2020 11:08:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40704) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAbze-0007LU-P4 for bug-guile@gnu.org; Sat, 07 Mar 2020 11:08:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAbzd-0006bh-Qp for bug-guile@gnu.org; Sat, 07 Mar 2020 11:08:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41456) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jAbzd-0006bC-NH for bug-guile@gnu.org; Sat, 07 Mar 2020 11:08:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jAbzd-0000L1-Ix for bug-guile@gnu.org; Sat, 07 Mar 2020 11:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 07 Mar 2020 16:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38388 X-GNU-PR-Package: guile Original-Received: via spool by 38388-submit@debbugs.gnu.org id=B38388.15835972261223 (code B ref 38388); Sat, 07 Mar 2020 16:08:01 +0000 Original-Received: (at 38388) by debbugs.gnu.org; 7 Mar 2020 16:07:06 +0000 Original-Received: from localhost ([127.0.0.1]:47426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAbyk-0000Je-Ea for submit@debbugs.gnu.org; Sat, 07 Mar 2020 11:07:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAbyi-0000JA-Ml for 38388@debbugs.gnu.org; Sat, 07 Mar 2020 11:07:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jAbyd-0005J9-4r; Sat, 07 Mar 2020 11:06:59 -0500 Original-Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60400 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jAbyc-0005Bt-8H; Sat, 07 Mar 2020 11:06:58 -0500 In-Reply-To: <8736ea64vg.fsf@inria.fr> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22\?\= \=\?utf-8\?Q\?'s\?\= message of "Tue, 26 Nov 2019 16:20:51 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9622 Archived-At: Hi, Ludovic Court=C3=A8s skribis: > I have a test that runs =E2=80=98guix system build=E2=80=99 on this file: > > (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))) > > Here, =E2=80=98GRUB-config=E2=80=99 is unbound, and the test expects to s= ee 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"). I can=E2=80=99t say I got to the bottom of why we got this weird line numbe= r, but commit d3a775ff10cbd0e14af38d6f900a7538db89bd90 solves this specific issue. Ludo=E2=80=99.