From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.bugs Subject: bug#71775: 31.0.50; Symbol's function definition is void: file-name-sans-extension Date: Tue, 25 Jun 2024 16:08:39 -0400 Message-ID: <874j9gdbug.fsf@md5i.com> References: <8734p1862r.fsf@md5i.com> <86frt19i29.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29517"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 71775@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 25 22:25:36 2024 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 1sMCjQ-0007Sd-Bn for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Jun 2024 22:25:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMCey-0002MK-Ek; Tue, 25 Jun 2024 16:21:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMCdl-0002Fa-N1 for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2024 16:19:54 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMCcd-0004kZ-Kd for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2024 16:19:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sMCUM-0005Ng-1M for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2024 16:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Welsh Duggan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Jun 2024 20:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71775 X-GNU-PR-Package: emacs Original-Received: via spool by 71775-submit@debbugs.gnu.org id=B71775.171934618320654 (code B ref 71775); Tue, 25 Jun 2024 20:10:02 +0000 Original-Received: (at 71775) by debbugs.gnu.org; 25 Jun 2024 20:09:43 +0000 Original-Received: from localhost ([127.0.0.1]:37674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMCTu-0005Mu-0l for submit@debbugs.gnu.org; Tue, 25 Jun 2024 16:09:43 -0400 Original-Received: from md5i.com ([75.151.244.229]:45922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMCTS-0005Ls-M5 for 71775@debbugs.gnu.org; Tue, 25 Jun 2024 16:09:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=neuxt0Be+RO04/JFYNbUsO0N22BWC6z7mtuf4O1HtKI=; b=bLmWLjyOuDcijTMwn4Tfx4hpJN QQYbUaMWG2c6/OnZR6LjOH50FnXmKQHL2qQiwF4VrhYNsxlK924SWot56p3tB+62WDuT4kd9Dze7l PsSj6aJtt73IT51sPF1UDzkwl; Original-Received: from rt-ax86u_pro-0c20.router.md5i.com ([192.168.177.1]:48158 helo=miko) by md5i.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97-RC2) (envelope-from ) id 1sMCT1-0000000A7Hh-1PsB; Tue, 25 Jun 2024 16:08:39 -0400 In-Reply-To: <86frt19i29.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 25 Jun 2024 18:07:58 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287901 Archived-At: Eli Zaretskii writes: >> From: Michael Welsh Duggan >> Date: Tue, 25 Jun 2024 10:12:12 -0400 >> >> >> After building and installing from master, from an empty build >> directory, without the -j to make, I cannot run emacs from the installed >> binary. >> >> $ emacs -Q >> Loading loadup.el (source)... >> Dump mode: nil >> Using load-path (/usr/local/share/emacs/31.0.50/site-lisp >> /usr/local/share/emacs/site-lisp /usr/local/share/emacs/31.0.50/lisp >> /usr/local/share/emacs/31.0.50/lisp/emacs-lisp >> /usr/local/share/emacs/31.0.50/lisp/progmodes >> /usr/local/share/emacs/31.0.50/lisp/language >> /usr/local/share/emacs/31.0.50/lisp/international >> /usr/local/share/emacs/31.0.50/lisp/textmodes >> /usr/local/share/emacs/31.0.50/lisp/vc) >> Loading emacs-lisp/debug-early... >> Symbol's function definition is void: file-name-sans-extension >> >> This problem does not happen if I run emacs from its build directory. > > This seems to indicate that Emacs can't find its pdumper file. Is it > where it's supposed to be? Are any of the installation directories > symlinks, perhaps? It appears to be in the right location. For me the file is /usr/local/libexec/emacs/31.0.50/x86_64-pc-linux-gnu/emacs-7613461fe6ed74f6f87f777c9c08b4ef65bda3f590e4a424624ddfd514cb2f81.pdmp, which is consistent with prior installations of emacs. None of the directories are symlinks. > Also, are you sure you cleaned up the source tree before building? > Suggest to try "git clean -fdx" or a fresh clone. It looks like this did the trick. I am embarrassed that I did not try this. I'm so used to out-of-tree builds not changing (much) in the source directory. Sorry for the report, and you can close this bug. (Though it might be worth putting something like this in PROBLEMS.) -- Michael Welsh Duggan (md5i@md5i.com)