unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Romário Rios via Users list for the GNU Emacs text editor" <help-gnu-emacs@gnu.org>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Emacs for Android with Termux fails to execute most subprocesses: readlink('/proc/self/exe') failed
Date: Mon, 18 Sep 2023 01:19:23 +0000	[thread overview]
Message-ID: <IJug8Yx_8zkeEtmM6XGpxPwpkW7S7SZyAEvH8MaZ9jaSDni8eHEKHQsUrox5BvJvI232C_MkabnwIGk92oEX15sKeyDo-IXXuA0PuyVd6po=@protonmail.com> (raw)

Hello,

I've just downloaded the Android+Termux port of Emacs from here: https://sourceforge.net/projects/android-ports-for-gnu-emacs/files/termux/

I followed the instructions (install Termux first, then install Emacs), then I opened Emacs and tried to edit .emacs

Emacs froze immediately.

Then I forced emacs to close and tried again, this time doing M-x shell RET

Emacs froze again.

I then (after closing and reopening Emacs) opened eshell and tried to execute *anything* besides basic stuff like ls and this is what I get:

$ sh
readlink('/proc/self/exe') failed: Bad file descriptor

And then the shell hangs.

Any idea why this happens? This doesn't happen with the normal Emacs from Fdroid.

I'm running the armeabi-v7a version of Emacs. My phone is not rooted and I'm running Android 10.

Thanks in advance.

(Please cc me, I'm not subscribed to the list)

             reply	other threads:[~2023-09-18  1:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-18  1:19 Romário Rios via Users list for the GNU Emacs text editor [this message]
2023-09-18  5:03 ` Emacs for Android with Termux fails to execute most subprocesses: readlink('/proc/self/exe') failed Po Lu
2023-09-18  6:17   ` Po Lu
2023-09-18 15:16     ` Romário Rios
2023-09-18 23:43       ` Po Lu
2023-09-19  1:29         ` Romário Rios via Users list for the GNU Emacs text editor
2023-09-19  2:03           ` Po Lu
2023-09-19 16:15             ` Romário Rios via Users list for the GNU Emacs text editor
2023-09-19 16:18             ` Romário Rios via Users list for the GNU Emacs text editor
2023-09-20  1:13               ` Po Lu

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='IJug8Yx_8zkeEtmM6XGpxPwpkW7S7SZyAEvH8MaZ9jaSDni8eHEKHQsUrox5BvJvI232C_MkabnwIGk92oEX15sKeyDo-IXXuA0PuyVd6po=@protonmail.com' \
    --to=help-gnu-emacs@gnu.org \
    --cc=romariorios@protonmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).