From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Vollmert Subject: Re: Can we increase the print width/column in daemon backtraces Date: Mon, 15 Jul 2019 22:41:37 +0200 Message-ID: <377F5C5B-ED9C-4D4D-9DA5-1DA30E143FD0@vllmrt.net> References: <87tvbn7ff3.fsf@ambrevar.xyz> <87k1cjihvm.fsf@elephly.net> <9tPianBRksiYE23D5cEQSqawK0Ryj6_jMholZe9j0Y3mF6lxzAjtO4qI033RSomrDyHILwQvCfc1WRG2SR9fT9EGRTm_k3_7gEgiEsMN8j8=@protonmail.com> <877e8ji9wq.fsf@elephly.net> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36549) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hn7nD-0000Gz-Tk for guix-devel@gnu.org; Mon, 15 Jul 2019 16:41:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hn7nC-0006jS-Pk for guix-devel@gnu.org; Mon, 15 Jul 2019 16:41:51 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:16050) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hn7nC-0006iZ-JZ for guix-devel@gnu.org; Mon, 15 Jul 2019 16:41:50 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 484DEA11E9 for ; Mon, 15 Jul 2019 22:41:48 +0200 (CEST) Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id toN2EkRLnqqh for ; Mon, 15 Jul 2019 22:41:38 +0200 (CEST) In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: "guix-devel@gnu.org" On 15. Jul 2019, at 20:38, Robert Vollmert wrote: >=20 >> On 15. Jul 2019, at 17:40, Ricardo Wurmus wrote: >>=20 >> P writes: >>=20 >>>> Hi Pierre, >>>>=20 >>>>> Quite often when packaging and iterating, the daemon produces = backtraces >>>>> on errors, which could be very useful to understand what's wrong, = but >>>>> unfortunately the output is truncated to some 80-ish column. >>>>=20 >>>> Set the COLUMNS environment variable to some large value. >>>>=20 >>> Can't it just not truncate them? This is a very brutish way of >>> condensing log output and breaks some workflows. >>=20 >> I also don=E2=80=99t like it, but that=E2=80=99s what Guile does. = (It=E2=80=99s not Guix that >> truncates the output.) >=20 > It=E2=80=99s open source, though, isn=E2=80=99t it? Let=E2=80=99s fix = it! I sent a patch against guile: = https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36677 If you=E2=80=99d like to try it in guix, here=E2=80=99s a patch to apply = the patch to guile-next, though I guess to make it apply to the build daemon you=E2=80=99d have = to apply it to gnu/packages/guile.scm:guile/fixed. Happy to submit a patch to do that.