GNU bug report logs -
#44128
[feature/native-comp]; When invoking a symlink to the 'emacs' binary Emacs fails to start
Previous Next
Reported by: Jonas Bernoulli <jonas <at> bernoul.li>
Date: Wed, 21 Oct 2020 22:00:02 UTC
Severity: normal
Merged with 47801
Found in version 28.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Andrea Corallo <akrl <at> sdf.org> writes:
> I've pushed 0c1fc9d581 that seams to work for me, please have a try.
Unfortunately this still doesn't work (as of f9c1008ced):
$ emacs
emacs: could not resolve realpath of "emacs": No such file or directory
$ which emacs
/usr/local/bin/emacs
$ ls -l /usr/local/bin/emacs
lrwxrwxrwx 1 root staff 55 Apr 16 14:51 /usr/local/bin/emacs -> /home/jonas/git/src/emacs/feature
But this works:
$ /home/jonas/git/src/emacs/feature/native-comp/src/emacs
And so does:
$ cat /usr/local/bin/emacs
#!/bin/sh
/home/jonas/git/src/emacs/feature/native-comp/src/emacs "$@"
$ emacs
That worked in the past but until now I subsequently ran into errors due
to things being undefined including `comp-*' variables and/or completely
unrelated things that should not be problem because when using "master"
or a release, they are loaded when needed.
I cannot be more precise at the moment because back then these issues
caused me to give up; and I am just mentioning this because so far it
seems like this issues is gone.
Jonas
This bug report was last modified 4 years and 31 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.