From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SDU/DMzHP2RHVwAASxT56A (envelope-from ) for ; Wed, 19 Apr 2023 12:51:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ILdoC8zHP2RhegEAG6o9tA (envelope-from ) for ; Wed, 19 Apr 2023 12:51:56 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6D4332EF4E for ; Wed, 19 Apr 2023 12:51:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pp5PV-0004df-5K; Wed, 19 Apr 2023 06:51:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pp5PT-0004dW-WB for help-guix@gnu.org; Wed, 19 Apr 2023 06:51:36 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101] helo=mail.laesvuori.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pp5PR-0004Ta-Vx for help-guix@gnu.org; Wed, 19 Apr 2023 06:51:35 -0400 Received: from X-kone (unknown [185.50.245.18]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 191983401AB for ; Wed, 19 Apr 2023 12:52:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1681901528; bh=V3GxI8BG1Gmr7q7r8BLxayzwu62PPr/uUXytgRJjvOk=; h=Date:From:To:Subject; b=tPmKkbXbVWzeKXnwkyVVyixu+gq3IpzSZxmfsiXqQ3RdLSRqYf3cfElhKMNU9WEE7 4CKbGb699AvqZYxVas8/Fj3J2o1S455k7KgduNZ/QHyIrjo4zSNQNz1wNgTVELMKOx VQT/tkVFrOdOrDfq3JPSGkmod0Pha9WUDnQScdXg= Date: Wed, 19 Apr 2023 13:51:29 +0300 From: Saku Laesvuori To: help-guix@gnu.org Subject: Error building with guix system image Message-ID: <20230419105129.p4pm2qkb6ldcmde4@X-kone> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sq6z35km2riytewg" Content-Disposition: inline Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@laesvuori.fi; helo=mail.laesvuori.fi X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_BTC_ID=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b=tPmKkbXb; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=laesvuori.fi ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681901516; a=rsa-sha256; cv=none; b=DBKiNXK332kHoDg3u0myINC2A7hvMqALaMHG+4VA6OakY77uDSP0CSb+NrX/tMGalub5yx qgZrbn0kfgagBePuANlp09f/+THaPCmEb/tcFPH5jVfelB6WEZXcbGy8hl6JL42iCC+Tmc /G9Q1abSR6k5Zd0r88g7S7PAvvLSPnZ88cMY1peM7m5aeVHDYZ5TIb/jiLNgI9TpWM3EXH g4BmytG1cWmfK75yD1XLmI8ev5uKpAraRScNzJs54ZBgu5hVwYZwwl0Gxr8XkTQqzirZOx hRhXRDBxukiQiO69VuuO4rRUFzMPSNUo7/DgsXNlLDmsIHZn5lU79zCIiWtBbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681901516; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AbUKFS/rySi8GmDIXoEJWUswFESoX5HKqI+4tiA5+nw=; b=ABzVPvIIewkC1WBd1R0x+KOvr9Fdw23IgOGl/csT5DNbtHmDywDkx+384t90I5t7+LzUG7 Yb7x8tdStxPmjK54I7SaTH5CI6PuKl3AjezTcs8kojbOuV0tYZj40qNA7gRTepVdhHZ/l6 i1LO6KO/+NRW37FQFMp/SSUAN/i9PEFBEaJHRoigp3c4KE9sHmTKQAnyrvuq9dlgxnrUwk zRtZ9gGLJ6jINA4lbaG8kSzgT79sP/EW92ApRakcj9AEq+vEUg9WJJpRFPW5KFO6U7HGTJ KB8r5PY9k/F4sWxgM2QWDLXpCntwUmUY69029boEplJkXOKblrKSzTLf70p2gg== X-Migadu-Spam-Score: -5.81 X-Spam-Score: -5.81 X-Migadu-Queue-Id: 6D4332EF4E X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b=tPmKkbXb; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=laesvuori.fi X-TUID: VckUXBo0tM2C --sq6z35km2riytewg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Running `guix system image image-minimal.scm` fails with the following build log: ```build log for partition.img.drv copying 340 store items | [progress bar animation] registering 337 items | [progress bar animation, fails before end] Backtrace: In ice-9/eval.scm: 619:8 19 (_ #(# #= =E2=80=A6)) In ./gnu/build/image.scm: 236:4 18 (initialize-root-partition "tmp-root" #:bootcfg _ # _ # =E2=80= =A6) In ice-9/boot-9.scm: 260:13 17 (for-each # =E2=80=A6) In ./gnu/build/image.scm: 167:6 16 (register-closure "tmp-root" "system" #:schema _ # _) In ./guix/store/database.scm: 111:20 15 (call-with-database "tmp-root/var/guix/db/db.sqlite" # # =E2= =80=A6) In ./guix/progress.scm: 71:36 14 (call-with-progress-reporter #< sta=E2=80= =A6> =E2=80=A6) In srfi/srfi-1.scm: 634:9 13 (for-each # =E2=80=A6) In ./guix/store/database.scm: 420:36 12 (_ #< item: "/gnu/store/8z1q7vjxylm6l4ibsyw=E2=80= =A6>) In ./guix/store/deduplication.scm: 42:4 11 (nar-sha256 "tmp-root/gnu/store/8z1q7vjxylm6l4ibsywd4h6=E2=80= =A6") In ./guix/serialization.scm: 381:9 10 (dump "tmp-root/gnu/store/8z1q7vjxylm6l4ibsywd4h6m6jv6z=E2=80= =A6") In srfi/srfi-1.scm: 634:9 9 (for-each # =E2=80=A6) In ./guix/serialization.scm: 386:23 8 (_ "share") 381:9 7 (dump "tmp-root/gnu/store/8z1q7vjxylm6l4ibsywd4h6m6jv6z=E2=80= =A6") In srfi/srfi-1.scm: 634:9 6 (for-each # =E2=80=A6) In ./guix/serialization.scm: 386:23 5 (_ "locale") 381:9 4 (dump "tmp-root/gnu/store/8z1q7vjxylm6l4ibsywd4h6m6jv6z=E2=80= =A6") In srfi/srfi-1.scm: 634:9 3 (for-each # =E2=80=A6) In ./guix/serialization.scm: 386:23 2 (_ "ja") 380:43 1 (dump "tmp-root/gnu/store/8z1q7vjxylm6l4ibsywd4h6m6jv6z=E2=80= =A6") In srfi/srfi-1.scm: 691:29 0 (filter-map # =E2=80=A6) srfi/srfi-1.scm:691:29: In procedure filter-map: In procedure car: Wrong type argument in position 1 (expecting pair): #f environment variable `PATH' set to `/gnu/store/zfiwdkwfs039q346nkynvhllxbra= 2rg8-e2fsprogs-1.46.4/bin:/gnu/store/zfiwdkwfs039q346nkynvhllxbra2rg8-e2fsp= rogs-1.46.4/sbin:/gnu/store/nj43wfbldxrwfmrk9vgvliz28iyl89dp-fakeroot-1.30.= 1/bin:/gnu/store/lpkpldxni8vab82kwq9qs032hni580ak-dosfstools-4.2/sbin:/gnu/= store/131xfb6iz9vh7c8s7kv6nhvycrqcfad8-mtools-4.0.42/bin' ``` Does anyone have any pointers on how to debug or fix this? The operating system builds nicely with `guix system vm`. Building `gnu/system/examples/bare-bones.tmpl` with `guix system image` also fails with a similar error and works correctly with `guix system vm`. ```image-minimal.scm (use-modules (gnu) (gnu system image)) (define %operating-system (operating-system (host-name "image-test") (bootloader (bootloader-configuration (bootloader grub-bootloader) (targets '("/dev/sdX")))) (file-systems (cons* (file-system (mount-point "/") (device "/dev/sdX1") (type "ext4")) %base-file-systems)))) (image-with-os (raw-with-offset-disk-image) %operating-system) ``` Output of `guix describe` just in case, though the error also occured with the latest guix version when I tested. ```channels.scm (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (branch "master") (commit "5c893787be78a79433fe1343f5b70cd647e8f667") (introduction (make-channel-introduction "9edb3f66fd807b096b48283debdcddccfea34bad" (openpgp-fingerprint "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))) ``` --sq6z35km2riytewg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmQ/x7EACgkQJX0oSiod OjKxSQ/+K74awaXj0/AEh7VjGLVcwkx/dwGogZmNnDJKdPBLBh0stSPfAIGaR2cP telOBvdXHmyNF8/4DkG+DXGXXfhNMpeOF9m493e4Jkj9SxtXppoUz1MdCyRy9I9n 3qgQOWLDmA8iR6i+eVso+Heyds6EIR5lmNsH1r2ElpqXQYYrOyh/rHXNcrw5Jzyp A7PY7vA2oohRknfPX64aBJ3CvqxP2Y8o1uZ8A1PDPq0AtzkCgwwCcGSRsjGS+Zdr UOE1tH7Z/mWGe5X2oSKE0szkc2dwPSkZ5H6Cn4Y+CYUDVlaj6hhHsSEQQsdjM2F8 39+n0g+mKk3pMtvZUVOVBgLeLiFS4aAzu1Dv5guvOixrQC+6vPyDNV5xBL98J6vK sJyq+4Z5l+9li9PWYT2TkPNkaBGVXWj1WeD72/5ZkVAHkJJFSnSI8uqSgLQ9eKxR M7l5Nq9AvWN2kvm/O51MU9OBBSjbLcE7IHqw3PgysUTDOGtm9uN4xR/9FaxKmIRz kW+GDDoJRZE6RYPg7kJZ1JmylFmLoCFMgbb4B/30sB9ei9nOzM+Lbz2xWyvpSUtW JbkXWA3/RlhNRCgcRh+MFDXk+TU2z+w5DIfTjnK6Wkso2MT48zxkFcOC5qRilOlj Sfz/dcI2q0V5d3NU5ZTBzwvPsyUSgLJD0a298j0N7ry5JJenpXE= =g2M1 -----END PGP SIGNATURE----- --sq6z35km2riytewg--