From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EL0cDGVEzl5RIAAA0tVLHw (envelope-from ) for ; Wed, 27 May 2020 10:43:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MErsB2VEzl6ddgAA1q6Kng (envelope-from ) for ; Wed, 27 May 2020 10:43:49 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 791849400EF for ; Wed, 27 May 2020 10:43:48 +0000 (UTC) Received: from localhost ([::1]:57998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdtXH-00050Q-45 for larch@yhetil.org; Wed, 27 May 2020 06:43:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdtX8-00050J-J2 for guix-devel@gnu.org; Wed, 27 May 2020 06:43:38 -0400 Received: from sender4-of-o57.zoho.com ([136.143.188.57]:21748) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jdtX5-0001J2-MH; Wed, 27 May 2020 06:43:38 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1590576208; cv=none; d=zohomail.com; s=zohoarc; b=k07UyFD41lenlbUtmWrI0xL28GCldkPYUBj6jqs+9KO60TzMXVLPuM/+xL1xwNg1zC94LQLiJ70SasDLJut/Zvo/SFKe6/BWbwwWefW7WYXRiaiclxCjYCWTZaF72o5/B4jZt6b2J256u0FgGjtfZHukN6AGpfUtoWzkPxAQ7K8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590576208; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=A4/6QwhBKvxCftPqJILkjfpiZOtv0+L7YLxwflpvCxM=; b=oHWs9spsxJoFvK2ncmo9OhgjNOzIgTZSU1PDaOpK6LkwvDkiXg/kwgxo2w2oHEDiwpMoC6i0B7VGxrRgKlcszVayIUZBaljNzAhlP2Ss0VU4i14EXxvN+u2yBY+YIM+NnC5ZpctEmSu+K1ku9VacYTijGIfO31qGiKCM/6JHToc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1590576208; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; bh=A4/6QwhBKvxCftPqJILkjfpiZOtv0+L7YLxwflpvCxM=; b=HbYoc4+cS8VoyKBsDMeSSHSBToh+kjKWj3oeOUCRQHbRQR+Boe8gfnPssQq/F6VU DxtBhCOQbx+7NkzULeQtzX4T7Xgqet5hHEwkrTqXmr5+Tx3TWdFBUG8TibczcQbQMan VgYCvLxmwSCzYuxhXPIGDP5ooMe5SBI+tvV9OXNo= Received: from localhost (p54ad4fef.dip0.t-ipconnect.de [84.173.79.239]) by mx.zohomail.com with SMTPS id 1590576202183799.9400715401213; Wed, 27 May 2020 03:43:22 -0700 (PDT) References: <87tvbn7ff3.fsf@ambrevar.xyz> <87k1cjihvm.fsf@elephly.net> <87h87n78yf.fsf@ambrevar.xyz> <87muf38yzh.fsf@gmail.com> <87k117x9m7.fsf@ambrevar.xyz> <87zh9xxc8b.fsf@gnu.org> <87lflgjkqc.fsf@ambrevar.xyz> <87imgk6nov.fsf@gnu.org> <875zcjnp14.fsf@ambrevar.xyz> <87d06r5e42.fsf@gnu.org> User-agent: mu4e 1.4.4; emacs 26.3 From: Ricardo Wurmus To: Marius Bakke Subject: Re: Can we increase the print width/column in daemon backtraces In-reply-to: <87d06r5e42.fsf@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 27 May 2020 12:43:17 +0200 Message-ID: <87zh9tirp6.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.57; envelope-from=rekado@elephly.net; helo=sender4-of-o57.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/27 06:30:49 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, Katherine Cox-Buday , Maxim Cournoyer Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=HbYoc4+c; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 1.99 X-TUID: hIVpp8oraekq Marius Bakke writes: > Pierre Neidhardt writes: > >> Marius Bakke writes: >> >>> You can run it directly from a shell, and/or attach a debugger. >> >> Thanks for the tip. >> >> Any idea how to attach Geiser to it? > > The daemon is a C++ program, so I'm not sure that would work ... > > If you are trying to increase the trace width within a build expression, > you probably just need to (setenv "COLUMNS" "200") in the builder. A daemon built with this change prevents truncation in the Guile builders (without having to modify the Guile builders): diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc index 29266f1dd6..94609e07f5 100644 --- a/nix/libstore/build.cc +++ b/nix/libstore/build.cc @@ -2247,6 +2247,7 @@ void DerivationGoal::runChild() Strings envStrs; foreach (Environment::const_iterator, i, env) envStrs.push_back(rewriteHashes(i->first + "=" + i->second, rewritesToTmp)); + envStrs.push_back("COLUMNS=1024"); /* If we are running in `build-users' mode, then switch to the user we allocated above. Make sure that we drop all root -- Ricardo