[email protected] (Ludovic Courtès) skribis:

> Hi Mark,
>
> Mark H Weaver <[email protected]> skribis:
>
>> [email protected] (Ludovic Courtès) writes:
>>
>>> Mark H Weaver <[email protected]> skribis:
>>>
>>>> I did a clean rebuild of guix from git master (make clean; ./bootstrap;
>>>> make), and then attempted to upgrade all packages.  After several
>>>> successful builds, the daemon printed this:
>>>>
>>>> guix-daemon: nix/libstore/local-store.cc:526: void
>>>> nix::canonicalisePathMetaData_(const Path&, uid_t,
>>>> nix::InodesSeen&): Assertion `!((((st.st_mode)) & 0170000) ==
>>>> (0040000))' failed.
>>>
>>> Yes, this is a daemon bug pending a fix:
>>> <https://github.com/NixOS/nix/issues/122>.
>>>
>>> In the meantime, you can hopefully work around it by deleting the
>>> already-present output–i.e., by running either:
>>>
>>>   guix gc --delete /nix/store/wbsypglflcy7fi08h4finffjy9mqzh12-libtool-2.4.2
>>
>> This command fails because there are still references:
>
> OK.  I believe this (untested) patch fixes the underlying problem:

Commit 16357e8 updates the ‘nix-upstream’ submodule to the latest Nix,
which has a fix for this problem.  Re-run ./bootstrap to get it.

Details at https://github.com/NixOS/nix/issues/122 .

Ludo’.

Reply via email to