all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sébastien Lerique" <sl@eauchat.org>
To: help-guix <help-guix@gnu.org>
Subject: Emacs on a reMarkable
Date: Fri, 11 Aug 2023 22:26:40 +0900	[thread overview]
Message-ID: <87leehacga.fsf@eauchat.org> (raw)

Dear Guix,

I hope this finds you all well!

I'm trying out ways to get emacs running on a reMarkable 2, as there are
now at least two shells that can run aside from the main binary: yaft
<https://github.com/timower/rM2-stuff/tree/master/apps/yaft> and ReTerm
<https://github.com/i-am-shodan/ReTerm/> (which may be ending soon as
yaft is making good progress). There are ongoing conversations with a
Discord community <https://discord.gg/qEnCVcd>, channel called "rm2".

As Rust can't yet be cross-compiled (as far as I know), I set up an ARM
VM with Debian (following
<https://www.willhaley.com/blog/debian-arm-qemu/>), then

  apt install guix
  guix pack -RR -S /emacsbin=bin emacs-no-x

I copy and extract the package in reMarkable. Then, as / and /home are
different partitions on reMarkable, and / is too small, I follow the way
Entware packages are installed (see https://toltec-dev.org/ for
details), so:

  mount -o bind /home/root/gnu /gnu

At this point emacs-no-x runs perfectly when connecting through ssh and
running it there.

But when run from yaft (and from ReTerm), the following error appears,
and emacs (as well as the minimal bash) fails to run:

--8<---------------cut here---------------start------------->8---
/gnu/store/97xwzdsw9p6019dbml5mzf781c7avfkq-bash-minimal-5.1.8/bin/bash: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
--8<---------------cut here---------------end--------------->8---

I can't find libQt5Core* in the tar.gz file, in /gnu/store, and not even
in the /gnu/store on my laptop where I use the guix packaging in
ubuntu/debian to use emacs. Am I maybe not searching properly with the
following?

  find /gnu/store -name "*libQt5*"

I also don't find *libQt5* when I package emacs instead of emacs-no-x. i
tried making the `env` outputs of the ssh shell and the yaft shell match
each other a little more, with no success (I can send them if it makes
sense).

Are there any ideas to figure out what could lead to this bug?

Thanks for everything you are and do!
Sébastien


             reply	other threads:[~2023-08-12 20:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-11 13:26 Sébastien Lerique [this message]
2023-09-05 14:18 ` Emacs on a reMarkable Simon Tournier
2023-09-07  9:52   ` Sébastien Lerique
2023-09-11 16:26     ` Simon Tournier
2023-09-15 20:56       ` Sébastien Lerique
2023-09-18  8:50     ` Simon Tournier
2023-09-20 18:25       ` Sébastien Lerique
2023-09-21  7:14         ` Simon Tournier
2023-09-22  7:14           ` Sébastien Lerique

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87leehacga.fsf@eauchat.org \
    --to=sl@eauchat.org \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.