From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oK4ABs3Xq2GcfgEAgWs5BA (envelope-from ) for ; Sat, 04 Dec 2021 22:04:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IHuuAc3Xq2H/WwAA1q6Kng (envelope-from ) for ; Sat, 04 Dec 2021 21:04:13 +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 D009727727 for ; Sat, 4 Dec 2021 22:04:12 +0100 (CET) Received: from localhost ([::1]:46796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtcCa-0004qg-0m for larch@yhetil.org; Sat, 04 Dec 2021 16:04:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtcCQ-0004pt-Av for bug-guix@gnu.org; Sat, 04 Dec 2021 16:04:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43735) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtcCQ-00073E-1m for bug-guix@gnu.org; Sat, 04 Dec 2021 16:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mtcCP-0006C7-U4 for bug-guix@gnu.org; Sat, 04 Dec 2021 16:04:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52267: disk image installer for rock64 fails Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 04 Dec 2021 21:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52267 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Florian Hoertlehner Received: via spool by 52267-submit@debbugs.gnu.org id=B52267.163865178423736 (code B ref 52267); Sat, 04 Dec 2021 21:04:01 +0000 Received: (at 52267) by debbugs.gnu.org; 4 Dec 2021 21:03:04 +0000 Received: from localhost ([127.0.0.1]:55278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtcBT-0006Am-Rn for submit@debbugs.gnu.org; Sat, 04 Dec 2021 16:03:04 -0500 Received: from pelzflorian.de ([5.45.111.108]:35652 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtcBR-0006A1-0k for 52267@debbugs.gnu.org; Sat, 04 Dec 2021 16:03:01 -0500 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 4CBC83606B4; Sat, 4 Dec 2021 22:02:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1638651779; bh=rC9AT0U/ht9ExbZqBOY7OTmpSuuuzF8O/mcpZ4hmBm0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Fo6lJ73oUH6Pxkz3jRCduYwab4cIAJ8WXPQyfD9PRNJFrAtjGCtC5BMAkZnICemby a2W1fY9AfvI7Cxxb4VcnDoJbE2sW3B/kVB1SLxnzE1kfOIulvNXT7mqIaHIUuTyMJr Ei4Jh6Ak0slT2Q2t7N9PvwA6BISGhtKA5BkYks4I= Date: Sat, 4 Dec 2021 22:02:51 +0100 From: "pelzflorian (Florian Pelz)" Message-ID: <20211204210251.okkpd5a3npddhjo7@pelzflorian.localdomain> References: <20211204024144.qd3vir7ha3ait6x5@pelzflorian.localdomain> <20211204113928.mysxp2572wjakvme@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211204113928.mysxp2572wjakvme@pelzflorian.localdomain> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 52267@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638651852; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YFNdftreNmVtkb40aexasEoqQ1h2V9E1eX0ddmg7ngo=; b=LgkiFBkCB3nGS5n/yStMEOdKHJhzsDqRNGbu9HhP9eOvgfQf9996r8r1d9UETviLSwfS1Q QE7UksSi9VtJIBtzaCPKJhn5eDB67BH9uso1gRaECCjvO1B4bCn1WvzDl0rOBiXoMVwmav 87t92I1fnPCf/Ti3eEAUWhOBUv8eQ2/CqcaKTUw+ZRwxElnLyXGhRUX/ejYx3WPBa1WRXP fmP2WdnZnKEPIUm7tHQ0KI7jSY6VEZj16kBnOncrlp2AimowHe+uudUSExjNvE/wlEQvk0 iKQ7hV4k+HjekrJYypaEcY2XZQakGDJV5ruUA049jM2ASWTadkji2O5qj/eYGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638651852; a=rsa-sha256; cv=none; b=aYpmhVg3mGHsS4nCR2qtPOfuai9shQGEaW/wugVMdv7i/FZYaeifwao9auZgLSCqWRnlPb 0QLVlH33F21wYb4mKxawuaF+T9YtZrBb/vlG5fqqRHYVd4FQy6vjWyUd11GZjocA5WBC3C C2jRnORrLcPLeUP8gxQb4Gwd+adexnIQeR0QmapwSKqsTtGGvLDE9cZPtkBdz3MVFXE2Yy IXAd8TadBh3YaHfJQQvnFe6I690b9OOYWpV2qaQIwucHC0Evi7Un8Trrb5nNAhwMNWa0Yh VThLUzgdUgFXXjvipx+DWvFNH4Mo8iN5l9gCggMZHUNsONTMfj2CmEunxygyXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=Fo6lJ73o; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=Fo6lJ73o; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D009727727 X-Spam-Score: -1.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0SvR+yNzFVHG On Sat, Dec 04, 2021 at 12:39:28PM +0100, pelzflorian (Florian Pelz) wrote: > It failed until I added the > > (service qemu-binfmt-service-type > (qemu-binfmt-configuration > (platforms (lookup-qemu-platforms "arm" "aarch64")))) > > from the manual. > > The version with --target worked and building is faster, although > maybe building the whole image might still fail, which would be a bug. My suggestion that you change your command to use --target rather than --system fails. Sorry it was the wrong suggestion, because I had not tried before answering. (On master it fails to cross-compile meson-based packages; on core-updates-frozen it fails to cross-compile dosfstools.) Anyway, your previous command with --system was correct, but if you are on GNU Guix System, you need to add the qemu-binfmt-service-type. > (service qemu-binfmt-service-type > (qemu-binfmt-configuration > (platforms (lookup-qemu-platforms "arm" "aarch64")))) You wrote to me in private and talk about rockpro. If you have a rockpro64 and not a rock64, I am not sure if the command works; at least you would need to use rockpro64-installation-os instead of rock64-installation-os. But if your PC uses Guix on a foreign distribution such as Debian, you need to add qemu binfmt support in another way. For Debian it seems to be documented at , but you need to use aarch64 instead of armhf, and I have not tried. It depends on the distro. Alternatively, you can install another distro on the rock64 / rockpro64 and then install GNU Guix on it without a Guix System image. If you know what you are doing, you can install GNU Guix System onto an SSD connected to the rock64 via USB2 by the guix system init command; this is what I did, but I have no automatic setup for the bootloader. The rock64 officially only boots from the SD card, I think, and I always copy the relevant store files to the SD card manually. Regards, Florian