From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: fixing --check saying outputs not valid Date: Mon, 11 Sep 2017 14:14:29 +0200 Message-ID: <87y3pl8mai.fsf@gnu.org> References: <87bmmlpm8m.fsf@albion.it.manchester.ac.uk> <87wp589afc.fsf@gnu.org> <871sndmsq8.fsf@albion.it.manchester.ac.uk> 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]:40017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drNc1-00025T-2J for help-guix@gnu.org; Mon, 11 Sep 2017 08:14:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drNbw-0004AX-A0 for help-guix@gnu.org; Mon, 11 Sep 2017 08:14:49 -0400 In-Reply-To: <871sndmsq8.fsf@albion.it.manchester.ac.uk> (Dave Love's message of "Mon, 11 Sep 2017 11:31:43 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Dave Love Cc: help-guix@gnu.org Dave Love skribis: > Ludovic Court=C3=A8s writes: > >> To run --check, you must first already have the store item(s) available. >> >> So you would first run: >> >> guix build hwloc >> >> which will ensure both hwloc and hwloc:lib are in your store, possibly >> by downloading substitutes. >> >> Then you can run =E2=80=9Cguix build hwloc --check -L --no-grafts=E2=80= =9D, which will >> build hwloc locally and raise an error if hwloc:{out,lib} are not >> bit-identical to what you had in store. > > [Should that be documented as the procedure to use?] I think this is documented, but if you think it=E2=80=99s not or not in the right place, please tell! > The trouble is that I don't get a second build with --check: > > $ ./pre-inst-env guix build hwloc --check -L --no-grafts ^^^^ =E2=80=9C--no-grafts=E2=80=9D is taken as an argument to =E2=80=98-L=E2=80= =99, and thus you only rebuilt the grafting derivation: > @ build-started /gnu/store/7d2lk82ak7n0awbr1k5bllwfc43dicsl-hwloc-1.11.= 8.drv - x86_64-linux /var/log/guix/drvs/7d//2lk82ak7n0awbr1k5bllwfc43dicsl-= hwloc-1.11.8.drv.bz2 > grafting '/gnu/store/n2l4ryq1572wnfh4yxljjbh2q40v6jr0-hwloc-1.11.8-debu= g' -> '/gnu/store/dgfpcmkx7wzxjj3d1q6l5dmzjr9z6wz5-hwloc-1.11.8-debug'... > grafting '/gnu/store/hf6k2i6aqqs50p181bs1aa7xw49kd6xn-hwloc-1.11.8-lib'= -> '/gnu/store/jrxiynx443d894and51pa8bylaib0bkc-hwloc-1.11.8-lib'... > grafting '/gnu/store/f969ab3pfvgn28xc812h97jsyif2z5vs-hwloc-1.11.8' -> = '/gnu/store/2mind69xpdx8wv6ixmjix0f12dd2qb2v-hwloc-1.11.8'... > /gnu/store/dgfpcmkx7wzxjj3d1q6l5dmzjr9z6wz5-hwloc-1.11.8-debug > /gnu/store/jrxiynx443d894and51pa8bylaib0bkc-hwloc-1.11.8-lib > /gnu/store/2mind69xpdx8wv6ixmjix0f12dd2qb2v-hwloc-1.11.8 Ludo=E2=80=99.