From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Love Subject: Re: fixing --check saying outputs not valid Date: Wed, 13 Sep 2017 14:27:17 +0100 Message-ID: <87k212g24q.fsf@albion.it.manchester.ac.uk> References: <87bmmlpm8m.fsf@albion.it.manchester.ac.uk> <87wp589afc.fsf@gnu.org> <871sndmsq8.fsf@albion.it.manchester.ac.uk> <87y3pl8mai.fsf@gnu.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]:40093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ds7hL-0007cW-MR for help-guix@gnu.org; Wed, 13 Sep 2017 09:27:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ds7hI-0005RC-Gv for help-guix@gnu.org; Wed, 13 Sep 2017 09:27:23 -0400 In-Reply-To: <87y3pl8mai.fsf@gnu.org> ("Ludovic \=\?iso-8859-1\?Q\?Court\=E8s\?\= \=\?iso-8859-1\?Q\?\=22's\?\= message of "Mon, 11 Sep 2017 14:14:29 +0200") 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: Ludovic =?iso-8859-1?Q?Court=E8s?= Cc: help-guix@gnu.org Ludovic Court=C3=A8s writes: > Dave Love skribis: >>> 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 t= he > right place, please tell! I don't remember where I found out about using --check when packaging. The manual doesn't mention --no-grafts in connexion with --check as far as I can see. I'd add something like You probably want to use --check with the --no-grafts option when checking a package you are developing, so that it gets rebuilt. >> 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: Thanks. I shouldn't just do what I'm told :-/. However, I don't understand why -L is needed, or what the path should be.