From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kBJwAR05YWL/2gAAbAwnHQ (envelope-from ) for ; Thu, 21 Apr 2022 12:59:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wEZmAR05YWIDWwEA9RJhRA (envelope-from ) for ; Thu, 21 Apr 2022 12:59:41 +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 A941A2DF31 for ; Thu, 21 Apr 2022 12:59:40 +0200 (CEST) Received: from localhost ([::1]:58978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhUXD-0007jP-Gq for larch@yhetil.org; Thu, 21 Apr 2022 06:59:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhUQp-0005Nq-4C for guix-patches@gnu.org; Thu, 21 Apr 2022 06:53:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54641) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhUQo-0006bc-QO for guix-patches@gnu.org; Thu, 21 Apr 2022 06:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhUQo-0000Gi-P2 for guix-patches@gnu.org; Thu, 21 Apr 2022 06:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48314] [PATCH v3] Install guix system on Raspberry Pi Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Apr 2022 10:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Stefan , Vagrant Cascadian , "dannym@scratchpost.org" , Maxime Devos , "48314@debbugs.gnu.org" <48314@debbugs.gnu.org> Received: via spool by 48314-submit@debbugs.gnu.org id=B48314.1650538359985 (code B ref 48314); Thu, 21 Apr 2022 10:53:02 +0000 Received: (at 48314) by debbugs.gnu.org; 21 Apr 2022 10:52:39 +0000 Received: from localhost ([127.0.0.1]:48538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhUQQ-0000Fp-P6 for submit@debbugs.gnu.org; Thu, 21 Apr 2022 06:52:38 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:48543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhUQP-0000FJ-JM for 48314@debbugs.gnu.org; Thu, 21 Apr 2022 06:52:37 -0400 Date: Thu, 21 Apr 2022 10:52:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1650538350; bh=EgeOGS55XWIohUkh3YjzbVZ9X/qTcNnrLd8BZc1V/uU=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=tqtLSZ1b7ztOK0o+QvDfOEE62ll9g8IoDwCtQyH6tuS8AaiG2L6QqdzWlqP/TS57f 45SykuqcHMojhwd9yvFpOiSjPA+aTwFgYHwr3QEm/JKYjPIJGMTFY4qy378GWNGCfC zuzf6SINOB02QU5/kiNzGSv1+F95LCMw8KB5baQANlz0YwZg3WERVQ/R5X5gtWlE2X ndlzlkbfUe6IvU5JPBCCWWazC/yWvvzu/SCpeJUSQ2KwrHBDrPHKiKb87dF/4ghn7V MRiBwNAKiDBM4cF2yRdZb+s/KsYtbILo/DAdo96wdjK3VMf4jNN/jssQ1hb4tZf+v+ JG+Ufqm+8XY2A== Message-ID: In-Reply-To: <87lew2umwt.fsf@gnu.org> References: <19E4796A-B0DB-444F-8773-2E8D3EF6132D@vodafonemail.de> <1JV7YdNsB7LB0ij9pMN5ktIsdpU8g98Lpu0yOrl_r6wFvRjqRJ5XqOktugKlia2rSeyNVEwY0b8VJrFJr1TsWgOIo-JW6EmTpj6Bz4dNzxQ=@protonmail.com> <08d2e5f4167486be4be7ef0dc024f1e2137b4bdf.camel@telenet.be> <8735ie2rmk.fsf@gnu.org> <87lew2umwt.fsf@gnu.org> Feedback-ID: 14143818:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650538780; h=from:from:sender:sender:reply-to: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=EgeOGS55XWIohUkh3YjzbVZ9X/qTcNnrLd8BZc1V/uU=; b=gEqHf3zH0SuIA80NILrYaYaLkRnuVRGUKnpew+6xH7ni343Tx9jeLpMUsgOQDHcVEFCX9F K/qqeVDEWeEknhfyqqPN74JIgfrqm6PLbF+igaSEkYEaE7VmJhqHeY8aJ4REkzl7T7qmR0 L0OXVUcbTdudw29V4saQ7L3S5vdm+TmPlUERt1FLJUEx0Yj/RwNugJxYw+2QvmyHOVRP6i PpWBk8Nqo0cEDVtEpNmxGTqZUivTgB6pyGhvA0/mIECJ5fJAC3JXj30wPsdOsAIGFWJguA YcdFT6n5vC/iMQPWSQu5crG9/Ol1jl1/LopQfebxfHDPXsg4JmtYsjTh4pfJNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650538780; a=rsa-sha256; cv=none; b=hn2AidBgdiDE7ltdhgtub77g63e00k9wUJYdRewZu7qkbp9i4F5cVIjHaCx7AuUKsBvAKz zkbDRt005KGCkq0LgZzsNiKLl+r5clM575uC00kAzmGMCFeiwghZ4DMFkcXdsRq23qnBt3 FPS0+OPeZYy4rgsoMuv32qE/YORc1urR2OE1LIxajIySGmoDyvwobUIfs61WDDWXdetBLI HIp1d0IaRsaJVKIy6vvK8aDzCq7r6+aiwtVP3oZ7DXu+IqBu2B//6wlMhAiZEDt1aFPLOQ pwXLBuzEJ8luGxGhvw7OORs2Z9UUkynas2vO4/mXrpbjL0ErNFLtt78z+HzRAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=tqtLSZ1b; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.04 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=tqtLSZ1b; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A941A2DF31 X-Spam-Score: -2.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2OA1SqpoI/gU > Hi, > > phodina phodina@protonmail.com skribis: > > > I've rebased the patches from Stefan and there are only two packages th= at don't cross-compile - nss-certs and ntp. > > > > I attempted to do guix pull on Raspberry Pi 3, but it failed due to run= ning of memory - I'll attempt to test it with a swap file/partition. > > > > Or is it possible to do guix pull using a substitute so that the comput= ation wouldn't be done locally? This offloading would be really great for t= hese embedded platforms. > > > Normally you should be able to get substitutes, making =E2=80=98guix pull= =E2=80=99 > actually usable on these platforms. But I=E2=80=99m not sure what the sta= tus is > on armhf-linux. This platform needs love! > > > From deab687c2b0540a944b48c68fa00cac4bac99b80 Mon Sep 17 00:00:00 2001 > > From: Petr Hodina phodina@protonmail.com > > Date: Sat, 16 Apr 2022 10:22:14 +0200 > > Subject: [PATCH 1/2] gnu: nss-certs: Support cross-compilation. > > > > * gnu/packages/certs.scm (nss-certs)[arguments]: Fix unresolved > > variable - output. > > > I addressed this one differently to avoid rebuilding the 600+ packages > that depends on nss-certs. > > > From 98ad94f6282d8ff3a244181ecc32946ea281aa03 Mon Sep 17 00:00:00 2001 > > From: Petr Hodina phodina@protonmail.com > > Date: Sat, 16 Apr 2022 10:24:46 +0200 > > Subject: [PATCH 2/2] gnu: ntp: Support cross-compilation. > > > > * gnu/packages/ntp.scm (ntp)[arguments]: Add configuration flag. > > > I added a comment explaining why this flag is needed and committed. > > Should we close this issue now? > > Thanks! > > Ludo=E2=80=99. Thanks Ludo'! Vagrant has valid points about the patches. Stefan do you want to address them or shall I? I can confirm the Raspberry Pi 3 can run Guix, but when I attempt to do sim= ple `guix pull` it fails due to running out of memory (has just 1 GiB) ther= efore there is probably no point to run on less powerful boards. Not sure if the computation can be offloaded by using substitutes. It runs fine on Raspberry Pi 4 where there is 4GiB of memory (at least in m= y case :) - the variant with just one 1GiB would have probably same result = as RPi3. ---- Petr