From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Assertion failure while building libtool Date: Fri, 07 Jun 2013 22:45:58 -0400 Message-ID: <87vc5pxqu1.fsf@tines.lan> References: <8761xpzvbt.fsf@tines.lan> <87mwr1tzme.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]:50573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ul9AV-0005YM-6H for bug-guix@gnu.org; Fri, 07 Jun 2013 22:46:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ul9AT-0003Sw-Ul for bug-guix@gnu.org; Fri, 07 Jun 2013 22:46:15 -0400 In-Reply-To: <87mwr1tzme.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 07 Jun 2013 22:49:45 +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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: bug-guix@gnu.org Hi Ludovic, 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: --8<---------------cut here---------------start------------->8--- mhw@tines:~/guix$ ./pre-inst-env guix gc --delete /nix/store/wbsypglflcy7fi= 08h4finffjy9mqzh12-libtool-2.4.2 finding garbage collector roots... removing stale temporary roots file `/usr/local/var/nix/temproots/18019' guix gc: error: build failed: cannot delete path `/nix/store/wbsypglflcy7fi= 08h4finffjy9mqzh12-libtool-2.4.2' since it is still alive mhw@tines:~/guix$ ./pre-inst-env guix gc --references /nix/store/wbsypglflc= y7fi08h4finffjy9mqzh12-libtool-2.4.2 /nix/store/gk8dpqzml7n6ah0nxi59hrpwjaqqml64-gcc-4.7.3 /nix/store/wbsypglflcy7fi08h4finffjy9mqzh12-libtool-2.4.2 /nix/store/ybdv89csf4sn7wbmgj9kfjjk1b0mhrlb-glibc-2.17 /nix/store/zch43a56qdchdw0xm3lwpr8ydg8ksx25-bash-4.2 --8<---------------cut here---------------end--------------->8--- > or > > guix gc --delete /nix/store/g1wl3hkiykindg7xjl05r57vim6jsyki-libtool-2.= 4.2-bin This command succeeds, but does not solve the problem for me. Any other suggestions? Thanks, Mark