From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#38388: [2.9.5] Inaccurate source location info for unbound variables Date: Fri, 29 Nov 2019 12:04:24 +0100 Message-ID: <87eexrc5af.fsf@igalia.com> References: <8736ea64vg.fsf@inria.fr> <87o8wxabm3.fsf@igalia.com> <87y2w0za1h.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="103249"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: 38388@debbugs.gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Nov 29 12:44:59 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 1iaehm-000Qi8-4B for guile-bugs@m.gmane.org; Fri, 29 Nov 2019 12:44:58 +0100 Original-Received: from localhost ([::1]:57662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaehj-0007o8-Ra for guile-bugs@m.gmane.org; Fri, 29 Nov 2019 06:44:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52398) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaeEG-0003Mj-Js for bug-guile@gnu.org; Fri, 29 Nov 2019 06:14:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iae58-0001Y1-Lg for bug-guile@gnu.org; Fri, 29 Nov 2019 06:05:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53445) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iae58-0001VJ-1h for bug-guile@gnu.org; Fri, 29 Nov 2019 06:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iae57-0005FR-RZ for bug-guile@gnu.org; Fri, 29 Nov 2019 06:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 29 Nov 2019 11:05: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.157502548420149 (code B ref 38388); Fri, 29 Nov 2019 11:05:01 +0000 Original-Received: (at 38388) by debbugs.gnu.org; 29 Nov 2019 11:04:44 +0000 Original-Received: from localhost ([127.0.0.1]:59417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iae4q-0005Er-9T for submit@debbugs.gnu.org; Fri, 29 Nov 2019 06:04:44 -0500 Original-Received: from fanzine.igalia.com ([178.60.130.6]:40479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iae4n-0005Eb-Kn for 38388@debbugs.gnu.org; Fri, 29 Nov 2019 06:04:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=m7TklSAcyejkBpUQcYZf4euH8bde5eCv5hTW+c75Rb4=; b=dBYbq/e2RUPwFM7AsLC2aMrIiud/hNfhHw2+TGCeOakYJ0d9ndh5aayV64FJF/5e0VCvlye1/p9LX4TjDnacXLGuPAbj0XHdCbiN6ZeXpICbId4JESEjtMOH4zNy+YMyLrC6nk/6ESJmnDoJdx5TCYK9Map6pgM3BvXT96Kq0fTiMOtgsqNuv6AW4aR8Vly6/zBnLy7wCfrN+L+w6mr7brFOOj+FNSWXVsab2pslmMIM/INipx3aL0p/miuf3RIyccGmz1r3abpI0Iu40lGm/eoXSSZus6BYCkgj3GmdG+gtcFCbdvwu54NkmJx8PNbJdTTBEdqw4YuiYo5dFIV2Rg==; Original-Received: from lfbn-ann-1-376-195.w86-200.abo.wanadoo.fr ([86.200.91.195] helo=milano) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) id 1iae4g-0000fp-4m; Fri, 29 Nov 2019 12:04:34 +0100 In-Reply-To: <87y2w0za1h.fsf@inria.fr> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22\?\= \=\?utf-8\?Q\?'s\?\= message of "Thu, 28 Nov 2019 09:20:58 +0100") 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:9478 Archived-At: On Thu 28 Nov 2019 09:20, Ludovic Court=C3=A8s w= rites: >>> I have a test that runs =E2=80=98guix system build=E2=80=99 on this fil= e: >>> >>> (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= 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"). > > Any idea where I should poke for debugging? Sure would be nice to reduce the test case! Once you have reduced it, I would first look at the result of ,expand on this form. If it looks the same as in 2.2, then perhaps the CPS layer is at fault. Could be we're dropping an important source location somewher. Andy