From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Guix build output insufficient Date: Tue, 11 Sep 2018 13:52:16 +0200 Message-ID: <875zzcl09b.fsf@elephly.net> References: <20180911082653.27gmposcatilbsuq@thebird.nl> 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]:40240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzhDu-000755-TR for guix-devel@gnu.org; Tue, 11 Sep 2018 07:52:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzhDr-0004ff-Jo for guix-devel@gnu.org; Tue, 11 Sep 2018 07:52:50 -0400 In-reply-to: <20180911082653.27gmposcatilbsuq@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 Hi Pjotr, > On latest > > ./pre-inst guix package -i something > > The new color scheme is nice for output. But I miss the old build > logs. How do I get them back? The build logs are stored by the daemon. You can get their location by doing guix build --log-file something Note also that =E2=80=9Cguix build something=E2=80=9D still has the same be= haviour as before. If you want =E2=80=9Cguix package=E2=80=9D to print build logs you= need to pass =E2=80=9C--verbose=E2=80=9D. I realize that =E2=80=99--verbose=E2=80=99 and =E2=80=99--verbosity=3DLEVEL= =E2=80=99 appear to collide. We should remove the latter because all it changes is the daemon verbosity, which isn=E2=80=99t very helpful in most cases. > Also when I got the hash wrong I did not display the new hash value. > And -K does not show the tmp location. E.g. > > ./pre-inst-env guix package -p ~/opt/gdc -i gdc --substitute-urls=3D"ht= tps://berlin.guixsd.org https://mirror.hydra.gnu.org" -K > (...) > > Build failed: /gnu/store/85salmra99rwz6ifpmswvd9kc5cl69gv-gdc-7a5dbd1.d= rv - 1 r:sha256 hash mismatch for output path `/gnu/store/wk3sm5krg5srrdivf= sjvsz5snd2nqipg-gdc-7a5dbd1' > expected: 0i0yrcpqrbghq1ddp2zbqq4anl3z5l9fp9b7kblf40642pbdg49d > actual: > -guix package: error: build failed: build of `/gnu/store/wp5wr8f4xnc69a= mc1g8mfb7ypipx5gz0-gdc-v2.082.0-rc.1.drv' failed Yes, this looks like a bug. Not sure why this happens. Thanks for reporting it. -- Ricardo