From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46790: 28.0.50; make install with native-comp branch Date: Sat, 24 Apr 2021 19:00:30 +0300 Message-ID: <83czujn04h.fsf@gnu.org> References: <87h7lzgtyv.fsf@posteo.net> <83v98hqj5y.fsf@gnu.org> <87y2d8uq8r.fsf@posteo.net> <83wnssm8b0.fsf@gnu.org> <83v98cm6en.fsf@gnu.org> <877dkreudx.fsf@posteo.net> <83lf97n9eg.fsf@gnu.org> <875z0betc1.fsf@posteo.net> <83h7jvn6xu.fsf@gnu.org> <87k0or233h.fsf@posteo.net> <83eeezn594.fsf@gnu.org> <87o8e3r8t9.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32629"; mail-complaints-to="usenet@ciao.gmane.io" Cc: psainty@orcon.net.nz, 46790@debbugs.gnu.org, akrl@sdf.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 24 18:17:04 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1laKxs-0008LW-11 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 18:17:04 +0200 Original-Received: from localhost ([::1]:54594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laKxq-0000JP-Uk for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 12:17:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laKiS-0005dI-PJ for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 12:01:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laKiM-0004Lh-8m for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 12:01:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laKiM-0000bh-8Q for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 12:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Apr 2021 16:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46790 X-GNU-PR-Package: emacs Original-Received: via spool by 46790-submit@debbugs.gnu.org id=B46790.16192800532312 (code B ref 46790); Sat, 24 Apr 2021 16:01:02 +0000 Original-Received: (at 46790) by debbugs.gnu.org; 24 Apr 2021 16:00:53 +0000 Original-Received: from localhost ([127.0.0.1]:41337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laKiC-0000bE-SB for submit@debbugs.gnu.org; Sat, 24 Apr 2021 12:00:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laKi9-0000b0-Uc for 46790@debbugs.gnu.org; Sat, 24 Apr 2021 12:00:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50161) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laKi4-0004G8-4A; Sat, 24 Apr 2021 12:00:44 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3186 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1laKi2-0006Kl-Hq; Sat, 24 Apr 2021 12:00:43 -0400 In-Reply-To: <87o8e3r8t9.fsf@posteo.net> (message from Thierry Volpiatto on Sat, 24 Apr 2021 15:22:38 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:204810 Archived-At: > From: Thierry Volpiatto > 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? Or do you start dired-async in batch mode directly from the shell prompt? > 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? > 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? So how did that running Emacs session start successfully if you say that you needed the symlink to native-lisp/ ? 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.