From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: Guix build output insufficient Date: Thu, 13 Sep 2018 08:45:05 +0200 Message-ID: <20180913064505.6rhav3mcifcj6tcn@thebird.nl> References: <20180911082653.27gmposcatilbsuq@thebird.nl> <875zzcl09b.fsf@elephly.net> <20180911162321.077cfefb@scratchpost.org> <87r2hzjjgr.fsf@elephly.net> <20180912152505.x4gi4wp4jazl2352@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0LNG-0003Yh-Ry for guix-devel@gnu.org; Thu, 13 Sep 2018 02:45:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0LND-0007cR-JO for guix-devel@gnu.org; Thu, 13 Sep 2018 02:45:10 -0400 Received: from mail.thebird.nl ([94.142.245.5]:38376) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g0LND-0007ba-6q for guix-devel@gnu.org; Thu, 13 Sep 2018 02:45:07 -0400 Content-Disposition: inline In-Reply-To: <20180912152505.x4gi4wp4jazl2352@thebird.nl> 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: Pjotr Prins Cc: guix-devel > So I ran > > guix build --log-file /gnu/store/wk9qbhmdzs62mp40casrndcgm3p50m3b-diamond-0.9.22.drv > > which gave me > > /var/log/guix/drvs/wk/9qbhmdzs62mp40casrndcgm3p50m3b-diamond-0.9.22.drv.bz2 > > which contains the build log for this failed build, including the "foo" > error message. Another thing we should capture somewhere is that some build systems create full log files. For example cmake creates elaborate output in CMakeFiles/CMakeError.log CMakeFiles/CMakeOutput.log inside the build directory (guix package -i foo -K)