From: Thierry Volpiatto <thievol@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: psainty@orcon.net.nz, 46790@debbugs.gnu.org, akrl@sdf.org
Subject: bug#46790: 28.0.50; make install with native-comp branch
Date: Sat, 24 Apr 2021 16:20:41 +0000 [thread overview]
Message-ID: <87im4br6ei.fsf@posteo.net> (raw)
In-Reply-To: <83czujn04h.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 3116 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Thierry Volpiatto <thievol@posteo.net>
>> Cc: akrl@sdf.org, psainty@orcon.net.nz, 46790@debbugs.gnu.org
>> Date: Sat, 24 Apr 2021 15:22:38 +0000
>>
>> I rebuilded emacs starting at b064ddd3f60 and trying to copy a file
>> with dired-async, it fails with error in process buffer "*emacs*" with:
>>
>> emacs:
>> /usr/local/sbin/emacs-28.0.50/../native-lisp/28.0.50-2f134e58/preloaded/window-0d1b8b93-581f9fcd.eln:
>> cannot open shared object file: No such file or directory
>
> That's too fast. Let's make one step back. Before you copy the file
> with dired-async, you start the interactive Emacs session, right?
Yes from PATH with emacs which is a symlink in /usr/local/bin pointing
to /usr/local/sbin/emacs-28.0.50/emacs-28.0.50.
And yes emacs starts fine like this. And if I start it from
/usr/local/sbin/emacs-28.0.50/emacs-28.0.50 with ./emacs it fails to
start with always the same error:
emacs: /usr/local/sbin/emacs-28.0.50/../native-lisp/28.0.50-2f134e58/preloaded/window-0d1b8b93-581f9fcd.eln: cannot open shared object file: No such file or directory
I also don't understand why emacs start from /usr/local/bin/emacs (the
symlink) but not directly from the true directory
/usr/local/sbin/emacs-28.0.50/emacs-28.0.50 with ./emacs.
> Or do you start dired-async in batch mode directly from the shell
> prompt?
No.
>> Then I do the symlink (here from /usr/local/sbin/ directory):
>>
>> sudo ln -s /usr/local/lib/emacs/28.0.50/native-lisp/ .
>>
>> And now I can copy a file from dired-async with no error even without
>> restarting emacs.
>
> That's understandable with the code that was on the branch back then.
> But the code have changed a lot (to support Emacs invocation via
> symlinks), and it changed in a way that should have worked for you
> even without the symlink to native-lisp/. So what happens with the
> branch HEAD if you start Emacs as "emacs -Q" when there's no symlink
> in /usr/local/sbin/ to native-lisp/? does it start or does it crash or
> does it display some error message and fails to start?
Yes it starts.
But then fails with dired-async with and without the native-lisp/ symlink.
>> If you want to reproduce you can bypass dired-async
>> and use something like this much simpler which avoid possible errors
>> from something else and need no configuration:
>>
>> (async-start
>> (lambda ()
>> (copy-file "~/.emacs.d/init.el" "~/tmp/")))
>>
>> you should have now a buffer "*emacs*" with same contents as above.
>
> This is a sexp you evaluate in a running Emacs session, right?
Yes.
> So how did that running Emacs session start successfully if you say
> that you needed the symlink to native-lisp/ ?
As said above it starts fine from /usr/local/bin but fails from
/usr/local/sbin/emacs-28.0.50/emacs-28.0.50 and running ./emacs.
> I'm sorry to ask so many questions, but I'm still in the dark wrt what
> exactly do you do to reproduce the problem and what happens when you
> do that.
No problems.
--
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 686 bytes --]
next prev parent reply other threads:[~2021-04-24 16:20 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-26 7:35 bug#46790: 28.0.50; make install with native-comp branch Thierry Volpiatto
2021-04-09 18:56 ` Eli Zaretskii
2021-04-10 5:17 ` Thierry Volpiatto
2021-04-10 7:37 ` Eli Zaretskii
2021-04-10 6:57 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-10 7:50 ` Eli Zaretskii
2021-04-10 16:30 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-10 13:46 ` Thierry Volpiatto
2021-04-10 16:25 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-10 17:55 ` Thierry Volpiatto
2021-04-13 12:37 ` bug#46790: 28.0.50; [native-comp] Emacs doesn't start when run from a symlink Phil Sainty
2021-04-13 13:55 ` Eli Zaretskii
2021-04-14 9:50 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-20 9:33 ` bug#46790: 28.0.50; make install with native-comp branch Phil Sainty
2021-04-20 11:39 ` Eli Zaretskii
2021-04-24 6:48 ` Thierry Volpiatto
2021-04-24 7:49 ` Eli Zaretskii
2021-04-24 8:30 ` Eli Zaretskii
2021-04-24 12:21 ` Thierry Volpiatto
2021-04-24 12:40 ` Eli Zaretskii
2021-04-24 12:47 ` Thierry Volpiatto
2021-04-24 13:33 ` Eli Zaretskii
2021-04-24 13:39 ` Eli Zaretskii
2021-04-24 13:58 ` Thierry Volpiatto
2021-04-24 14:09 ` Eli Zaretskii
2021-04-24 15:22 ` Thierry Volpiatto
2021-04-24 16:00 ` Eli Zaretskii
2021-04-24 16:20 ` Thierry Volpiatto [this message]
2021-04-24 16:52 ` Eli Zaretskii
2021-04-24 17:35 ` Thierry Volpiatto
2021-04-25 13:14 ` Thierry Volpiatto
2021-04-25 13:28 ` Eli Zaretskii
2021-04-25 14:02 ` Thierry Volpiatto
2021-04-25 14:37 ` Eli Zaretskii
2021-04-25 14:28 ` Phil Sainty
2021-04-25 15:24 ` Eli Zaretskii
2021-04-25 18:21 ` Thierry Volpiatto
2021-04-25 18:38 ` Eli Zaretskii
2021-04-25 19:50 ` Thierry Volpiatto
2021-04-27 11:16 ` Thierry Volpiatto
2022-06-19 13:56 ` Lars Ingebrigtsen
2022-06-19 16:20 ` Thierry Volpiatto
2022-06-19 16:25 ` Lars Ingebrigtsen
2021-04-24 17:00 ` Eli Zaretskii
2021-04-24 17:39 ` Thierry Volpiatto
2021-04-24 17:47 ` Eli Zaretskii
2021-04-24 18:06 ` Thierry Volpiatto
2021-04-24 18:48 ` Eli Zaretskii
2021-04-25 4:29 ` Thierry Volpiatto
2021-04-25 8:21 ` Eli Zaretskii
2021-04-25 12:07 ` Thierry Volpiatto
2021-04-25 12:21 ` Eli Zaretskii
2021-04-25 15:19 ` Thierry Volpiatto
2021-04-24 13:03 ` Eli Zaretskii
2021-04-24 11:11 ` Thierry Volpiatto
2021-04-24 11:56 ` Eli Zaretskii
2021-04-24 12:04 ` Thierry Volpiatto
2021-04-24 12:29 ` Eli Zaretskii
2021-04-24 11:59 ` Phil Sainty
2021-04-24 6:40 ` Thierry Volpiatto
2022-06-26 5:39 ` bug#46790: 28.1; Bug#46790 reintroduced; Was make install with native-comp Thierry Volpiatto
2022-06-26 5:52 ` Eli Zaretskii
2022-06-26 9:30 ` Eli Zaretskii
2022-06-26 14:19 ` Thierry Volpiatto
2022-06-26 14:52 ` Eli Zaretskii
2022-06-27 10:14 ` Thierry Volpiatto
2022-06-27 11:19 ` Eli Zaretskii
2022-06-27 12:59 ` Eli Zaretskii
2022-06-27 13:46 ` Thierry Volpiatto
2022-06-26 14:10 ` Thierry Volpiatto
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=87im4br6ei.fsf@posteo.net \
--to=thievol@posteo.net \
--cc=46790@debbugs.gnu.org \
--cc=akrl@sdf.org \
--cc=eliz@gnu.org \
--cc=psainty@orcon.net.nz \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).