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 17:04:08 +0300 Message-ID: <83h7g4j8dj.fsf@gnu.org> References: <83r1f9l8xu.fsf@gnu.org> <83pmusjsfg.fsf@gnu.org> <83o8acjrky.fsf@gnu.org> <83mtpwjpa7.fsf@gnu.org> <83im0kj9ry.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1901"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49864@debbugs.gnu.org To: wkirschbaum@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 05 16:05:20 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 1mBdzs-0000EE-1h for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Aug 2021 16:05:20 +0200 Original-Received: from localhost ([::1]:38116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBdzq-0004xV-Pi for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Aug 2021 10:05:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBdza-0004tR-V1 for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 10:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36414) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBdza-00054n-Mz for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 10:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBdza-0006vu-Hu for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 10:05: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 14:05: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.162817226826594 (code B ref 49864); Thu, 05 Aug 2021 14:05:02 +0000 Original-Received: (at 49864) by debbugs.gnu.org; 5 Aug 2021 14:04:28 +0000 Original-Received: from localhost ([127.0.0.1]:47956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBdz2-0006us-93 for submit@debbugs.gnu.org; Thu, 05 Aug 2021 10:04:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBdz1-0006ud-CU for 49864@debbugs.gnu.org; Thu, 05 Aug 2021 10:04:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38456) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBdyw-0004ad-6h; Thu, 05 Aug 2021 10:04:22 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2341 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 1mBdyu-0005cp-9r; Thu, 05 Aug 2021 10:04:22 -0400 In-Reply-To: <83im0kj9ry.fsf@gnu.org> (message from Eli Zaretskii on Thu, 05 Aug 2021 16:33:53 +0300) 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:211234 Archived-At: > Date: Thu, 05 Aug 2021 16:33:53 +0300 > From: Eli Zaretskii > Cc: 49864@debbugs.gnu.org > > 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 To clarify: please print the value of errno as above _after_ stepping over the call to faccessat, i.e. when GDB shows this: 162 if (faccessat (AT_FDCWD, file, amode, AT_EACCESS) == 0) (gdb) next 175 return false;