Open oaguy1 opened 5 months ago
Adding screenshot with my app version included.
Do you have /usr/bin/emacs on your system?
I do not
DId you have emacs installed before this update? Did it work before then?
I did have it installed before and it worked as expected.
On Tue, Jan 9, 2024 at 16:16 Saagar Jha @.***> wrote:
DId you have emacs installed before this update? Did it work before then?
— Reply to this email directly, view it on GitHub https://github.com/ish-app/ish/issues/2324#issuecomment-1883804926, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR7DHSZZK5AXFBJC2L6B2DYNWXTZAVCNFSM6AAAAABBTBNJXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBTHAYDIOJSGY . You are receiving this because you authored the thread.Message ID: @.***>
Same thing here. After apk add emacs withou errors the system can’t find emacs
I hit the same problem on my ipad today, with Alpine v3.19.1. Then I tried "apk add emacs-nox" and now /usr/bin/emacs exists. Of course, when I try to run emacs, I get "Fatal error 31: Bad system call", so emacs still doesn't work, but for different reasons. I guess I'll go back to Alpine v3.18.6.
This is an issue with alpine, not ish.
I got that problem using an alpine:3.19 container, and I found this issue first when looking up the error, so I'm writing this for the next victim :laughing:
It can be reproduced with docker:
> echo 'apk add emacs; emacs --version' | docker run -i --rm alpine:3.19
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gzfetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
(1/1) Installing emacs (29.1-r3)
Executing busybox-1.36.1-r15.trigger
OK: 24 MiB in 16 packages
/bin/sh: emacs: not found
And this shows that there isn't even a file named emacs
:
> echo 'apk add emacs file; find / -name emacs -exec file \{\} \; 2>/dev/null' | docker run -i --rm alpine:3.19
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
(1/3) Installing emacs (29.1-r3)
(2/3) Installing libmagic (5.45-r1)
(3/3) Installing file (5.45-r1)
Executing busybox-1.36.1-r15.trigger
OK: 33 MiB in 18 packages
/var/games/emacs: directory
/usr/lib/emacs: directory
/usr/share/emacs: directory
I ended up using the package emacs-nox
instead.
In both bash and ash, I am unable to launch emacs after performing the alpine 3.19 upgrade. It doesn’t crash, it simply cannot find it in the path. I even tried removing and reinstalling emacs, but to no avail. Screenshot of the issue below.