From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:38366) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP8Pm-0006C8-UC for guix-patches@gnu.org; Thu, 16 Apr 2020 13:35:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jP8Pm-00034A-17 for guix-patches@gnu.org; Thu, 16 Apr 2020 13:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56010) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jP8Pl-000345-UU for guix-patches@gnu.org; Thu, 16 Apr 2020 13:35:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jP8Pl-0008FR-QW for guix-patches@gnu.org; Thu, 16 Apr 2020 13:35:01 -0400 Subject: [bug#40668] [PATCH] installer: Fix backtrace display. Resent-Message-ID: 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 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) From: Mathieu Othacehe Date: Thu, 16 Apr 2020 19:33:54 +0200 Message-Id: <20200416173354.11807-1-m.othacehe@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40668@debbugs.gnu.org Cc: Mathieu Othacehe 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