From patchwork Sat Apr 16 08:53:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 38607 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 08C9427BBEA; Sat, 16 Apr 2022 09:55:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4D51527BBEA for ; Sat, 16 Apr 2022 09:55:11 +0100 (BST) Received: from localhost ([::1]:42540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfeD0-0006t2-FB for patchwork@mira.cbaines.net; Sat, 16 Apr 2022 04:55:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfeCs-0006su-KW for guix-patches@gnu.org; Sat, 16 Apr 2022 04:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nfeCs-00011p-8O for guix-patches@gnu.org; Sat, 16 Apr 2022 04:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nfeCs-0002gK-5F for guix-patches@gnu.org; Sat, 16 Apr 2022 04:55: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: Sat, 16 Apr 2022 08:55: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.165009925210241 (code B ref 48314); Sat, 16 Apr 2022 08:55:02 +0000 Received: (at 48314) by debbugs.gnu.org; 16 Apr 2022 08:54:12 +0000 Received: from localhost ([127.0.0.1]:60695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfeC3-0002f7-VZ for submit@debbugs.gnu.org; Sat, 16 Apr 2022 04:54:12 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:57291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfeC1-0002es-DS for 48314@debbugs.gnu.org; Sat, 16 Apr 2022 04:54:10 -0400 Date: Sat, 16 Apr 2022 08:53:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1650099243; bh=WFtFe5hYwktiJK+ird40/iU9cmgQ80GqM0LdRFQhq4U=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=qqdVr/bdy4CVHaDUD7uYZbDnwq7yaShgseLrrs+sUbmMQeLrCRTKo5dbTLg072YNc CReKcV14uorbtsLDvLHGB7V6b015KDscCGBBJfzNOe5DWQP5w7ANq4XWUJWXhnhIYf eRTrmg+7hBCjvrUa0s8SelzMqFrIFrda6p+IeQrwh6MuDFdTC/XyOQwvqkFG64ip7Y qKR0weeJtx0vzO1nziKyAEf/Q0dd9CMGnjwMq7rHZl24mMHaFUIQws25DwOtCnOsOp KZ12ifejwM2yUKgyFMlZcVM8St7e0oZ5zWntbMT/8Rs1EXyZZCwgREC1Nmaqqou9AG VczUUW+Mcq5yA== Message-ID: In-Reply-To: <8735ie2rmk.fsf@gnu.org> References: <19E4796A-B0DB-444F-8773-2E8D3EF6132D@vodafonemail.de> <1JV7YdNsB7LB0ij9pMN5ktIsdpU8g98Lpu0yOrl_r6wFvRjqRJ5XqOktugKlia2rSeyNVEwY0b8VJrFJr1TsWgOIo-JW6EmTpj6Bz4dNzxQ=@protonmail.com> <08d2e5f4167486be4be7ef0dc024f1e2137b4bdf.camel@telenet.be> <8735ie2rmk.fsf@gnu.org> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches > > guile-fibers are now fixed, but the cross compile build fails now on shepherd-0.9 due to guile-fibers not being available. > > > Fixed as suggested by Maxime in commit > 6e174c4edd4786d93c1e424c45052f70b2bb3fb0. > > Let us know what the next issue is. :-) > > Ludo’. Thanks Maxime for the advice and for Ludo' for applying the change! I've rebased the patches from Stefan and there are only two packages that don't cross-compile - nss-certs and ntp. I attempted to do guix pull on Raspberry Pi 3, but it failed due to running 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 computation wouldn't be done locally? This offloading would be really great for these embedded platforms. ---- Petr From 98ad94f6282d8ff3a244181ecc32946ea281aa03 Mon Sep 17 00:00:00 2001 From: Petr Hodina 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. diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm index 7a3c033b2e..a64861d7fd 100644 --- a/gnu/packages/ntp.scm +++ b/gnu/packages/ntp.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2019 Maxim Cournoyer ;;; Copyright © 2021 Marius Bakke ;;; Copyright © 2021 Brice Waegeneire +;;; Copyright © 2022 Petr Hodina ;;; ;;; This file is part of GNU Guix. ;;; @@ -153,7 +154,8 @@ (define-public ntp `(("libcap" ,libcap)) '()))) (arguments - `(#:phases + `(#:configure-flags (list "--with-yielding-select=yes") + #:phases (modify-phases %standard-phases (add-after 'unpack 'disable-network-test (lambda _ -- 2.35.1