From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 21 06:52:39 2022 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== To: =?utf-8?Q?Ludovic_Court=C3=A8s?= From: phodina Subject: Re: [bug#48314] [PATCH v3] Install guix system on Raspberry Pi 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 48314 Cc: Stefan , Vagrant Cascadian , "dannym@scratchpost.org" , Maxime Devos , "48314@debbugs.gnu.org" <48314@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > 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