From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: User-Friendlyness of Guix and non-scaryness, printing messages Date: Sat, 17 Jun 2017 22:16:16 +0200 Message-ID: <87zid69xpr.fsf@gnu.org> References: <87bbe3e5.AEAAKL2r-KIAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZGcQo@mailjet.com> <87y3tw4kw3.fsf@gnu.org> <87r2zfx0xt.fsf@gnu.org> <427678e8.AEUAKjfDcSgAAAAAAAAAAAPB0agAAAACwQwAAAAAAAW9WABZKceD@mailjet.com> <20170528204437.6dfd35c4@scratchpost.org> <20170528192058.GF15883@jasmine> <20170528214029.58dafacf@scratchpost.org> <87lgpe4urh.fsf@elephly.net> <20170616134213.49ab05c7@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMK8s-0004c4-N6 for guix-devel@gnu.org; Sat, 17 Jun 2017 16:16:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMK8p-0000gF-IQ for guix-devel@gnu.org; Sat, 17 Jun 2017 16:16:22 -0400 In-Reply-To: <20170616134213.49ab05c7@scratchpost.org> (Danny Milosavljevic's message of "Fri, 16 Jun 2017 13:42:13 +0200") 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: Danny Milosavljevic Cc: guix-devel@gnu.org Hello, Danny Milosavljevic skribis: > On Tue, 30 May 2017 10:24:34 +0200 > Ricardo Wurmus wrote: > >> Upon failure it can print the location of the build log. > > I'm trying to get this to work but=20 > > guix build --log-file foo > > doesn't seem to print the location of the build log in the failure case... It should work (for local builds at least). Perhaps you also need --no-grafts? Or maybe there=E2=80=99s a bug. > Is it possible to get to it somehow? Sure, just look for in in /var/log/guix/drvs. > Apparently the log files go into log/guix/drvs - but I can't find the pla= ce where the build log is created in the first place... The logs are named after the derivation; see =E2=80=98log-file=E2=80=99 in = (guix store). HTH! Ludo=E2=80=99.