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 16:33:53 +0300 Message-ID: <83im0kj9ry.fsf@gnu.org> References: <83r1f9l8xu.fsf@gnu.org> <83pmusjsfg.fsf@gnu.org> <83o8acjrky.fsf@gnu.org> <83mtpwjpa7.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10596"; 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 15:35:15 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 1mBdWl-0002Y3-Fg for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Aug 2021 15:35:15 +0200 Original-Received: from localhost ([::1]:47348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBdWk-0005St-Ei for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Aug 2021 09:35:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBdWY-0005SV-9v for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 09:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34659) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBdWY-0000yQ-2K for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 09:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBdWX-0005mk-P5 for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 09:35:01 -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 13:35:01 +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.162817045822182 (code B ref 49864); Thu, 05 Aug 2021 13:35:01 +0000 Original-Received: (at 49864) by debbugs.gnu.org; 5 Aug 2021 13:34:18 +0000 Original-Received: from localhost ([127.0.0.1]:46205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBdVq-0005li-0h for submit@debbugs.gnu.org; Thu, 05 Aug 2021 09:34:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBdVo-0005lU-9I for 49864@debbugs.gnu.org; Thu, 05 Aug 2021 09:34:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37338) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBdVj-0000Qz-04; Thu, 05 Aug 2021 09:34:11 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4465 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 1mBdVh-0000nk-0C; Thu, 05 Aug 2021 09:34:10 -0400 In-Reply-To: (message from Wilhelm Kirschbaum on Thu, 5 Aug 2021 14:44:00 +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:211232 Archived-At: > From: Wilhelm Kirschbaum > Date: Thu, 5 Aug 2021 14:44:00 +0200 > Cc: 49864@debbugs.gnu.org > > 5321 if (file_access_p (fndata, F_OK)) > (gdb) p fndata > $5 = > (gdb) next Here, instead of "next", please say "step" to step into file_access_p. Then you should see something like this: (gdb) step file_access_p (file=0x67e768c "/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", amode=0) at fileio.c:162 162 if (faccessat (AT_FDCWD, file, amode, AT_EACCESS) == 0) That shows the file name it is trying to access in the list of arguments of the function. As far as I understand from the other information you posted, that file does exist on your system, is that right? Because you said the file below does exist: /usr/local/lib/emacs/28.0.50/native-lisp/28.0.50-864bf4e5/preloaded/window-0d1b8b93-dcb2375f.eln But for some reason, the faccessat call fails. We need to understand why. > (gdb) p errno > 'errno' has unknown type; cast it to its declared type To work around the problem with errno's type, try this: (gdb) p (int)errno The value of errno will hopefully tell us what's wrong. I'm guessing it's some problem with accessing those files, perhaps related to the value of umask you reported. Thanks.