From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0MDqAvo4XWG7kwAAgWs5BA (envelope-from ) for ; Wed, 06 Oct 2021 07:49:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SI+ZOfk4XWHSbwAAB5/wlQ (envelope-from ) for ; Wed, 06 Oct 2021 05:49:45 +0000 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 63B2FF8C7 for ; Wed, 6 Oct 2021 07:49:45 +0200 (CEST) Received: from localhost ([::1]:57548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXzoG-0006Yi-0G for larch@yhetil.org; Wed, 06 Oct 2021 01:49:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXzns-0006YW-SI for help-guix@gnu.org; Wed, 06 Oct 2021 01:49:24 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:21849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXznk-0006M8-3v for help-guix@gnu.org; Wed, 06 Oct 2021 01:49:20 -0400 Date: Wed, 06 Oct 2021 05:49:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1633499347; bh=4dTr83lPeaMDzLMsHzMvgjctRgBMgYdyqDtNgp/XIBE=; h=Date:To:From:Reply-To:Subject:From; b=yWlx7iusB65Og13PYY4dy7IvlLqCw1ni7DzZgN3pkl8/0/4ZZsSvvlUhjaUdJy7Ji vw2ERxE72q+WBg6P3NrWw8O6jRFiECZF7mpmvQYfEAoAC7sCq7Ni7cYtHua5HxnaEd BgLBsxF9jNYWECkzvKzrIZH271tQUpDbUma4cDfA= To: help-guix From: phodina Subject: Error in install-efi + build with graft freezes Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=phodina@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633499385; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4dTr83lPeaMDzLMsHzMvgjctRgBMgYdyqDtNgp/XIBE=; b=US+/T5Zzc4Jp61x86IkA6VGJjO6xW79AU2muYlcxtNpREWclYORkfOm3/UPlHdvD1TzAsw 7yX/ybU/PHAciPKv89AzROkogNEe8syxX9Yg62fP3tFgmIidJ3K3+3X61/buQ5yPIGE5YI tZ6z9X+eeebi4chbxXOWQdBVjZu0F5mNdHOwkM6N+Mc7Xdtrj7UBPz62/SAaU847QlcRIU nqMGWd9iUl5WkbwlFyttUSRstemiup0GPfRPBqc5PQTjyjGdOd8ssiVxwrggAU3mZhDO+9 N0XAvlaKWZGl4Bps/TxogelRWmeae4VAaBfgwc8fTDJNVbfrq3NRz68B83R8ZA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633499385; a=rsa-sha256; cv=none; b=W/2Lin4KprdBBfmgWPOrKB5yyS8JBUdHAeBgxpipcUdDwa/6R4xmGK7eC+GDy07WG09lqt YZIWEFyAJcFZyAaWWERnmeem/EPy0PP6MgQvJGgHT/Iv3sGwhA6GHN0QEM39VCNBC/KSWj UBhI0u+InmUg4SlftK+hSA5Rc6kDE9UtTfRAYjZP2lEFYZi441F5OWEyKOOEuemNcZHRb3 Auu0Al/dYO1rGHfhnbWWlpjhzsJvS4WGCq7IKX8p3b+GKHM0QSpVSNKQm2ZuFSQ2bHCuK3 IV2MNc2bLskE9yXW2JM7hkeuioPuuy8QVd2ISFJ4o9Sy9ba+yaBczmPQqqVVww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=yWlx7ius; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=yWlx7ius; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 63B2FF8C7 X-Spam-Score: -1.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9ck0we11D3L5 Hi Guix, I've attempted to build image for beaglebone black based on the example fou= nd in gnu/system/examples/beaglebone-black.tmpl. To build the image I run t= he following command: time guix system image --no-grafts --system=3Darmhf-linux examples/beaglebo= ne-black.tmpl -v3 The following derivations will be built: =C2=A0=C2=A0 /gnu/store/1ivscl4dkmw65lgl3s7ml8qgx8dgj6zv-disk-image.drv =C2=A0=C2=A0 /gnu/store/dydpw2nvm8yq330bs7gcqicl2fb6qd21-genimage.cfg.drv =C2=A0=C2=A0 /gnu/store/i271lgxhafnb7kgp8kr1pc81bng0ys6q-partition.img.drv =C2=A0=C2=A0 /gnu/store/riiw4lrrh73slwa4dihkfnpssshn5wf0-partition.img.drv building /gnu/store/i271lgxhafnb7kgp8kr1pc81bng0ys6q-partition.img.drv... Backtrace: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 3 (primitive-l= oad "/gnu/store/ha96i5s8bvx7zcdnp3sqnr03gvf=E2=80=A6") In ice-9/eval.scm: =C2=A0=C2=A0=C2=A0 619:8=C2=A0 2 (_ #(# #<= procedure =E2=80=A6> =E2=80=A6)) In ./gnu/build/bootloader.scm: =C2=A0=C2=A0=C2=A0=C2=A0 99:4=C2=A0 1 (install-efi-loader "/gnu/store/y5c7x= y8gn5maimw3nvksvm=E2=80=A6" =E2=80=A6) =C2=A0=C2=A0=C2=A0 78:35=C2=A0 0 (install-efi _ "grub.cfg" _) ./gnu/build/bootloader.scm:78:35: In procedure install-efi: In procedure car: Wrong type argument in position 1 (expecting pair): # environment variable `PATH' set to `/gnu/store/62c83bc4a6vnx94cmgn0h37j3mj8= nif8-e2fsprogs-1.45.6/bin:/gnu/store/62c83bc4a6vnx94cmgn0h37j3mj8nif8-e2fsp= rogs-1.45.6/sbin:/gnu/store/fk1gaqga9rkq2g4pxnjlxxmy6xv0994m-fakeroot-1.25.= 3/bin:/gnu/store/6mz29a52531f6529455gscxsrcm9q0wb-dosfstools-4.2/sbin:/gnu/= store/ryx6nf7cqsqvi2cwrv6mkj7nbb5gpc0f-mtools-4.0.35/bin' builder for `/gnu/store/i271lgxhafnb7kgp8kr1pc81bng0ys6q-partition.img.drv'= failed with exit code 1 build of /gnu/store/i271lgxhafnb7kgp8kr1pc81bng0ys6q-partition.img.drv fail= ed View build log at '/var/log/guix/drvs/i2/71lgxhafnb7kgp8kr1pc81bng0ys6q-par= tition.img.drv.bz2'. cannot build derivation `/gnu/store/dydpw2nvm8yq330bs7gcqicl2fb6qd21-genima= ge.cfg.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/1ivscl4dkmw65lgl3s7ml8qgx8dgj6zv-disk-i= mage.drv': 1 dependencies couldn't be built guix system: error: build of `/gnu/store/1ivscl4dkmw65lgl3s7ml8qgx8dgj6zv-d= isk-image.drv' failed real 0m3.055s user 0m2.297s sys 0m0.113s Based on the backtrace the issue is in=C2=A0install-efi-loader calling inst= all-efi with incorrect parameter. I checked also the gnu/build/bootloader.s= cm where these function are defined. Unfortunately, I'm not that skilled in Guile to debug the code, set breakpo= int and view/modify the arguments. Could you recommend me some guide how to debug the Guile code in order to l= earn how to fix this issue? Also one more question related to the Guix. I had to use the argument --no-= graft. When I measure the time it takes to build the system with grafts the= process freezes for like a half day so I kill it. Without the grafts I at = least get to the partition error above. Could someone please explain the reason or point me in the right direction = why grafts freeze or is it normal it takes that long? (for cross-compilation, when building native system for my laptop I don't s= ee this issue) Petr