From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Assertion failure while building libtool Date: Fri, 07 Jun 2013 13:25:58 -0400 Message-ID: <8761xpzvbt.fsf@tines.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ul0Qb-0006vX-1N for bug-guix@gnu.org; Fri, 07 Jun 2013 13:26:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ul0QZ-0007G4-Ck for bug-guix@gnu.org; Fri, 07 Jun 2013 13:26:16 -0400 Received: from world.peace.net ([96.39.62.75]:53060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ul0QZ-0007FO-92 for bug-guix@gnu.org; Fri, 07 Jun 2013 13:26:15 -0400 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: bug-guix@gnu.org 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. Here are the last several lines of output from the console where I ran the upgrade: --8<---------------cut here---------------start------------->8--- test -z "/nix/store/wbsypglflcy7fi08h4finffjy9mqzh12-libtool-2.4.2/share/man/man1" || /nix/store/2p8di9qlp6l5z7bq5qgnpx99vl8rim2a-coreutils-8.21/bin/mkdir -p "/nix/store/wbsypglflcy7fi08h4finffjy9mqzh12-libtool-2.4.2/share/man/man1" /nix/store/2p8di9qlp6l5z7bq5qgnpx99vl8rim2a-coreutils-8.21/bin/install -c -m 644 ./doc/libtool.1 ./doc/libtoolize.1 '/nix/store/wbsypglflcy7fi08h4finffjy9mqzh12-libtool-2.4.2/share/man/man1' make[3]: Leaving directory `/tmp/nix-build-libtool-2.4.2.drv-0/libtool-2.4.2' make[2]: Leaving directory `/tmp/nix-build-libtool-2.4.2.drv-0/libtool-2.4.2' make[1]: Leaving directory `/tmp/nix-build-libtool-2.4.2.drv-0/libtool-2.4.2' phase `install' succeeded after 1 seconds starting phase `patch-shebangs' phase `patch-shebangs' succeeded after 0 seconds starting phase `strip' stripping binaries in "/nix/store/g1wl3hkiykindg7xjl05r57vim6jsyki-libtool-2.4.2-bin/bin" with flags ("--strip-debug") strip:/nix/store/g1wl3hkiykindg7xjl05r57vim6jsyki-libtool-2.4.2-bin/bin/libtool: File format not recognized strip:/nix/store/g1wl3hkiykindg7xjl05r57vim6jsyki-libtool-2.4.2-bin/bin/libtoolize: File format not recognized stripping binaries in "/nix/store/wbsypglflcy7fi08h4finffjy9mqzh12-libtool-2.4.2/lib" with flags ("--strip-debug") strip:/nix/store/wbsypglflcy7fi08h4finffjy9mqzh12-libtool-2.4.2/lib/libltdl.la: File format not recognized phase `strip' succeeded after 0 seconds Backtrace: In ice-9/boot-9.scm: 157: 13 [catch #t # ...] In unknown file: ?: 12 [apply-smob/1 #] In ice-9/boot-9.scm: 63: 11 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 10 [eval # #] In ice-9/boot-9.scm: 2320: 9 [save-module-excursion #] 3966: 8 [#] In unknown file: ?: 7 [load-compiled/vm "/home/mhw/.cache/guile/ccache/2.0-LE-8-2.0/home/mhw/guix/scripts/guix.go"] In guix/ui.scm: 462: 6 [run-guix-command package "--upgrade"] In ice-9/boot-9.scm: 157: 5 [catch srfi-34 # ...] In guix/scripts/package.scm: 929: 4 [#] 824: 3 [process-actions (# # # #)] In guix/store.scm: 474: 2 [build-derivations # #] 325: 1 [process-stderr #] In guix/serialization.scm: 49: 0 [read-int #] guix/serialization.scm:49:4: In procedure read-int: guix/serialization.scm:49:4: In procedure bv-u32-ref: Wrong type argument in position 1 (expecting bytevector): # --8<---------------cut here---------------end--------------->8--- This is current git master (v0.2-82-gb2e3dd9) running on Debian Wheezy with Guile 2.0.9. I ran the daemon with the command: ./pre-inst-env guix-daemon --no-substitutes --build-users-group=guix-builder The upgrade command was: ./pre-inst-env guix package --upgrade Any idea what went wrong here? Mark