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
> From: Jonas Bernoulli <jonas <at> bernoul.li>
> Date: Fri, 16 Apr 2021 15:21:47 +0200
> Cc: 44128 <at> debbugs.gnu.org, eli <at> gnu.org
>
> 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
Thanks, I think I understand the issues, and I'm working on a fix.
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.