unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: "Romário Rios via Users list for the GNU Emacs text editor"
	<help-gnu-emacs@gnu.org>
Cc: "Romário Rios" <romariorios@protonmail.com>
Subject: Re: Emacs for Android with Termux fails to execute most subprocesses: readlink('/proc/self/exe') failed
Date: Mon, 18 Sep 2023 14:17:48 +0800	[thread overview]
Message-ID: <874jjsxawj.fsf@yahoo.com> (raw)
In-Reply-To: <87bke0xecx.fsf@yahoo.com> (Po Lu's message of "Mon, 18 Sep 2023 13:03:10 +0800")

Po Lu <luangruo@yahoo.com> writes:

> Romário Rios via Users list for the GNU Emacs text editor
> <help-gnu-emacs@gnu.org> writes:
>
>> 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)
>
> I think this issue arises from within the armeabi-v7a process tracing
> code, which I wrote blindfolded at the time absent any devices to test
> on.  I will investigate this.

This should now function correctly; prebuilts will be generated
forthwith, as usual.



  reply	other threads:[~2023-09-18  6:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-18  1:19 Emacs for Android with Termux fails to execute most subprocesses: readlink('/proc/self/exe') failed Romário Rios via Users list for the GNU Emacs text editor
2023-09-18  5:03 ` Po Lu
2023-09-18  6:17   ` Po Lu [this message]
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=874jjsxawj.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=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).