From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#71775: 31.0.50; Symbol's function definition is void: file-name-sans-extension Date: Wed, 26 Jun 2024 05:03:12 -0400 Message-ID: References: <8734p1862r.fsf@md5i.com> <86frt19i29.fsf@gnu.org> <874j9gdbug.fsf@md5i.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15345"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 71775-done@debbugs.gnu.org, Eli Zaretskii To: Michael Welsh Duggan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 26 11:04:11 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 1sMOZW-0003md-Qa for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Jun 2024 11:04:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMOZN-0005An-V9; Wed, 26 Jun 2024 05:04:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMOZM-0005A4-6Q for bug-gnu-emacs@gnu.org; Wed, 26 Jun 2024 05:04:00 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMOZL-0005JK-UT for bug-gnu-emacs@gnu.org; Wed, 26 Jun 2024 05:03:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sMOZN-0007F1-Tl for bug-gnu-emacs@gnu.org; Wed, 26 Jun 2024 05:04:01 -0400 Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Jun 2024 09:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71775 X-GNU-PR-Package: emacs Mail-Followup-To: 71775@debbugs.gnu.org, acorallo@gnu.org, md5i@md5i.com Original-Received: via spool by 71775-done@debbugs.gnu.org id=D71775.171939260627788 (code D ref 71775); Wed, 26 Jun 2024 09:04:01 +0000 Original-Received: (at 71775-done) by debbugs.gnu.org; 26 Jun 2024 09:03:26 +0000 Original-Received: from localhost ([127.0.0.1]:38470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMOYn-0007E8-UN for submit@debbugs.gnu.org; Wed, 26 Jun 2024 05:03:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMOYj-0007Ds-Pl for 71775-done@debbugs.gnu.org; Wed, 26 Jun 2024 05:03:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMOYb-0005HM-TK; Wed, 26 Jun 2024 05:03:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=L8oMG2u4I9/ve7uvMfblcNo4WUYN+/4fajZjYK/uLQ0=; b=EIeLAQHrkjwFzEuKntYG IWXqR3251B2Z6kqpMbTTNMnHwW9VEbCL5/Lv5VKR9Z4i6ZM/KoMlI6nRFpP6CrsjT+G1qWu3Zxeii JMpv3dk3lNzSoX1uNLnF7EJJrjzC+WFfYxZCWwl+iY/Y28eaMwbttIEy9m2qPesdr4nUPBZP2K3Bh 210/lrnuamFSXIcpKU+McALdsQIFLzOVwjo0M5LmGL2HrPkl/SlaD25UffFrDBwkrrITrHsCM+k3F K0KFIvT+ts3BbOdhnx14BUzMW1SFksfou1Qk8ptQqP6/ba/fxtCYzW36GAkKJdpHNdFQuSIF1CIJn buXnhwVePziTSA==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1sMOYa-0000uD-Qz; Wed, 26 Jun 2024 05:03:12 -0400 In-Reply-To: <874j9gdbug.fsf@md5i.com> (Michael Welsh Duggan's message of "Tue, 25 Jun 2024 16:08:39 -0400") 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:287923 Archived-At: Michael Welsh Duggan writes: > 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.) No problem, I think PROBLEMS is more for Emacs releases (?) while building from source on master is known sometime to require a tree clean-up. Closing meanwhile. Thanks Andrea