From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id /1deLb3oV2IKOwAAgWs5BA (envelope-from ) for ; Thu, 14 Apr 2022 11:26:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aOVvJL3oV2KhVAAAG6o9tA (envelope-from ) for ; Thu, 14 Apr 2022 11:26:21 +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 E94911F7D6 for ; Thu, 14 Apr 2022 11:26:20 +0200 (CEST) Received: from localhost ([::1]:37552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nevk3-0000GI-FB for larch@yhetil.org; Thu, 14 Apr 2022 05:26:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nevjn-0000G0-7T for guix-patches@gnu.org; Thu, 14 Apr 2022 05:26:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33043) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nevjl-0008U8-Pp for guix-patches@gnu.org; Thu, 14 Apr 2022 05:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nevjl-0002bH-K3 for guix-patches@gnu.org; Thu, 14 Apr 2022 05:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48314] [PATCH v4] Install guix system on Raspberry Pi Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Apr 2022 09:26:01 +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: "48314@debbugs.gnu.org" <48314@debbugs.gnu.org> Cc: Stefan , Maxime Devos Received: via spool by 48314-submit@debbugs.gnu.org id=B48314.16499283379953 (code B ref 48314); Thu, 14 Apr 2022 09:26:01 +0000 Received: (at 48314) by debbugs.gnu.org; 14 Apr 2022 09:25:37 +0000 Received: from localhost ([127.0.0.1]:55173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nevjN-0002aS-3t for submit@debbugs.gnu.org; Thu, 14 Apr 2022 05:25:37 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:39177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nevjK-0002a9-Qv for 48314@debbugs.gnu.org; Thu, 14 Apr 2022 05:25:35 -0400 Date: Thu, 14 Apr 2022 09:25:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1649928328; bh=XGG08LxcFhPp9upfIIYv8IEGtObblByo88gQBq6d7uA=; 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=s787afL/IG6oXsKZosNhMlp+CbKzpl44OeApiIZZ1Qf5R0Dvsl1ZFrBkGXbcql4zK xYXCBADVZjzHOWIIbr+ZYBxmo1/AhksXXEW9wDhZaSxvaokyOZOvJO16vOvPrNR91S 6PMgBzCbmP4GEiOQeK80FtYnLRs2fTFDjbHY0xg7TPF/s/NetQ8KVYXEFylynNwPLq 5sDZ8OzRjZat3UnemjpvD3s0EEsLYd2dy8bYGNn9Agj/1VCKFakPVS1qbn3DpYmC+D DHvxl1BueIv1EBG06hEhwkF2w8mxxb5FDxzqmokISY1ZZYEyvVBh9FK9t+9Nk0IZsa CZIiugmW39zPw== Message-ID: In-Reply-To: References: <19E4796A-B0DB-444F-8773-2E8D3EF6132D@vodafonemail.de> <1JV7YdNsB7LB0ij9pMN5ktIsdpU8g98Lpu0yOrl_r6wFvRjqRJ5XqOktugKlia2rSeyNVEwY0b8VJrFJr1TsWgOIo-JW6EmTpj6Bz4dNzxQ=@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_lqwD3h2NYjWqSWydj4GOAJxfgcU5R8P59rUfL3LGLQ" 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=1649928381; 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: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=XGG08LxcFhPp9upfIIYv8IEGtObblByo88gQBq6d7uA=; b=aRmgD0Bufr+GBYFOWkJCnImnhx+OxNS3ODc3SE+qSQ4hSmXo7Vgq/AsfQ0MetLb5rAUyoI NLn3u7/kZytn7SoYxAorez4w2uMLhNbJYBuv8w6RzqQvCN3DVPyWJN29EkOYnzxUjNff0j wDoDCDQ0xsvvY0KUPrMvogew2Xxux3ElpRmkDQoK7qii3IvwL4YAdtDMB8NrGFwuy/QWpA jd0CGylo2pY1terqOwUrcnv3r4EuAf9F0qVchrBXdzQhNWHw+8OkhZL1h2KXhq0js9sMgv hx7zQH1LQTR2ZiZ/SePNz1qGSm3nJwCa2BVHFrD8IHJ1mjgSFvrF6S/XajJkNw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649928381; a=rsa-sha256; cv=none; b=SGGA3ts6DNATWA8YthE4z5IZmnQ7VVXYXNAp4pNexSdYAbnhSXGf59kaqSix7Vhq+HQg6S TCn4Wdh+BiV+MNChVWRDLWIh+ZRrKL+ZyyNimsod8ZAiCE+QJnnyaNKBRyCZwljacdPw/a WbqkwA7oVvLYdop4TzGo/58l8IeR9GS3phuZrWtXXpGQWwC5ikOqZbUlYW+YMo+j0NkBEj u8lBdXJrGJEOcIIDqMUnoxGyxJi69mjjF8O1CWnzCvjyFYUqodX1KyoYUyjzwEshiOM/29 BTD9uUmUJkasm+7egVGpfzMKXnLJGXCO0d8Bj1ralknvIpBGSl0ifQ3VZElSbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b="s787afL/"; 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.75 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b="s787afL/"; 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: E94911F7D6 X-Spam-Score: -2.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: JOMUpW0iAxOK This is a multi-part message in MIME format. --b1_lqwD3h2NYjWqSWydj4GOAJxfgcU5R8P59rUfL3LGLQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 `(modify-phases ,phases > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (replace = 'configure > > > To get rid of the #< error, replace this by > > #~(modify-phases #$phases [...]) > > (and replace the , by #$ etc). > > Greetings, > Maxime. Thanks for the suggestion Maxime. Here's patch with fixes where I attempt t= o rewrite the section of the code using Gexps. Still it ends in error as there is some mistake in the Gexps I made. $ ./pre-inst-env guix system build gnu/system/examples/raspberry-pi-64.tmpl ;;; note: source file /home/cpethod/guix/gnu/packages/linux.scm ;;; newer than compiled /home/pethod/guix/gnu/packages/linux.go substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 10= 0.0% The following derivation will be built: /gnu/store/zvy703ldgicckqgnggsnz0a21394hb9f-linux-libre-arm64-generic-5.1= 6.19.drv building /gnu/store/zvy703ldgicckqgnggsnz0a21394hb9f-linux-libre-arm64-gene= ric-5.16.19.drv... ice-9/psyntax.scm:2794:12: In procedure syntax-violation: Syntax error: /gnu/store/2xjp40qfmrdjg28zqsd919cjg00n9wrv-linux-libre-arm64-generic-5.16.= 19-builder:1:3387: source expression failed to match any pattern in form (l= et* ((srcarch #{$#}# (system->linux-srcarch (or (%current-target-system) (%= current-system)))) (configs (string-append "arch/" srcarch "/configs/")) (g= uix_defconfig (string-append configs "guix_defconfig"))) #{$#}# (cond ((not= defconfig) $~ (begin (apply (assoc-ref #{$#phases}# (quote configure)) arg= uments) (invoke "make" "savedefconfig") (rename-file "defconfig" guix_defco= nfig))) ((string? defconfig) $~ (rename-file (string-append configs #{$#def= config}#) guix_defconfig)) (else (quote (copy-file (assoc-ref inputs "guix_= defconfig") guix_defconfig)))) (modify-defconfig guix_defconfig (quote #{$#= configs}#)) #{$#@}# (if extra-version $~ ((setenv "EXTRAVERSION" #{$#}# (st= ring-append "-" extra-version))) (quote ())) (invoke "make" "guix_defconfig= ")) builder for `/gnu/store/zvy703ldgicckqgnggsnz0a21394hb9f-linux-libre-arm64-= generic-5.16.19.drv' failed with exit code 1 build of /gnu/store/zvy703ldgicckqgnggsnz0a21394hb9f-linux-libre-arm64-gene= ric-5.16.19.drv failed View build log at '/var/log/guix/drvs/zv/y703ldgicckqgnggsnz0a21394hb9f-lin= ux-libre-arm64-generic-5.16.19.drv.gz'. guix system: error: build of `/gnu/store/zvy703ldgicckqgnggsnz0a21394hb9f-l= inux-libre-arm64-generic-5.16.19.drv' failed ---- Petr --b1_lqwD3h2NYjWqSWydj4GOAJxfgcU5R8P59rUfL3LGLQ Content-Type: text/x-patch; name=v4-0001-Attempt-to-fix-modify-linux-procedure-using-Gexp.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=v4-0001-Attempt-to-fix-modify-linux-procedure-using-Gexp.patch RnJvbSA1NzY0MzAwMzQxOGYxM2Q0OWU0NTU4MmVmMmE2ZDI1ZGU2YjM2NTk1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQZXRyIEhvZGluYSA8cGhvZGluYUBwcm90b25tYWlsLmNvbT4K RGF0ZTogVGh1LCAxNCBBcHIgMjAyMiAxMToxODoyNyArMDIwMApTdWJqZWN0OiBbUEFUQ0ggdjRd IEF0dGVtcHQgdG8gZml4IG1vZGlmeS1saW51eCBwcm9jZWR1cmUgdXNpbmcgR2V4cC4KCgpkaWZm IC0tZ2l0IGEvZ251L3BhY2thZ2VzL2xpbnV4LnNjbSBiL2dudS9wYWNrYWdlcy9saW51eC5zY20K aW5kZXggNjFkYWM5MDVmOC4uZTFhZDYwNjlmOCAxMDA2NDQKLS0tIGEvZ251L3BhY2thZ2VzL2xp bnV4LnNjbQorKysgYi9nbnUvcGFja2FnZXMvbGludXguc2NtCkBAIC0xMjkzLDE1ICsxMjkzLDE1 IEBAIChkZWZpbmUqLXB1YmxpYyAobW9kaWZ5LWxpbnV4ICM6a2V5IG5hbWUKICAgICAgICAgICAg KHJlcGxhY2UgJ2NvbmZpZ3VyZQogICAgICAgICAgICAgIChsYW1iZGEqICgjOmtleSBpbnB1dHMg IzphbGxvdy1vdGhlci1rZXlzICM6cmVzdCBhcmd1bWVudHMpCiAgICAgICAgICAgICAgICAobGV0 KiAoKHNyY2FyY2gKLSAgICAgICAgICAgICAgICAgICAgICAgLChzeXN0ZW0tPmxpbnV4LXNyY2Fy Y2ggKG9yICglY3VycmVudC10YXJnZXQtc3lzdGVtKQorICAgICAgICAgICAgICAgICAgICAgICAk IyhzeXN0ZW0tPmxpbnV4LXNyY2FyY2ggKG9yICglY3VycmVudC10YXJnZXQtc3lzdGVtKQogICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKCVjdXJyZW50 LXN5c3RlbSkpKSkKICAgICAgICAgICAgICAgICAgICAgICAoY29uZmlncyAoc3RyaW5nLWFwcGVu ZCAiYXJjaC8iIHNyY2FyY2ggIi9jb25maWdzLyIpKQogICAgICAgICAgICAgICAgICAgICAgIChn dWl4X2RlZmNvbmZpZyAoc3RyaW5nLWFwcGVuZCBjb25maWdzICJndWl4X2RlZmNvbmZpZyIpKSkK LSAgICAgICAgICAgICAgICAgLChjb25kCisgICAgICAgICAgICAgICAgICQjKGNvbmQKICAgICAg ICAgICAgICAgICAgICAoKG5vdCBkZWZjb25maWcpCi0gICAgICAgICAgICAgICAgICAgIGAoYmVn aW4KKyAgICAgICAgICAgICAgICAgICAgJH4oYmVnaW4KICAgICAgICAgICAgICAgICAgICAgICAg OzsgQ2FsbCB0aGUgb3JpZ2luYWwgJ2NvbmZpZ3VyZSBwaGFzZS4KLSAgICAgICAgICAgICAgICAg ICAgICAgKGFwcGx5IChhc3NvYy1yZWYgLHBoYXNlcyAnY29uZmlndXJlKSBhcmd1bWVudHMpCisg ICAgICAgICAgICAgICAgICAgICAgIChhcHBseSAoYXNzb2MtcmVmICQjcGhhc2VzICdjb25maWd1 cmUpIGFyZ3VtZW50cykKICAgICAgICAgICAgICAgICAgICAgICAgOzsgU2F2ZSBhIGRlZmNvbmZp ZyBmaWxlLgogICAgICAgICAgICAgICAgICAgICAgICAoaW52b2tlICJtYWtlIiAic2F2ZWRlZmNv bmZpZyIpCiAgICAgICAgICAgICAgICAgICAgICAgIDs7IE1vdmUgdGhlIHNhdmVkIGRlZmNvbmZp ZyB0byB0aGUgcHJvcGVyIGxvY2F0aW9uLgpAQCAtMTMwOSwxOSArMTMwOSwxOCBAQCAoZGVmaW5l Ki1wdWJsaWMgKG1vZGlmeS1saW51eCAjOmtleSBuYW1lCiAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBndWl4X2RlZmNvbmZpZykpKQogICAgICAgICAgICAgICAgICAgICgoc3Ry aW5nPyBkZWZjb25maWcpCiAgICAgICAgICAgICAgICAgICAgIDs7IFVzZSBhbm90aGVyIGV4aXN0 aW5nIGRlZmNvbmZpZyBmcm9tIHRoZSBMaW51eCBzb3VyY2VzLgotICAgICAgICAgICAgICAgICAg ICBgKHJlbmFtZS1maWxlIChzdHJpbmctYXBwZW5kIGNvbmZpZ3MgLGRlZmNvbmZpZykKKyAgICAg ICAgICAgICAgICAgICAgJH4ocmVuYW1lLWZpbGUgKHN0cmluZy1hcHBlbmQgY29uZmlncyAkI2Rl ZmNvbmZpZykKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBndWl4X2RlZmNvbmZp ZykpCiAgICAgICAgICAgICAgICAgICAgKGVsc2UKICAgICAgICAgICAgICAgICAgICAgOzsgQ29w eSB0aGUgZGVmY29uZmlnIGlucHV0IHRvIHRoZSBwcm9wZXIgbG9jYXRpb24uCiAgICAgICAgICAg ICAgICAgICAgICcoY29weS1maWxlIChhc3NvYy1yZWYgaW5wdXRzICJndWl4X2RlZmNvbmZpZyIp CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGd1aXhfZGVmY29uZmlnKSkpCi0gICAg ICAgICAgICAgICAgIChtb2RpZnktZGVmY29uZmlnIGd1aXhfZGVmY29uZmlnICcsY29uZmlncykK LSAgICAgICAgICAgICAgICAgLEAoaWYgZXh0cmEtdmVyc2lvbgotICAgICAgICAgICAgICAgICAg ICAgICBgKChzZXRlbnYgIkVYVFJBVkVSU0lPTiIKLSAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICwoc3RyaW5nLWFwcGVuZCAiLSIgZXh0cmEtdmVyc2lvbikpKQorICAgICAgICAgICAg ICAgICAobW9kaWZ5LWRlZmNvbmZpZyBndWl4X2RlZmNvbmZpZyAnJCNjb25maWdzKQorICAgICAg ICAgICAgICAgICAkI0AoaWYgZXh0cmEtdmVyc2lvbgorICAgICAgICAgICAgICAgICAgICAgICAk figoc2V0ZW52ICJFWFRSQVZFUlNJT04iCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAkIyhzdHJpbmctYXBwZW5kICItIiBleHRyYS12ZXJzaW9uKSkpCiAgICAgICAgICAgICAgICAg ICAgICAgICcoKSkKLSAgICAgICAgICAgICAgICAgKGludm9rZSAibWFrZSIgImd1aXhfZGVmY29u ZmlnIikpCi0gICAgICAgICAgICAgICAjdCkpKSkpKQorICAgICAgICAgICAgICAgICAoaW52b2tl ICJtYWtlIiAiZ3VpeF9kZWZjb25maWciKSkpKSkpKSkKICAgICAobmF0aXZlLWlucHV0cwogICAg ICAoYXBwZW5kIChpZiAob3IgKG5vdCBkZWZjb25maWcpCiAgICAgICAgICAgICAgICAgICAgICAo c3RyaW5nPyBkZWZjb25maWcpKQotLSAKMi4zNC4wCgo= --b1_lqwD3h2NYjWqSWydj4GOAJxfgcU5R8P59rUfL3LGLQ--