From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wMwwKXJFC2UXvwAA9RJhRA:P1 (envelope-from ) for ; Wed, 20 Sep 2023 21:18:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wMwwKXJFC2UXvwAA9RJhRA (envelope-from ) for ; Wed, 20 Sep 2023 21:18:10 +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 4E4A369086 for ; Wed, 20 Sep 2023 21:18:10 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=eauchat.org header.s=mail header.b=PuB6e5eG; dmarc=pass (policy=none) header.from=eauchat.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695237490; h=from:from:sender:sender: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Iru+SY0dXqshnsi87/zTo+ylCdnj6vx6teXHPFSAB+I=; b=fDh22cY8UYKFZjfvait5kaZ1N2w0FADQtS6SDgCTffqF0qZtu/7WivynKj86YiR9r+c1ye uR5ZwBT1UAR/OlzRfdJP35LPQ3ICxBAsDziKp5LsYAr+P5EyNHNA/G4OVBZs45/4l5u9Lv 8bKo4rnM89rBl96XXL1i47InETpa/rIT2PnLUfN4HIZXx4m5A55DY4nmjlkynfmiVGpuqW dsE/vdODALL/oldKGkhLPvpKMemu/TTY31ADf+evwQNDY4qeeziNXn5A/ehSBnAM/XRWn3 DqoN+ViOCPIguaUNhCigDwzsTbkwzfkdOBepQbdAVsdtQJdzyTDthdCr2uYvrg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695237490; a=rsa-sha256; cv=none; b=PDVQ0jKobkjT4+0H8dI/0m0vkCd6qTzZwE3FT5KeFgIJ7XnHTyKcG2uEZwDrKVhyeh1U4X fOiiw2PYQPpKIqqU7AAoqu+Tqeg3WKw+b0g5vCjjhvSznEqW1a1+Cv/2m3cxZNY2ialU8I fDsFS6h4dbCwRsPZLhqGkc2VJxZTxe+z1Q9uT8UqWIvdj0loJu//OAfNspVhc5JBcxKe7y zFu7PZc4YnvVcBykzs+bNNCi6wR4cRwWj2i/0DBkWtTCm5wU7Q8zWzaf61yh4rkEVaLfCY 86q/uJv9nxcpYo302AE4oHgFO+fp3IkWatGDd8gmKx2bQ7op8d19rmZoarRNog== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=eauchat.org header.s=mail header.b=PuB6e5eG; dmarc=pass (policy=none) header.from=eauchat.org; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qj2hd-0006cm-BN; Wed, 20 Sep 2023 15:17:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qj2ha-0006cK-Vp for help-guix@gnu.org; Wed, 20 Sep 2023 15:17:34 -0400 Received: from elegua.eauchat.org ([91.224.149.118] helo=eauchat.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qj2hY-000275-UG for help-guix@gnu.org; Wed, 20 Sep 2023 15:17:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1695237446; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=Iru+SY0dXqshnsi87/zTo+ylCdnj6vx6teXHPFSAB+I=; b=PuB6e5eGFImydFOexVHJx76hH6xz/QfrOYb23RW0g756QqMzwN++GiJ6GSUu9ye/ZDE8y7 bBv4SVC560OcoLAYFbRLo+wC9drn/5uU8T2Wz8d75KQoq6r42TwYvNX1D5LggdYUDV5jKK 2jeXp5ZqaJb6KQSon9jsGfv2v8+yeKo= References: <87leehacga.fsf@eauchat.org> <86v8cou2jn.fsf@gmail.com> <87lediwbm5.fsf@eauchat.org> <87o7hzsw4t.fsf@gmail.com> From: =?utf-8?Q?S=C3=A9bastien?= Lerique To: Simon Tournier Cc: help-guix Subject: Re: Emacs on a reMarkable Date: Wed, 20 Sep 2023 20:25:30 +0200 In-reply-to: <87o7hzsw4t.fsf@gmail.com> Message-ID: <87pm2c1wos.fsf@eauchat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=91.224.149.118; envelope-from=sl@eauchat.org; helo=eauchat.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.75 X-Spam-Score: -9.75 X-Migadu-Queue-Id: 4E4A369086 X-Migadu-Scanner: mx0.migadu.com X-TUID: J2nY6ekzNY5D Hi! On 18 Sep 2023 at 10:50, Simon Tournier wrote: > Re-reading, I am missing one point=E2=80=A6 > > [...] > > This wpxqqdcslxxx9g9l9j847ifgh0xdlsfl-emacs-no-x-tarball-pack.tar.gz is > what you get before =E2=80=9Cguix pull=E2=80=9D. It means, it used the G= uix revision > packaged by Debian (Guix v1.4 I guess). > > Then after =E2=80=9Cguix pull=E2=80=9D, I read > pszvzh7917kkf1cisxd46bx8vlac25zh-emacs-no-x-tarball-pack.tar.gz which > seems different. This had been produced using Guix revision 65dcfb3. > Yes, but there's been a mix of `-R` and `-RR` in the summary I might have made. So I tried out from scratch to be sure, and I'm still surprised: On a clean ARM VM made following https://www.willhaley.com/blog/debian-arm-qemu/ here is my full setup (apologies for the details): 1) Get Debian all up to date --8<---------------cut here---------------start------------->8--- root@vm-remarkable2:~# nano /etc/sources.list root@vm-remarkable2:~# cat /etc/sources.list deb http://deb.debian.org/debian bookworm main deb-src http://deb.debian.org/debian bookworm main deb http://deb.debian.org/debian-security/ bookworm-security main deb-src http://deb.debian.org/debian-security/ bookworm-security main deb http://deb.debian.org/debian bookworm-updates main deb-src http://deb.debian.org/debian bookworm-updates main root@vm-remarkable2:~# apt update && apt upgrade [...] --8<---------------cut here---------------end--------------->8--- Copy the new vmlinuz and initrd.gz to the host's folder (as they're in the launch code described in https://www.willhaley.com/blog/debian-arm-qemu/ , so just in case), then power off the VM and boot it again. Then: root@vm-remarkable2:~# apt install guix Then reboot once more as the terminal would not give new lines. Then build and check the file name before and after updating guix: --8<---------------cut here---------------start------------->8--- root@vm-remarkable2:~# guix pull -l guix pull: error: profile '/var/guix/profiles/per-user/root/current-guix' d= oes not exist root@vm-remarkable2:~# guix pack -RR -S /emacsbin=3Dbin emacs-no-x [... substitutes, grafts, builds ...] /gnu/store/wpxqqdcslxxx9g9l9j847ifgh0xdlsfl-emacs-no-x-tarball-pack.tar.gz root@vm-remarkable2:~# guix pull -l guix pull: error: profile '/var/guix/profiles/per-user/root/current-guix' d= oes not exist root@vm-remarkable2:~# guix describe guix describe: error: failed to determine origin hint: Perhaps this `guix' command was not obtained with `guix pull'? Its ve= rsion string is 1.4.0. root@vm-remarkable2:~# guix pull [... substitutes and builds ...] root@vm-remarkable2:~# guix pull -l Generation 1 Sep 20 2023 13:50:04 (current) guix 6bd17a0 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 6bd17a0806ad32d1493ac51a7443276f719c4224 root@vm-remarkable2:~# guix pack -RR -S /emacsbin=3Dbin emacs-no-x /gnu/store/wpxqqdcslxxx9g9l9j847ifgh0xdlsfl-emacs-no-x-tarball-pack.tar.gz --8<---------------cut here---------------end--------------->8--- > Is it not the case? Well, I guess you get: > > root@arm-vm:~# /usr/bin/guix pack -R -S /emacsbin=3Dbin emacs-no-x > /gnu/store/wpxqqdcslxxx9g9l9j847ifgh0xdlsfl-emacs-no-x-tarball-pack.tar.gz > > root@arm-vm:~# guix time-machine --commit=3D65dcfb3f3865d08467da747041263= fd22460d393 \ > -- pack -R -S /emacsbin=3Dbin emacs-no-x > /gnu/store/pszvzh7917kkf1cisxd46bx8vlac25zh-emacs-no-x-tarball-pack.tar.gz > > No? Do you see something different? > So no, the tarball after guix pull is the same as the one from before, unless I reboot the VM. After rebooting the VM, running the same guix pack gives a different tarball (the actual one under guix 6bd17a0 I guess): --8<---------------cut here---------------start------------->8--- root@vm-remarkable2:~# guix pack -RR -S /emacsbin=3Dbin emacs-no-x /gnu/store/0cam5691zqp1r8wlv741c8im2rmhk2v1-emacs-no-x-tarball-pack.tar.gz --8<---------------cut here---------------end--------------->8--- (Sorry for not having reused 65dcfb3, but the problem is independent of that version.) Could this just be due to a need for reboot after the first `guix pull`? Cheers! S=C3=A9bastien