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: Thu, 14 Sep 2017 10:18:26 +0200 Message-ID: <874ls5d771.fsf@gnu.org> References: <87bmmlpm8m.fsf@albion.it.manchester.ac.uk> <87wp589afc.fsf@gnu.org> <871sndmsq8.fsf@albion.it.manchester.ac.uk> <87y3pl8mai.fsf@gnu.org> <87k212g24q.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]:40264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsPM5-0004oq-DH for help-guix@gnu.org; Thu, 14 Sep 2017 04:18:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsPM4-0001Cg-Fg for help-guix@gnu.org; Thu, 14 Sep 2017 04:18:37 -0400 In-Reply-To: <87k212g24q.fsf@albion.it.manchester.ac.uk> (Dave Love's message of "Wed, 13 Sep 2017 14:27:17 +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: > >> 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 = the >> 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. -L is not needed, it was a typo on my side. Thanks, Ludo=E2=80=99.