From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Assertion failure while building libtool Date: Sat, 15 Jun 2013 15:20:17 +0200 Message-ID: <87r4g38q9a.fsf@gnu.org> References: <8761xpzvbt.fsf@tines.lan> <87mwr1tzme.fsf@gnu.org> <87vc5pxqu1.fsf@tines.lan> <8761xou0up.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]:46192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnqTp-0003u9-6w for bug-guix@gnu.org; Sat, 15 Jun 2013 09:25:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnqTo-0002qL-4l for bug-guix@gnu.org; Sat, 15 Jun 2013 09:25:21 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:39699) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnqTn-0002qE-UO for bug-guix@gnu.org; Sat, 15 Jun 2013 09:25:20 -0400 In-Reply-To: <8761xou0up.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 08 Jun 2013 16:35:26 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Mark H Weaver Cc: bug-guix@gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Hi Mark, > > Mark H Weaver skribis: > >> ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> >>> Mark H Weaver 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) =3D=3D >>>> (0040000))' failed. >>> >>> Yes, this is a daemon bug pending a fix: >>> . >>> >>> In the meantime, you can hopefully work around it by deleting the >>> already-present output=E2=80=93i.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 =E2=80=98nix-upstream=E2=80=99 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=E2=80=99.