From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iBffNQ/XuWY5AwAAe85BDQ:P1 (envelope-from ) for ; Mon, 12 Aug 2024 09:34:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id iBffNQ/XuWY5AwAAe85BDQ (envelope-from ) for ; Mon, 12 Aug 2024 11:34:07 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=disroot.org header.s=mail header.b=UXTGsb5r; 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=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723455247; 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=cOXIfVrav9TMTo34FpqTu+uNcM2nVxVVaWmsKGJJ4dw=; b=VOW5BaAKG0VwtkFDNUh2CdsG1y3tbvDhDNnqLRcKPHzaZkPXoqiaPOrDzPQe03XTXUTVaG XnIm/a9gffKU3xvJHM0ujEQLW5rgJYH29XdhnvK8mBWqQJY9oHSTjeOwz75CvMSBdsv306 tEFVjYJvM9xMNGeS5Ay3w6Ucv4rSIOj5hyYn5w71qXsnn/RKFjr3GvogkzDpNKRDYgeCKk aygGTVUB8T9dCND5wo8lql06ct3bbs5U5DQVYPAFOue60PtZ/sJVyFYYXAzJEzDILl7qCx dl8d1ipflI1G3LxT9bgY8bW9ZdG7YeSN9D5cPd6rByTmR0JbjX79xxIeyWiNLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=disroot.org header.s=mail header.b=UXTGsb5r; 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=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723455247; a=rsa-sha256; cv=none; b=pL6J7vN15W5k3HDOKRFq61oktOEXGDDEVuDUPFNM3w9BqK5RssAzqiTY2Pg0tcllkbfdCb GaI9gr4y7x1ve9vvnps0Hw7zzRs1NZCRLZrkz2jaa2dzr+V0Hg9UWSSDGDFKBXG5fHTttU cAeuoxJHYZLt2DsEm+wdNQkSxMUqmtDJqES+8Bzj/+QGe+QXW9lIeg+SzKKSzrur9TfntC bCSlN/eaBspL5Pa3NkpdZksn+j01E6pF4D3rOCm5qtrPU0hYSrXBRxZ2HNTcDYHLbeQ04I 5SqSt9nmO+KrY/khpcCn2mReVgSfagK0qm7BEYijKNdVyqBpWAUBo63i3N92PA== 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 B0322D1C1 for ; Mon, 12 Aug 2024 11:34:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdRQs-0001OT-Ic; Mon, 12 Aug 2024 05:33:42 -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 1sd7Xx-0006Xu-J5 for help-guix@gnu.org; Sun, 11 Aug 2024 08:19:41 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sd7Xu-0004Xl-VC for help-guix@gnu.org; Sun, 11 Aug 2024 08:19:41 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id DFED141183 for ; Sun, 11 Aug 2024 14:19:34 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kZBx0O6pMbnd for ; Sun, 11 Aug 2024 14:19:33 +0200 (CEST) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1723378773; bh=S5861sN+PqqzJb5W/cx7g3aO5mWYHjxXYD6Tq6eo1/I=; h=Date:From:To:Subject; b=UXTGsb5rxj2iEm011PfYQPCGqWU8KIFlVHRBUdLFD2mpeyLwCQDI1Zwv7cSW8Ewf2 8UOD2YgosYkX4BCjtXN5Ba9Y/kvqXlx2KzLPHo/cvBiVbOdwyLp3bf791EguEe/puo OvEEapEhG9YlvNS8Mc9/tAD87lxWJzCciTboXQXWG1D9tStNgtkpukuDzNrO/tH0Bt +OueW60o8L+e7rWA5U7xpIsBVqqcJ+mSEBVwgooOhINKn1dOZFbuUqStOG+lJMBGiq Y2XF3e+7Z8TNRLcDJ6gQRzivfqBvhcVi1SQtiSej2cYNkwjXg/BJpU0UfJ6FsMfUQy 97lMVAMZXN3QA== Date: Sun, 11 Aug 2024 14:19:33 +0200 To: help-guix@gnu.org Subject: Unable to install on Raspberry Pi 4B Message-ID: X-Sender: creightor@disroot.org Received-SPF: pass client-ip=178.21.23.139; envelope-from=creightor@disroot.org; helo=layka.disroot.org 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 12 Aug 2024 05:33:40 -0400 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: , Reply-to: creightor From: creightor via 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 X-Spam-Score: -6.95 X-Migadu-Queue-Id: B0322D1C1 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.95 X-TUID: G+/Sgeaq3Fex I've tried all the options for install Guix on this device that I could find. The setup I have is an x86_64 PC with Guix (the distribution), an aarch64 laptop with Guix (the package manager) and the Raspberry Pi 4B. I used the ./gnu/system/examples/raspberry-pi-64.tmpl for reference to write the image. I skipped setting up the boot partition for now since I can't even get it to completely compile all the packages. This is the image I ended up with: ``` (use-modules (gnu) (gnu image) (guix gexp) (guix platforms arm)) (use-package-modules linux raspberry-pi) (define pi-img (image (format 'disk-image) (platform aarch64-linux) (partition-table-type 'gpt) (partitions (list (partition (size (* 256 (expt 2 20))) ; 256 MiB (offset 8192) (label "PI_BOOT") (file-system "vfat") (flags '(boot)) ;; Do nothing. I'd set this up later manually. (initializer #~(lambda* (root . rest) #t))) (partition (size 'guess) (label "PI_ROOT") (file-system "ext4")))) (operating-system (operating-system (host-name "pi") (timezone "Europe/Riga") (locale "en_US.UTF-8") (bootloader (bootloader-configuration (bootloader grub-efi-bootloader-chain-raspi-64) (targets (list "/boot/efi")))) (kernel linux-libre-arm64-generic) (file-systems (cons* (file-system (mount-point "/") (type "ext4") (device (file-system-label "PI_ROOT"))) (file-system (mount-point "/boot/efi") (type "vfat") (device (file-system-label "PI_BOOT"))) %base-file-systems)) (users (cons* (user-account (name "usr") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/usr")) %base-user-accounts)) (packages %base-packages) (services %base-services))))) pi-img ``` 1) Building an image from the aarch64 laptop failed during a test https://bpa.st/K5PQ It says the build phase finished yet when I try to re-run the command (should return the image path on success AFAIK) it restarts the build. 2) Building an image from the x86_64 PC failed while cross-compiling gawk-mesboot. I think this might have been related to https://issues.guix.gnu.org/66866 so I tried the --no-grafts option and afterwards something went completely wrong, I guess an unhandled exception and I got the backtrace https://bpa.st/3WEQ 3) I also tried to install on a microSD card from the aarch64 laptop using `guix system init` with the same os definition as above like described here https://guix.gnu.org/manual/en/guix.html#Manual-Installation For some reason, when running the init command it sort of ignores the import of the raspberry-pi package/gnu packages raspberry-pi module and fails with: ``` /mnt/msd/etc/config.scm:15:36: error: grub-efi-netboot-removable-bootloader: unbound variable hint: Did you forget a `use-modules' form? ``` but if I start up a REPL with `guix repl` and ``` (use-modules (gnu)) (use-package-modules raspberry-pi) ``` and then evaluate `grub-efi-bootloader-chain-raspi-64` it works fine. Is there something I'm missing? Is Guix just unsupported on Raspberry Pi 4B? It was a breeze installing on the x86_64 PC though.