From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: bug#35542: Installer does not display full backtrace on error Date: Sat, 04 May 2019 18:15:54 +0200 Message-ID: <87o94i42md.fsf@gmail.com> References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> <87y33msgmy.fsf@gmail.com> <20190504122403.noe5hirk6u3qtmcm@pelzflorian.localdomain> <20190504145409.00768bf6@scratchpost.org> <87pnoy42o7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMxLT-0000rx-SP for bug-guix@gnu.org; Sat, 04 May 2019 12:17:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMxLT-0003xb-1B for bug-guix@gnu.org; Sat, 04 May 2019 12:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38511) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMxLS-0003xR-RT for bug-guix@gnu.org; Sat, 04 May 2019 12:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hMxLS-0001Ws-G1 for bug-guix@gnu.org; Sat, 04 May 2019 12:17:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87pnoy42o7.fsf@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Danny Milosavljevic Cc: 35542@debbugs.gnu.org --=-=-= Content-Type: text/plain And the patch ... Sorry, Mathieu --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-installer-Increase-backtrace-verbosity.patch >From 3348df0c72e9bcdf31b63155d9c6bdbaee515524 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sat, 4 May 2019 18:10:40 +0200 Subject: [PATCH] installer: Increase backtrace verbosity. * gnu/installer.scm (installer-program): Set COLUMNS env variable to 200 to make guile backtraces more verbose. --- gnu/installer.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/installer.scm b/gnu/installer.scm index fe2841397e..435cad507d 100644 --- a/gnu/installer.scm +++ b/gnu/installer.scm @@ -400,5 +400,9 @@ selected keymap." ;; some reason, unicode support is not correctly installed ;; when calling this in 'installer-builder'. (setenv "LANG" "en_US.UTF-8") + ;; Initialize 'terminal-width' in (system repl debug) + ;; to a large-enough value to make backtrace more + ;; verbose. + (setenv "COLUMNS" "200") (execl #$(program-file "installer-real" installer-builder) "installer-real")))) -- 2.17.1 --=-=-=--