From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6IFtFJncrmGvYgEAgWs5BA (envelope-from ) for ; Tue, 07 Dec 2021 05:01:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0J0KD5ncrmHLHQAAbx9fmQ (envelope-from ) for ; Tue, 07 Dec 2021 04:01:29 +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 C0A512C2EE for ; Tue, 7 Dec 2021 05:01:28 +0100 (CET) Received: from localhost ([::1]:44424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muRfT-0007bh-Dy for larch@yhetil.org; Mon, 06 Dec 2021 23:01:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muMrx-0003rq-AB for help-guix@gnu.org; Mon, 06 Dec 2021 17:54:01 -0500 Received: from [2a00:1450:4864:20::42a] (port=44634 helo=mail-wr1-x42a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muMrv-000149-16 for help-guix@gnu.org; Mon, 06 Dec 2021 17:54:00 -0500 Received: by mail-wr1-x42a.google.com with SMTP id t18so1609702wrg.11 for ; Mon, 06 Dec 2021 14:53:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=+ixRqPVQ41gitCYghoBNzrmy0u46DH8TUo0IYpmpVxc=; b=VIpkMNgE8GFfX31LlmDxJArxk+njxG7F5eehsMmQMjXvObu7ZDFQcdyQ39F7azYfCH H1P+JJJuQ8jdE7KE/P3NyUBx7AeVZ5kzJ1SmjqaxMB70qKMi+fWFCNKKmjcz9BhlINZL ednLsF80JBd7zSYuiHhuuWHF26Fz+l6wGUvTUQ8weJ1bCeDlsiAu1lqadD37gA+zUTWZ m0qq5vfeHxaY/8qJnEtN8ZkiCSb237n3Bw3q64yDgJxV3BLL/NDhUbP8yFL0erFQjO8m mF6P7gIZOzKtRbre7ZDwCzCsbG+N8Ry3ym/2iGSdRuR+iuZbH6onBq8e5Of6L7Phu/QB 03kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+ixRqPVQ41gitCYghoBNzrmy0u46DH8TUo0IYpmpVxc=; b=qfocLZDR8tAKib1IV/OwhzWQjnQmqXPStHcraho3FlTJl134klzyAzfZ5y0MWPtI0i rrLuS92j5Js7jYfNJ5SZnAphgI9Qj4Mht+JS2YBx+adZRfZ/TVVSX4CeLOEkTguAWX/B ftL0aKoys9VgRPpxxSPpxJ89Isx80RFuftwbNCsWfHm6VmFwx0sFAgUdaB2tMugCgeuQ xE2r1Zne3jRnv1O9BDKI9qaS3pUrgpJ/lbGcLQJQg2qT1rlapPrs+bqMRTWVJ9REwQsS wi8LiGhFG7K1H92ePRI8cOWban+C/ORW2Hj6b247aCkR9Hz1eycm1wTkXXKvb5yK3hxv WDWA== X-Gm-Message-State: AOAM530WSBo1oIys1v8DVtuIA+G0G/rTNoULbPXxEoeTqHMsPte83vhC 4JlKHIIkmgNpDEQjAYcPRXHTUsev2Gol9pV+Ap5snibetfS5sw== X-Google-Smtp-Source: ABdhPJx9SHy1vXdg1zKbR9ztbflJL5TJFifPqxWAfR79FzzVMcguICdpukVIllxN7gR/+3Og2ufEeC+54Ye8yml2DoE= X-Received: by 2002:a5d:54c5:: with SMTP id x5mr46331274wrv.442.1638831236668; Mon, 06 Dec 2021 14:53:56 -0800 (PST) MIME-Version: 1.0 From: Andreas Bauer Date: Mon, 6 Dec 2021 23:53:45 +0100 Message-ID: Subject: getting crazy with arm build To: help-guix@gnu.org X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42a (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=andreas.wolfgang.bauer@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: 17 X-Spam_score: 1.7 X-Spam_bar: + X-Spam_report: (1.7 / 5.0 requ) AC_FROM_MANY_DOTS=2.999, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 06 Dec 2021 23:01:15 -0500 Content-Type: text/plain; charset="UTF-8" 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-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=1638849688; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lxG43xBSwgkwheqagN4FgZe+EaPD1AK0QmV6RNP3YdQ=; b=nBje6B9lr13DAnceJjsGBRH56v6258gOlt+BQIztaiqqHU5KvbF5Gom1OYL5yW02hnqrPV 47D+fa/24PAhICeAvFELB8iTv0xvTkfqesX0VRD5VJI9KSS/URczn8wu987c5ExjXw19uh JLAuDOsUuzGKG8Lcf8mNnWx3az1rOxAeeKbmS0767vV5MbKpl2UDEjjEKjn13UO3sdQIJz jWlJYL6ZEkS/RHMsmUqyFV3Gv7A/NIAT6eN5H5J1VHERvXn3g/MdxWaQ+H73qqhV6ZIdXU 4F1nrk1RpZid4mxKvu2aQD/3iougniaTFRspV2/M7S3hvvCQRq07WOwagfyFkw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638849688; a=rsa-sha256; cv=none; b=ITqrEy83CsO9q06Ix9CL+fLfWT1SkxKb9asfRLZLivyAXNugyX5fxFh1zN6BviqkLEyiOY t8sDN9D50CvuEHrLu6Om+Jrl4icVQ2cfbDRSdIRpmTGjUZPcW7NFjE+0Xj7eJGodiqbGV3 CTBO2OcSO0rs6uKsLmEUhgSwHD9bh+N3EbpiZz94GWEJLor+Tyw9eNRDhwnEE1RlFeW8Uf ZEKXA1QcmVqnKpQHJeW0eyIUhAG8wuwKERKZBYZgxD5DLi3s53OVvVXYJVgjDFq0aiqlPN MpYo3M2A+0AGkXevDuvk6ENDZ+lAwxdc+kLICfVETqkSYpCuuMxPVOHVqNfMUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=VIpkMNgE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: -1.84 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=VIpkMNgE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: C0A512C2EE X-Spam-Score: -1.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: 07Tvgh13r8WY Hi Everyone! I am having a hard time getting guix os running on a rock-pro (arm) board. So this is what I dont understand: Using cross compilation with "--target=aarch64-linux-gnu" the build fails, as soon as I add anythign as simple as an ssh server. Normlally it fails because of "meson build system" or "perl modules". I read that meson-build is cross-compilation compatible, so thats the first thing that I dont understand. With qemu compilation, "--system=aarch64-linux" it is cmpiling forever. I had to stop after 2 days trying to build my system. What I dont understand here is this: 1. arm substitutes should be available via bordeaux substitute server (since bordeaux has arm build farm I thought that this should be happening). It seems that I do not get any substitutes this way. I understand that certain exotic packages have to be build on my machine, but something as basic as the kernel? How can this be? 2. qemu builds only on one core. I have set "--cores=6", but this seems not to matter. 3. It see multiple different kernel versions getting compiled. This is very confusing. I didnt add any extra packages in this regard. The cookbook mentions a way to build an installer image for arm; but building the installer image has a lot of packages, so since my small images dont build in days, I dont think the installer would build in a week.I know that I saw arm binaries for download at some point on the guix website. So I wonder why they are no longer there. A binary download for an installer to me seems to be quite important. But I dont find anyone asking for it. Am I missing something here? 4. I finally was successful in building an image to get started, and it would only work when I did add zero packages to the os-image, and when I have removed all the services except for a shell login. This image is runnign now, and what I dont understand is, that this image has to have the kernel inside, otherwise how would it run. It all came via the cross-compilation. So the substitutes for the kernel have to be available then! mWhy dont they appear in the qemu build then? 5. The way I am now setting up my rock-pro board is first, I get an image that only allows me to boot, and login to the shell. Then I add some bootstrap files to it via etc-service-type with (local-file ...).. Essentially I add a manifest and an extended os image definiition to it, and then start building that on the rock-pro board. Now it would be perfect to add an entire directory of scripts and batch files to a folder into the image. But the local-file only allows me to add one file per line. Is there any option where I could add an entire folder to the image that gets build? This would help a lot in my bootstrapping process. 6. Once I am up and running, I need to buy a supported wlan card, as I like the idea of not having blobs in the kernel. I was searching for such wlan cards, (I am searching for options for usb wlan cards), but I am still unsure which ones can be recommended. Buying such a cheap wlan card is not easy; on amazon I cannot search for it. Does someone have recommendations for me? I need wlan usb cards that work for x86 and rock-pro (arm). 7. I want to setup a simple NFS server. And the docs on guix are quite good about that. But I am absolutely lost on how to get the permission system working. I would assume that the X507 certificates work like normal private/public key pairs. Unfortunately I have not foudn a single example for that. And I was searching for days. Can anyone point me to the right direction? 8. For arm there are wonderful projects like DietPi and openmediavault and FreeNAS. This projects can be installed in an hour or so. To me, doing something like that on Guix makes much more sense. Guix is lightyears ahead of all other os. Most of the interesting services are available in guix. But configuring them is currently a pain in the ass. Its impossible to find examples. I find it hard to understand why the guix universe, which is used for HPC and other sophisticated stuff, does not have that yet. For mailservers it is another issue. Only half of the commonly used mailserver programms are available in guix. But for a NAS or a Media server guix has everythign that is needed. I am running my own mailserver, as a hobby. But every other year my mailserver breaks; a "normal" os just breaks at some point. With guix, I believe it is posible to create unbreakable NAS and mailservers. And since the configuration is static, it is very easy to move to a different server, or to customize the config. So I wonder why nobody made an example for that? Thanks! awb99