GNU bug report logs - #35542
Installer does not display full backtrace on error

Previous Next

Package: guix;

Reported by: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

Date: Fri, 3 May 2019 09:00:01 UTC

Severity: normal

Done: Mathieu Othacehe <m.othacehe <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 35542 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 35542 <at> debbugs.gnu.org,
 "pelzflorian \(Florian Pelz\)" <pelzflorian <at> pelzflorian.de>
Subject: Re: bug#35542: Installer does not display full backtrace on error
Date: Sat, 04 May 2019 18:15:54 +0200
[Message part 1 (text/plain, inline)]
And the patch ...

Sorry,

Mathieu
[0001-installer-Increase-backtrace-verbosity.patch (text/x-diff, inline)]
From 3348df0c72e9bcdf31b63155d9c6bdbaee515524 Mon Sep 17 00:00:00 2001
From: Mathieu Othacehe <m.othacehe <at> gmail.com>
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


This bug report was last modified 6 years and 68 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.