From unknown Tue Aug 19 05:12:48 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#40668] [PATCH] installer: Fix backtrace display. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Apr 2020 17:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40668 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40668@debbugs.gnu.org Cc: Mathieu Othacehe X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158705844631612 (code B ref -1); Thu, 16 Apr 2020 17:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Apr 2020 17:34:06 +0000 Received: from localhost ([127.0.0.1]:39323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jP8Os-0008Do-4X for submit@debbugs.gnu.org; Thu, 16 Apr 2020 13:34:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:40632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jP8Op-0008Df-W4 for submit@debbugs.gnu.org; Thu, 16 Apr 2020 13:34:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38297) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP8Oo-0005iV-S1 for guix-patches@gnu.org; Thu, 16 Apr 2020 13:34:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jP8On-0002dN-QS for guix-patches@gnu.org; Thu, 16 Apr 2020 13:34:02 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:55095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jP8On-0002cg-Hm for guix-patches@gnu.org; Thu, 16 Apr 2020 13:34:01 -0400 Received: by mail-wm1-x341.google.com with SMTP id h2so5470761wmb.4 for ; Thu, 16 Apr 2020 10:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=T9M/eRZ6ON2b3gu8N79l7b7xTtbVuXylNxXQQaw6uQU=; b=Ee2m23CZ+wlkQDIf9WpomMMtGgiByiCGBzWbBxKoikVVICD1wfYqRgazSvlpApBrah 55tGIkbpOqRDO2oAfHmgwU7jVGIRr3L45dffkBVE5A7COODKuozbkeU3ambMN2b/Q7W6 Pg5LWuwvDDqgYaeKSjO3N0hi2il1qbbAzeWviySTG/9vV8v9gHsdX7VUdZFZBw7DV97q Vxf+63yaSaOuYTyySUE81ynDCFdOdeTHryOtFhzFQw3+IhONebnjDQmn7Yq4+ncLCt2s 2+6jtbJiz/S9k+IprRsptbpvQzlHzS4uF7alqJTIiZpvlf7ZdM1W72AfhgTasRlLX1Xb JHkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=T9M/eRZ6ON2b3gu8N79l7b7xTtbVuXylNxXQQaw6uQU=; b=qyVKRf/6We6plfZ51LAF2geS7WaKS5be18WLeUBisP2rs5TmCPD4bpe1F4+6s2Lyxu CXzoaX1MIy/e+zGhkf1cj19O/jmgeXWDjw7PYHEHkwtu713V9xpB8SnDW9SJPlbSn76l OcD3FsaRVkul6972r5ErYOwlygN94KZuBwj/yMOmcq63lF7Qifyw4etEVTLotFzDFE8q mXGvE4VnRXHWDQikb9BKkU6P09Ye2JGDdxEyg3XArpLWkvk0zocEUnK/U5NKfk1vNYpT K8tjWs/dvR18RImIHqkxQ7LSYxnwMwrzEfjtUUylT08TOa8lhnu5Qzig4HaqIeR9giJf FVvA== X-Gm-Message-State: AGi0PuYZfQVDzOOPS1KHSIBg3OxsMQXiM7WVrW5MZj0MoEmUJfTpDNaC tjX44g/rAgCkwcJYXuams4Egl5aB8cQ= X-Google-Smtp-Source: APiQypKir+qctv71qlgwEvHuhWlHzmdFy2D2+4YC2/8uw3gRHMXSF8deQTVKiEVqVk5TvPVT06Ln2g== X-Received: by 2002:a1c:4085:: with SMTP id n127mr6279676wma.163.1587058439777; Thu, 16 Apr 2020 10:33:59 -0700 (PDT) Received: from meru.fronius.com ([2a01:cb18:832e:5f00:25e7:da4f:b379:3b41]) by smtp.gmail.com with ESMTPSA id q17sm4276401wmj.45.2020.04.16.10.33.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Apr 2020 10:33:59 -0700 (PDT) From: Mathieu Othacehe Date: Thu, 16 Apr 2020 19:33:54 +0200 Message-Id: <20200416173354.11807-1-m.othacehe@gmail.com> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The 'syslog' macro cannot be resolved in the pre-unwind-handler context. Failed to resolve 'syslog' in this context resulted in the swallowing of all installation errors. Fixes 5c04b00cf463a543b8ffc9eb55991f6b4cc145dd. Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (m.othacehe[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 2.0 SPOOFED_FREEMAIL No description available. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) The 'syslog' macro cannot be resolved in the pre-unwind-handler context. Failed to resolve 'syslog' in this context resulted in the swallowing of all installation errors. Fixes 5c04b00cf463a543b8ffc9eb55991f6b4cc145dd. * gnu/installer.scm (installer-program): Do not try to resolve 'syslog' macro in the pre-unwind-handler. --- Hello, Since the commit 5c04b00c, error reporting in the installer is broken. Sadly this means that every error happening in the 1.1.0 release will result in an installer restart, without any error information reporting. Thanks, Mathieu gnu/installer.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/installer.scm b/gnu/installer.scm index 1051ee1e5f..eba8a7d428 100644 --- a/gnu/installer.scm +++ b/gnu/installer.scm @@ -436,8 +436,9 @@ selected keymap." #f))) (const #f) (lambda (key . args) - (syslog "crashing due to uncaught exception: ~s ~s~%" - key args) + ((@@ (gnu installer utils) syslog) + "crashing due to uncaught exception: ~s ~s~%" + key args) (let ((error-file "/tmp/last-installer-error")) (call-with-output-file error-file (lambda (port) -- 2.26.0 From unknown Tue Aug 19 05:12:48 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#40668] [PATCH] installer: Fix backtrace display. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Apr 2020 21:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40668 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 40668@debbugs.gnu.org Received: via spool by 40668-submit@debbugs.gnu.org id=B40668.15871576341421 (code B ref 40668); Fri, 17 Apr 2020 21:08:02 +0000 Received: (at 40668) by debbugs.gnu.org; 17 Apr 2020 21:07:14 +0000 Received: from localhost ([127.0.0.1]:41783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPYCg-0000Mr-IW for submit@debbugs.gnu.org; Fri, 17 Apr 2020 17:07:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPYCf-0000Mf-8l for 40668@debbugs.gnu.org; Fri, 17 Apr 2020 17:07:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jPYCa-000873-6f; Fri, 17 Apr 2020 17:07:08 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=53544 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jPYCZ-00037G-EV; Fri, 17 Apr 2020 17:07:07 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200416173354.11807-1-m.othacehe@gmail.com> Date: Fri, 17 Apr 2020 23:07:05 +0200 In-Reply-To: <20200416173354.11807-1-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Thu, 16 Apr 2020 19:33:54 +0200") Message-ID: <87imhxakjq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -1.5 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) Hello, Mathieu Othacehe skribis: > The 'syslog' macro cannot be resolved in the pre-unwind-handler > context. Failed to resolve 'syslog' in this context resulted in the swall= owing > of all installation errors. > > Fixes 5c04b00cf463a543b8ffc9eb55991f6b4cc145dd. > > * gnu/installer.scm (installer-program): Do not try to resolve 'syslog' m= acro > in the pre-unwind-handler. [...] > Since the commit 5c04b00c, error reporting in the installer is broken. Sa= dly > this means that every error happening in the 1.1.0 release will result in= an > installer restart, without any error information reporting.=20 Oh, that=E2=80=99s terrible. :-/ Sorry about that. > - (syslog "crashing due to uncaught exception: ~s ~s~%" > - key args) > + ((@@ (gnu installer utils) syslog) > + "crashing due to uncaught exception: ~s ~s~%" > + key args) Please add (gnu installer utils) to the list of use-modules. =E2=80=98@@=E2=80=99 should only be used in extreme situations. Thanks, Ludo=E2=80=99. From unknown Tue Aug 19 05:12:48 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Mathieu Othacehe Subject: bug#40668: closed (Re: [bug#40668] [PATCH] installer: Fix backtrace display.) Message-ID: References: <87d084pzjd.fsf@gmail.com> <20200416173354.11807-1-m.othacehe@gmail.com> X-Gnu-PR-Message: they-closed 40668 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 40668@debbugs.gnu.org Date: Sat, 18 Apr 2020 15:47:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1587224822-17335-1" This is a multi-part message in MIME format... ------------=_1587224822-17335-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #40668: [PATCH] installer: Fix backtrace display. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 40668@debbugs.gnu.org. --=20 40668: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40668 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1587224822-17335-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 40668-done) by debbugs.gnu.org; 18 Apr 2020 15:46:40 +0000 Received: from localhost ([127.0.0.1]:43430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPpfz-0004V1-Ol for submit@debbugs.gnu.org; Sat, 18 Apr 2020 11:46:40 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:44396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPpfy-0004Uo-2I for 40668-done@debbugs.gnu.org; Sat, 18 Apr 2020 11:46:38 -0400 Received: by mail-wr1-f68.google.com with SMTP id d17so6494552wrg.11 for <40668-done@debbugs.gnu.org>; Sat, 18 Apr 2020 08:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=keoY96g0ORDj4ftRGqf+06i0viDlRZD2urQi4/ny2yo=; b=SYBfreDHAQ4SN077qS2/EGAv8IQ6dkaeV/zI07YCmH4vMrwfmBIaTzflABI488O1u6 HSrSl8vWwNIDpS0HsNclR1no7eipvy4hfzr3Hw3umDxTWjCSsar5kf+X31WmdXrFF1Xc xLagrePUiHW1Ha129k0P+Z45qnNL+31pzVqyo6N/K+e2ws+txr/irl1ze6qICTbnYbk9 0Cd+dJNxa3Mb3hJBRu6/P0hZJ/dqosHu54mlFupKnSwd4SITfha18y+595qvdVsToJUp HtPt+KwNwcrjWKxnjXTWL0rFqBkuLlZpAmnKnOBtLB7sKDicqzlcQjucZ2ozrwJi58wi IjmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=keoY96g0ORDj4ftRGqf+06i0viDlRZD2urQi4/ny2yo=; b=Uydk45nZQy6r0wfuobw669rlYpOWlbdkNwS4ITKAYvyQ5P8WmO+7BVIYXiuIjBUybA 4D5AvcY0aMQyN62/Ncbwa/CLmgkEFq+6rTP/5vuD6YyH3aYKiySy0HuTwDEd8qecr3sE nvKWbNtwWg2gR9xlWsK6J5XxynQoZOmoyRvtH4sFngy0Zo1W8FZOBBpZvRVlTHSKk9Iq B+ic8ZhcuwAmdE6UDF0j1k+JsJUMe9RkKZiKcZuBl7/hFHQYJXRX6TyaVS4DQIxS5/cW 89Qmga/q616oSVvH4Y22nPAlRfP7vw3zBFUvSHxgu8Q4Bc31uCkbFqmkhLhsNtLJ4h03 xzoQ== X-Gm-Message-State: AGi0PuZkXOVmNCDsz6qv9SMt98yVacfOl3jMbE970uY4YGd7L6m/CfmA DyP4EkY/tPDpy7i5xKRSBOCV2lTbUc0= X-Google-Smtp-Source: APiQypIdBUjLJGiI7nJbooPFDPBN7bVmp8DMKC5vVV3zuHcWXqiZmAYXgT6lHR4tX9/PJk9sDzb4MA== X-Received: by 2002:a5d:5085:: with SMTP id a5mr10279988wrt.394.1587224791925; Sat, 18 Apr 2020 08:46:31 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:d529:49dc:8111:3baa]) by smtp.gmail.com with ESMTPSA id 68sm38920441wrm.65.2020.04.18.08.46.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Apr 2020 08:46:30 -0700 (PDT) From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#40668] [PATCH] installer: Fix backtrace display. References: <20200416173354.11807-1-m.othacehe@gmail.com> <87imhxakjq.fsf@gnu.org> Date: Sat, 18 Apr 2020 17:46:30 +0200 In-Reply-To: <87imhxakjq.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 17 Apr 2020 23:07:05 +0200") Message-ID: <87d084pzjd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: 40668-done Cc: 40668-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Hey, > Please add (gnu installer utils) to the list of use-modules. > =E2=80=98@@=E2=80=99 should only be used in extreme situations. Fixed and pushed! Thanks, Mathieu ------------=_1587224822-17335-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Apr 2020 17:34:06 +0000 Received: from localhost ([127.0.0.1]:39323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jP8Os-0008Do-4X for submit@debbugs.gnu.org; Thu, 16 Apr 2020 13:34:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:40632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jP8Op-0008Df-W4 for submit@debbugs.gnu.org; Thu, 16 Apr 2020 13:34:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38297) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP8Oo-0005iV-S1 for guix-patches@gnu.org; Thu, 16 Apr 2020 13:34:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jP8On-0002dN-QS for guix-patches@gnu.org; Thu, 16 Apr 2020 13:34:02 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:55095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jP8On-0002cg-Hm for guix-patches@gnu.org; Thu, 16 Apr 2020 13:34:01 -0400 Received: by mail-wm1-x341.google.com with SMTP id h2so5470761wmb.4 for ; Thu, 16 Apr 2020 10:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=T9M/eRZ6ON2b3gu8N79l7b7xTtbVuXylNxXQQaw6uQU=; b=Ee2m23CZ+wlkQDIf9WpomMMtGgiByiCGBzWbBxKoikVVICD1wfYqRgazSvlpApBrah 55tGIkbpOqRDO2oAfHmgwU7jVGIRr3L45dffkBVE5A7COODKuozbkeU3ambMN2b/Q7W6 Pg5LWuwvDDqgYaeKSjO3N0hi2il1qbbAzeWviySTG/9vV8v9gHsdX7VUdZFZBw7DV97q Vxf+63yaSaOuYTyySUE81ynDCFdOdeTHryOtFhzFQw3+IhONebnjDQmn7Yq4+ncLCt2s 2+6jtbJiz/S9k+IprRsptbpvQzlHzS4uF7alqJTIiZpvlf7ZdM1W72AfhgTasRlLX1Xb JHkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=T9M/eRZ6ON2b3gu8N79l7b7xTtbVuXylNxXQQaw6uQU=; b=qyVKRf/6We6plfZ51LAF2geS7WaKS5be18WLeUBisP2rs5TmCPD4bpe1F4+6s2Lyxu CXzoaX1MIy/e+zGhkf1cj19O/jmgeXWDjw7PYHEHkwtu713V9xpB8SnDW9SJPlbSn76l OcD3FsaRVkul6972r5ErYOwlygN94KZuBwj/yMOmcq63lF7Qifyw4etEVTLotFzDFE8q mXGvE4VnRXHWDQikb9BKkU6P09Ye2JGDdxEyg3XArpLWkvk0zocEUnK/U5NKfk1vNYpT K8tjWs/dvR18RImIHqkxQ7LSYxnwMwrzEfjtUUylT08TOa8lhnu5Qzig4HaqIeR9giJf FVvA== X-Gm-Message-State: AGi0PuYZfQVDzOOPS1KHSIBg3OxsMQXiM7WVrW5MZj0MoEmUJfTpDNaC tjX44g/rAgCkwcJYXuams4Egl5aB8cQ= X-Google-Smtp-Source: APiQypKir+qctv71qlgwEvHuhWlHzmdFy2D2+4YC2/8uw3gRHMXSF8deQTVKiEVqVk5TvPVT06Ln2g== X-Received: by 2002:a1c:4085:: with SMTP id n127mr6279676wma.163.1587058439777; Thu, 16 Apr 2020 10:33:59 -0700 (PDT) Received: from meru.fronius.com ([2a01:cb18:832e:5f00:25e7:da4f:b379:3b41]) by smtp.gmail.com with ESMTPSA id q17sm4276401wmj.45.2020.04.16.10.33.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Apr 2020 10:33:59 -0700 (PDT) From: Mathieu Othacehe To: guix-patches@gnu.org Subject: [PATCH] installer: Fix backtrace display. Date: Thu, 16 Apr 2020 19:33:54 +0200 Message-Id: <20200416173354.11807-1-m.othacehe@gmail.com> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The 'syslog' macro cannot be resolved in the pre-unwind-handler context. Failed to resolve 'syslog' in this context resulted in the swallowing of all installation errors. Fixes 5c04b00cf463a543b8ffc9eb55991f6b4cc145dd. Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (m.othacehe[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 2.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit Cc: Mathieu Othacehe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) The 'syslog' macro cannot be resolved in the pre-unwind-handler context. Failed to resolve 'syslog' in this context resulted in the swallowing of all installation errors. Fixes 5c04b00cf463a543b8ffc9eb55991f6b4cc145dd. * gnu/installer.scm (installer-program): Do not try to resolve 'syslog' macro in the pre-unwind-handler. --- Hello, Since the commit 5c04b00c, error reporting in the installer is broken. Sadly this means that every error happening in the 1.1.0 release will result in an installer restart, without any error information reporting. Thanks, Mathieu gnu/installer.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/installer.scm b/gnu/installer.scm index 1051ee1e5f..eba8a7d428 100644 --- a/gnu/installer.scm +++ b/gnu/installer.scm @@ -436,8 +436,9 @@ selected keymap." #f))) (const #f) (lambda (key . args) - (syslog "crashing due to uncaught exception: ~s ~s~%" - key args) + ((@@ (gnu installer utils) syslog) + "crashing due to uncaught exception: ~s ~s~%" + key args) (let ((error-file "/tmp/last-installer-error")) (call-with-output-file error-file (lambda (port) -- 2.26.0 ------------=_1587224822-17335-1--