GNU bug report logs - #46790
28.0.50; make install with native-comp branch

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thievol <at> posteo.net>

Date: Fri, 26 Feb 2021 07:38:01 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Phil Sainty <psainty <at> orcon.net.nz>
Cc: thievol <at> posteo.net, 46790 <at> debbugs.gnu.org, akrl <at> sdf.org
Subject: bug#46790: 28.0.50; [native-comp] Emacs doesn't start when run from a symlink
Date: Tue, 13 Apr 2021 16:55:55 +0300
> Cc: Andrea Corallo <akrl <at> sdf.org>, Eli Zaretskii <eliz <at> gnu.org>,
>  Thierry Volpiatto <thievol <at> posteo.net>
> From: Phil Sainty <psainty <at> orcon.net.nz>
> Date: Wed, 14 Apr 2021 00:37:38 +1200
> 
> I've compiled the feature/native-comp branch and it starts if I run
> the real path to the executable; but if I run it from a symlink it
> fails:
> 
> $ ls -l /home/phil/bin/emacs-native-comp
> lrwxrwxrwx 1 phil phil 48 Apr 14 00:01 /home/phil/bin/emacs-native-comp -> /home/phil/emacs/native-comp/usr/local/bin/emacs
> 
> $ emacs-native-comp -Q
> emacs: /home/phil/bin/../native-lisp/28.0.50-abd7aa58/preloaded/window-0d1b8b93-513ac8ca.eln: cannot open shared object file: No such file or directory

Andrea, I think the code which resolves symlinks in load_pdump should
also affect how Vinvocation_directory etc. are computed in
set_invocation_vars.




This bug report was last modified 3 years and 17 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.