From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 20 11:43:22 2018 Received: (at submit) by debbugs.gnu.org; 20 Mar 2018 15:43:22 +0000 Received: from localhost ([127.0.0.1]:44005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyJQ1-000523-SK for submit@debbugs.gnu.org; Tue, 20 Mar 2018 11:43:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyJQ0-00051r-6y for submit@debbugs.gnu.org; Tue, 20 Mar 2018 11:43:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyJPs-00063B-TI for submit@debbugs.gnu.org; Tue, 20 Mar 2018 11:43:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43170) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eyJPs-00062W-M4 for submit@debbugs.gnu.org; Tue, 20 Mar 2018 11:43:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyJPq-000895-Bk for bug-guix@gnu.org; Tue, 20 Mar 2018 11:43:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyJPm-0005q5-VH for bug-guix@gnu.org; Tue, 20 Mar 2018 11:43:10 -0400 Received: from esa2.cray.iphmx.com ([68.232.143.164]:27190) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyJPm-0005ld-DV for bug-guix@gnu.org; Tue, 20 Mar 2018 11:43:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cray.com; i=@cray.com; q=dns/txt; s=cray1024; t=1521560586; x=1553096586; h=date:from:to:subject:message-id:mime-version; bh=P9Gr/9YUH188qk9WyYdXMT8IodAyLf8vInGDSYmY7yM=; b=Mgx96iTKnQUqdWXnsPTv+Ww+niA8zua1gHLP5OklsWJgR+copcX3ZWQe vp2CGkYLZ/qTHV8cCXrl7TTJizoo10vEnfP0BITcoU4sB3/YwuKeJeJqf kw+eJOvx79Gzy1rTdldS+HWQwGDmkjhZkMX88XGzU1ktNk9jhW016g80i A=; X-IronPort-AV: E=Sophos;i="5.48,336,1517875200"; d="scan'208";a="18561313" X-Cray-OBMMKR: 1433258124 18561313 Received: from cray-smtp-7.cray.com (HELO sealmr01.us.cray.com) ([136.162.66.2]) by esa2.cray.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Mar 2018 15:43:04 +0000 Received: from pe06.us.cray.com (pe06.us.cray.com [172.30.79.74]) by sealmr01.us.cray.com (8.14.3/8.13.8/hubv3-LastChangedRevision: 16250) with ESMTP id w2KFh2UY022897 for ; Tue, 20 Mar 2018 08:43:03 -0700 Received: by pe06.us.cray.com (Postfix, from userid 30272) id B8DBEABF21; Tue, 20 Mar 2018 10:43:02 -0500 (CDT) Date: Tue, 20 Mar 2018 10:43:02 -0500 From: Eric Bavier To: bug-guix@gnu.org Subject: Commit bc499b113 broke guix on guile@2.0.14, improper field initialization Message-ID: <20180320154302.GL105827@pe06.us.cray.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hello Guix, On the master branch (5d818b3557cc3b546d5bd0639359c14c7c0ab685), when configured with guile@2.0.14, I get the following backtrace when running `make`. Backtrace: In ice-9/boot-9.scm: 1739: 19 [#] In unknown file: ?: 18 [primitive-load "/home/users/bavier/src/guix/./build-aux/compile-all.scm"] In guix/build/compile.scm: 158: 17 [compile-files "." "/home/users/bavier/src/guix" ...] 107: 16 [load-files "." # # ...] In ice-9/boot-9.scm: 2900: 15 [resolve-interface (gnu tests base) #:select ...] 2825: 14 [# # ...] 3101: 13 [try-module-autoload (gnu tests base) #f] 2412: 12 [save-module-excursion #] 3121: 11 [#] In unknown file: ?: 10 [primitive-load-path "gnu/tests/base" ...] In gnu/tests/base.scm: 390: 9 [#] 63: 8 [run-basic-test # # "basic" ...] In ice-9/eval.scm: 387: 7 [eval # #] 387: 6 [eval # #] 411: 5 [eval # #] 387: 4 [eval # #] In unknown file: ?: 3 [filter # (# # # #)] In ice-9/eval.scm: 411: 2 [eval # #] 411: 1 [eval # #] 387: 0 [eval # #] ice-9/eval.scm:387:11: In procedure eval: ice-9/eval.scm:387:11: In procedure mapped-device-target: Wrong type argument: #< device: "my-root" title: label mount-point: "/" type: "ext4" flags: () options: #f mount?: #t needed-for-boot?: #f check?: #t create-mount-point?: #f dependencies: () location: ((line . 209) (column . 24) (filename . "gnu/tests.scm"))> (as an aside: maybe would could postpone compilation of test modules until `make check`). I git bisect'd this failure to commit bc499b113a598c0e7863da9887a4133472985713, which added the 'initrd-modules' field to the (@ (gnu system) ) record. The %simple-os from (gnu tests base) seems improperly initialized. In particular, the fields seem to be shifted: scheme@(guile-user)> (@@ (gnu tests base) %simple-os) $1 = #< kernel: # kernel-arguments: () bootloader: #< bootloader: ...> initrd: # initrd-modules: () firmware: "komputilo" host-name: #f hosts-file: () mapped-devices: (#< device: "my-root" ...> #< ...> ...) file-systems: () swap-devices: (#< name: "alice" ...> ...) ... Notice e.g. the "firmware" field has that value that should be in "host-name", which has the value "hosts-file" should have, and "mapped-devices" has the value "file-systems" should have, etc. If you explicitely specify the new "initrd-modules" field this commit added in (@ (gnu tests) %simple-os), then compilation proceeds as expected. -- Eric Bavier, Scientific Libraries, Cray Inc.