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#49864: 28.0.50; Fails to start after "make install" Date: Thu, 05 Aug 2021 19:29:29 +0300 Message-ID: <83a6lvkg7q.fsf@gnu.org> References: <83r1f9l8xu.fsf@gnu.org> <83pmusjsfg.fsf@gnu.org> <83o8acjrky.fsf@gnu.org> <83mtpwjpa7.fsf@gnu.org> <83im0kj9ry.fsf@gnu.org> <83h7g4j8dj.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24541"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49864@debbugs.gnu.org To: Wilhelm Kirschbaum Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 05 18:30:10 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 1mBgG2-0006Bz-3J for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Aug 2021 18:30:10 +0200 Original-Received: from localhost ([::1]:58374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBgG1-0004Jl-0q for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Aug 2021 12:30:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBgFu-0004JF-Rl for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 12:30:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36656) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBgFu-0004Ou-Kq for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 12:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBgFu-0002Gz-Ec for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 12:30: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: Thu, 05 Aug 2021 16:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49864 X-GNU-PR-Package: emacs Original-Received: via spool by 49864-submit@debbugs.gnu.org id=B49864.16281809778677 (code B ref 49864); Thu, 05 Aug 2021 16:30:02 +0000 Original-Received: (at 49864) by debbugs.gnu.org; 5 Aug 2021 16:29:37 +0000 Original-Received: from localhost ([127.0.0.1]:48202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBgFV-0002Fs-B4 for submit@debbugs.gnu.org; Thu, 05 Aug 2021 12:29:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBgFT-0002Ff-Av for 49864@debbugs.gnu.org; Thu, 05 Aug 2021 12:29:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45976) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBgFO-0003zw-21; Thu, 05 Aug 2021 12:29:30 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3330 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBgFN-0000Du-JP; Thu, 05 Aug 2021 12:29:29 -0400 In-Reply-To: (message from Wilhelm Kirschbaum on Thu, 5 Aug 2021 17:21:36 +0200) 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:211247 Archived-At: > From: Wilhelm Kirschbaum > Date: Thu, 5 Aug 2021 17:21:36 +0200 > Cc: 49864@debbugs.gnu.org > > 162 if (faccessat (AT_FDCWD, file, amode, AT_EACCESS) == 0) > (gdb) next > dump_do_dump_relocation (dump_base=, reloc=...) at pdumper.c:5325 > 5325 eln_fname = make_uninit_string (execdir_len + fn2_len); > (gdb) p (int)errno > $1 = 13 > > I can indeed access > /usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/../../../../bin/../lib/emacs/28.0.50/native-lisp/28.0.50-864bf4e5/preloaded/window-0d1b8b93-dcb2375f.eln > but only as root. Which seems wrong. I can start emacs as sudo ( have not even checked this before ) > > Which is then probably a umask issue as this folder's permission seems wrong: > /usr/local/lib $ sudo ls -lah emacs > total 12K > drwx------ 3 root root 4.0K Aug 3 23:00 . > drwxr-xr-x 4 root root 4.0K Aug 3 23:00 .. > drwx------ 3 root root 4.0K Aug 3 23:00 28.0.50 > > sudo ls -lah emacs/28.0.50 > total 12K > drwx------ 3 root root 4.0K Aug 3 23:00 . > drwx------ 3 root root 4.0K Aug 3 23:00 .. > drwx------ 3 root root 4.0K Aug 3 23:00 native-lisp > > Yes the file exists, but I cannot access it as a non-root ( should have checked before ). I can remove the > folder and re-install and the permission is the same as above. So this sounds like some problem with how "make install" sets permissions on directories on your system: it ends up disallowing your user access to those files. Or maybe you should follow "make install" by a suitable chmod command, to make those files accessible? I don't know enough about sudo to help you more, but maybe someone else here does? The main question to answer, from my POV, is whether this is something we could address in our "make install", or something only you can fix on your system. Thanks.