From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#28231: log-file: echo name at the end of builds Date: Mon, 05 Feb 2018 12:20:38 +0100 Message-ID: <877errfzsp.fsf@gnu.org> References: <20170825145524.wt5iqxvzvgpwnsj2@abyayala> 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]:45800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiepd-0004UQ-Ap for bug-guix@gnu.org; Mon, 05 Feb 2018 06:21:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eiepa-0003EK-5u for bug-guix@gnu.org; Mon, 05 Feb 2018 06:21:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:49842) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eiepa-0003EC-2c for bug-guix@gnu.org; Mon, 05 Feb 2018 06:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eiepZ-0002h6-Sd for bug-guix@gnu.org; Mon, 05 Feb 2018 06:21:01 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <20170825145524.wt5iqxvzvgpwnsj2@abyayala> (ng0@infotropique.org's message of "Fri, 25 Aug 2017 14:55:24 +0000") 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: ng0 Cc: 28231-done@debbugs.gnu.org Hello, ng0 skribis: > When a build invoked with --no-build-hook -K --log-file fails, this is the > last output you'll see: > > 14:01.58 565 compiler warnings present. > mach configuremachphase `configure' failed after 869.5 seconds > note: keeping build directory `/tmp/guix-build-thunderbird-52.2.1.drv-0' > builder for `/gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thunderbird-52.2= .1.drv' failed with exit code 1 > @ build-failed /gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thunderbird-52= .2.1.drv - 1 builder for `/gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thund= erbird-52.2.1.drv' failed with exit code 1 > guix build: error: build failed: build of `/gnu/store/n7qma1ypp2px1shd88r= 736ykjg5dngll-thunderbird-52.2.1.drv' failed > > As far as I remember from builds I have aborted at the beginning, the > logfile name is displayed when the build process beginns. > > In my opinion we should also display them at the end builds (however they= end). > If we don't record logs of failed builds, we should start doing that. I don=E2=80=99t think it=E2=80=99s necessary, we can always get the file na= me with =E2=80=9Cguix build --log-file=E2=80=9D, can=E2=80=99t we? Ludo=E2=80=99.