[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fixing --check saying outputs not valid
From: |
Ludovic Courtès |
Subject: |
Re: fixing --check saying outputs not valid |
Date: |
Thu, 14 Sep 2017 10:18:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Dave Love <address@hidden> skribis:
> Ludovic Courtès <address@hidden> writes:
>
>> Dave Love <address@hidden> skribis:
>>>> Then you can run “guix build hwloc --check -L --no-grafts”, 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’s 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
>> ^^^^
>> “--no-grafts” is taken as an argument to ‘-L’, 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’.