From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#46790: 28.0.50; make install with native-comp branch Date: Sat, 24 Apr 2021 12:47:17 +0000 Message-ID: <875z0betc1.fsf@posteo.net> 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> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40421"; mail-complaints-to="usenet@ciao.gmane.io" Cc: psainty@orcon.net.nz, 46790@debbugs.gnu.org, akrl@sdf.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 24 15:23:11 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 1laIFa-000ABk-VC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 15:23:11 +0200 Original-Received: from localhost ([::1]:60276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laIFZ-0005en-WC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 09:23:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laIFS-0005ec-OH for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 09:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56501) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laIFS-0003YW-AK for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 09:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laIFS-0004xK-5U for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 09:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Apr 2021 13:23: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.161927052518971 (code B ref 46790); Sat, 24 Apr 2021 13:23:02 +0000 Original-Received: (at 46790) by debbugs.gnu.org; 24 Apr 2021 13:22:05 +0000 Original-Received: from localhost ([127.0.0.1]:39814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laIEX-0004vv-7M for submit@debbugs.gnu.org; Sat, 24 Apr 2021 09:22:05 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:56473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laIEU-0004vO-4e for 46790@debbugs.gnu.org; Sat, 24 Apr 2021 09:22:03 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 243DE2400FC for <46790@debbugs.gnu.org>; Sat, 24 Apr 2021 15:21:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1619270516; bh=36wTeKsbD49ZhV/WsQMu8tSAeHSf8YXT2WynQ28ghwo=; h=From:To:Cc:Subject:Date:From; b=dqbelJYpbDvB7kgGFPGZTULEucwDVyzKUX1zxhX4fYlTXkxWES7924JnsGHlyXCYh 3QSn51juBKyCcJBvQvw0sT75fnc2+doQv2vy4kl67sjxr3Rkphc75AqoTGvNnB8trj 1RV4L/G8Dg31cIdGI1bPmCB5G3rTeRwjEfZ2ORCJ16mgorYiQpx6JY8w+Wu5ngNqXa 1XeRbKEI/BTRvdWzyNRlOSJyLNYWS5bGfytRM4C6lzGohKDqAHbXklQ/H6CR2cWDYX nOeOdgkj6WCjHbrfBH1bxIND9aJCws+bjjxldydHj9Qff5Vxm52vgiMR7+GwJun/IJ WxwVFlxAbzKig== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FSBdZ2zchz6tm9; Sat, 24 Apr 2021 15:21:54 +0200 (CEST) In-reply-to: <83lf97n9eg.fsf@gnu.org> 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:204803 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Thierry Volpiatto >> Cc: Andrea Corallo , psainty@orcon.net.nz, 46790@debbugs.g= nu.org >> Date: Sat, 24 Apr 2021 12:21:56 +0000 >>=20 >> As I said before I found this bug when using dired-async-mode from >> emacs-async package. When trying to copy a file nothing happened, no >> child emacs process was made. As soon I symlinked the native-lisp/ >> directory in /usr/local/sbin dired-async started working, now it is no >> more working symlink or not, I guess emacs --batch is not finding the >> necessary libraries to start, but now unsure. > > Wait a minute: you are saying that starting "emacs" with your > installation works well, and the problem happens only when you use the > dired-async-mode? Yes. > If so, it's a different problem from what I thought, sorry for not > realizing this earlier. > > I think we need to see how "emacs --batch" is invoked in your > scenario, in order for us to understand the problem you have. can you > show the complete Emacs batch command that fails like that? You will find the code in async-start function in async.el https://github.com/jwiegley/emacs-async/blob/master/async.el#L296 >> >> thierry IPadS340:/usr/local/sbin/emacs-28.0.50$ ./emacs-28.0.50 >> >> emacs: /usr/local/sbin/emacs-28.0.50/../native-lisp/28.0.50-40158ec0/= window-0d1b8b93-738411b0.eln: cannot open shared object file: No such file = or directory >> >> thierry IPadS340:/usr/local/sbin/emacs-28.0.50$ ./emacs >> >> emacs: /usr/local/sbin/emacs-28.0.50/../native-lisp/28.0.50-40158ec0/= window-0d1b8b93-738411b0.eln: cannot open shared object file: No such file = or directory >>=20 >> Yes I sent this because I thought it was a straight forward way to show >> the problem, however the strange thing was emacs was starting with no >> apparent errors from its symlink in /usr/local/bin/ > > Are these messages emitted by the "emacs --batch" invocation done by > dired-async-mode, No, unfortunately it is really hard to get error messages from async.el. These message came from calling ./emacs or ./emacs-28.0.50 from /usr/local/sbin/emacs-28.0.50/. However if it may help, it seems the process buffer is created, and then the process (emacs) never start, here the contents of the "*emacs*" buffer (emacs started with "./emacs" from /usr/local/sbin/emacs-28.0.50 dir= ectory): Lisp expression: Backtrace: /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x17a324)[0x55e34b4cc324] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x46299)[0x55e34b398299] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x469fa)[0x55e34b3989fa] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7ff2a34b1980] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f66f8)[0x55e34b5486f8] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4caf)[0x55e34b546caf] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f592d)[0x55e34b54792d] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4caf)[0x55e34b546caf] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f62ad)[0x55e34b5482ad] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4caf)[0x55e34b546caf] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4f2d)[0x55e34b546f2d] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f2a93)[0x55e34b544a93] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4caf)[0x55e34b546caf] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4b6e)[0x55e34b546b6e] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4a98)[0x55e34b546a98] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4a98)[0x55e34b546a98] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f605d)[0x55e34b54805d] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4caf)[0x55e34b546caf] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f50ed)[0x55e34b5470ed] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f0cc1)[0x55e34b542cc1] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4dab)[0x55e34b546dab] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4b6e)[0x55e34b546b6e] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f6769)[0x55e34b548769] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4caf)[0x55e34b546caf] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f543d)[0x55e34b54743d] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4caf)[0x55e34b546caf] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f605d)[0x55e34b54805d] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4caf)[0x55e34b546caf] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f50ed)[0x55e34b5470ed] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f0cc1)[0x55e34b542cc1] /usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/../../../../bin/../lib= /emacs/28.0.50/native-lisp/28.0.50-f294808a/preloaded/startup-bbc6ea72-3a1d= 4504.eln(F636f6d6d616e642d6c696e652d31_command_line_1_0+0xad3)[0x7ff2918cf9= 23] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f0e73)[0x55e34b542e73] /usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/../../../../bin/../lib= /emacs/28.0.50/native-lisp/28.0.50-f294808a/preloaded/startup-bbc6ea72-3a1d= 4504.eln(F636f6d6d616e642d6c696e65_command_line_0+0x17a2)[0x7ff2918c8512] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f0e73)[0x55e34b542e73] /usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/../../../../bin/../lib= /emacs/28.0.50/native-lisp/28.0.50-f294808a/preloaded/startup-bbc6ea72-3a1d= 4504.eln(F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0+0xfca)[0x7ff2= 918c4fca] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f4ce8)[0x55e34b546ce8] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f6969)[0x55e34b548969] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1efd57)[0x55e34b541d57] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x15a846)[0x55e34b4ac846] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x1f2a93)[0x55e34b544a93] /usr/local/sbin/emacs-28.0.50/emacs-28.0.50(+0x159d08)[0x55e34b4abd08] ... > or are they shown when you start your interactive Emacs session? The interactive session. =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmCEG24THHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvk/ENC/wIGx5u7U3tReZxRADkltAg79oSzN4Z e1RuGmIj4kiPpG8GAXQSNd110Uak0/eLUqPIOpwlKTrNaCzLI32LJpXYtP9pEvRG jopml/tChsvytNEZwbT2VmYXUwVBsaDRVWaTA7+9FXZvdZ8S+JYbvk1OQZomt4b3 T/Ul4/nM3w8BNOtH2ALe2jjVY7xP0pAK/PiAgydDb3oe/CVklyayVLimWZjwtoja oFHstnEHLvl4m7u+SkFow5coIxd0gaAPlYfNLi1oZ7le7HD+/tnKD90q+D8/YjXN hhiTPSFARLg5vYElHqD0GdQUM/XNaEZkjPnMotE1SRjn0us81YHxITqJ1ZCOYZus z+2YVipgbJt6vlLi6iDLEXbocS27pvHUE2zLb0KucTFFq7fQDpM/lvfLg/uPhV6l mDnne2Zx+G8TsihbyMQWwLkngzHlrAS3aKk1ICTLHXnMxqz/Qck6C1aTe/xdD6mZ 5usfhGgxc6Y0LhWlt2OjI8yK7wVqXYWPl64= =7Y6g -----END PGP SIGNATURE----- --=-=-=--