unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Welsh Duggan <mwd@md5i.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 71775@debbugs.gnu.org
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	[thread overview]
Message-ID: <874j9gdbug.fsf@md5i.com> (raw)
In-Reply-To: <86frt19i29.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 25 Jun 2024 18:07:58 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Michael Welsh Duggan <md5i@md5i.com>
>> 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)





  reply	other threads:[~2024-06-25 20:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-25 14:12 bug#71775: 31.0.50; Symbol's function definition is void: file-name-sans-extension Michael Welsh Duggan
2024-06-25 15:07 ` Eli Zaretskii
2024-06-25 20:08   ` Michael Welsh Duggan [this message]
2024-06-26  9:03     ` Andrea Corallo
2024-06-26 13:11       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874j9gdbug.fsf@md5i.com \
    --to=mwd@md5i.com \
    --cc=71775@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).