GNU bug report logs - #49268
28.0.50; emacs could not load dump file not built for this Emacs executable

Previous Next

Package: emacs;

Reported by: Bryan O'Brien <bryan.m.obrien <at> gmail.com>

Date: Tue, 29 Jun 2021 07:47:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49268 in the body.
You can then email your comments to 49268 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#49268; Package emacs. (Tue, 29 Jun 2021 07:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bryan O'Brien <bryan.m.obrien <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 29 Jun 2021 07:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bryan O'Brien <bryan.m.obrien <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; emacs could not load dump file not built for this Emacs 
 executable
Date: Tue, 29 Jun 2021 02:46:01 -0500

Using commit 433e157899063741c4e047616e3b52ecc8ae6476 (HEAD -> master,
origin/master, origin/HEAD)
./configure && make && make install - no errors reported.

running src/emacs -Q

emacs loads just fine.

running nextstep/Emacs.app/Contents/MacOS/Emacs -Q

emacs does not load and produces the following error:

desired fingerprint: 56d8f368a08928bd1f5e7df7a5d6d67438381e5a1e8aeb6033a57030904fe25a
found fingerprint: aec0b26babafe3b789eadbb686a48334d21b3386f99b2c9c634bc14d6be5e306
emacs: could not load dump file "/Users/bobrien/src/emacs/nextstep/Emacs.app/Contents/MacOS/Emacs.pdmp": not built for this Emacs executable



In GNU Emacs 28.0.50 (build 4, x86_64-apple-darwin21.0.0, NS appkit-2081.12 Version 12.0 (Build 21A5268h))
of 2021-06-29 built on Cuchulainns-MacBook-Pro.local
Repository revision: 433e157899063741c4e047616e3b52ecc8ae6476
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2081
System Description:  macOS 12.0

Configured using:
'configure --with-xwidgets CFLAGS=-I/usr/local/opt/libgccjit/include
LDFLAGS=-L/usr/local/opt/libgccjitgcc/11'

Configured features:
ACL GLIB GNUTLS JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG
RSVG THREADS TOOLKIT_SCROLL_BARS XIM XWIDGETS ZLIB

Important settings:
  value of $LC_ALL: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail
rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json map text-property-search time-date
subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads xwidget-internal kqueue cocoa
ns lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 49935 8144)
(symbols 48 6526 1)
(strings 32 17709 1976)
(string-bytes 1 585049)
(vectors 16 12520)
(vector-slots 8 168773 9734)
(floats 8 21 37)
(intervals 56 194 0)
(buffers 992 10))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49268; Package emacs. (Tue, 29 Jun 2021 11:49:01 GMT) Full text and rfc822 format available.

Message #8 received at 49268 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Bryan O'Brien <bryan.m.obrien <at> gmail.com>
Cc: 49268 <at> debbugs.gnu.org
Subject: Re: bug#49268: 28.0.50;
 emacs could not load dump file not built for this Emacs  executable
Date: Tue, 29 Jun 2021 14:48:48 +0300
> From: Bryan O'Brien <bryan.m.obrien <at> gmail.com>
> Date: Tue, 29 Jun 2021 02:46:01 -0500
> 
> Using commit 433e157899063741c4e047616e3b52ecc8ae6476 (HEAD -> master,
> origin/master, origin/HEAD)
> ./configure && make && make install - no errors reported.
> 
> running src/emacs -Q
> 
> emacs loads just fine.
> 
> running nextstep/Emacs.app/Contents/MacOS/Emacs -Q
> 
> emacs does not load and produces the following error:
> 
> desired fingerprint: 56d8f368a08928bd1f5e7df7a5d6d67438381e5a1e8aeb6033a57030904fe25a
> found fingerprint: aec0b26babafe3b789eadbb686a48334d21b3386f99b2c9c634bc14d6be5e306
> emacs: could not load dump file "/Users/bobrien/src/emacs/nextstep/Emacs.app/Contents/MacOS/Emacs.pdmp": not built for this Emacs executable

What is the truth: is that the right .pdmp file, or isn't it?  If the
latter, where is the right file?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49268; Package emacs. (Tue, 29 Jun 2021 12:10:01 GMT) Full text and rfc822 format available.

Message #11 received at 49268 <at> debbugs.gnu.org (full text, mbox):

From: Jim Myhrberg <contact <at> jimeh.me>
To: 49268 <at> debbugs.gnu.org
Subject: Re: bug#49268: 28.0.50; emacs could not load dump file not
 built for this Emacs executable
Date: Tue, 29 Jun 2021 13:09:41 +0100
[Message part 1 (text/plain, inline)]
As of 26th of June, Emacs.pdmp is now located in "Contents/MacOS/libexec/Emacs.pdmp" within the application bundle, instead of the old "Contents/MacOS/Emacs.pdmp" location which your error is about.

I'd say try manually trash the old Emacs.pdmp file and see what happens? Otherwise try "make clean" and rebuild Emacs again.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49268; Package emacs. (Tue, 29 Jun 2021 13:39:02 GMT) Full text and rfc822 format available.

Message #14 received at 49268 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Bryan O'Brien <bryan.m.obrien <at> gmail.com>
Cc: 49268 <at> debbugs.gnu.org
Subject: Re: bug#49268: 28.0.50; emacs could not load dump file not built for
 this Emacs  executable
Date: Tue, 29 Jun 2021 16:38:48 +0300
[Please keep the bug address on the CC list.]

> From: Bryan O'Brien <bryan.m.obrien <at> gmail.com>
> Date: Tue, 29 Jun 2021 07:43:07 -0500
> 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> I’m not completely certain.
> 
> > find . -name '*.pdmp' -exec ls -ls {} \;
> pdmp
> /Users/bobrien/src/emacs/src/emacs.pdmp
> /Users/bobrien/src/emacs/src/emacs-28.0.50.3.pdmp
> /Users/bobrien/src/emacs/src/emacs-28.0.50.2.pdmp
> /Users/bobrien/src/emacs/src/emacs-28.0.50.4.pdmp
> /Users/bobrien/src/emacs/src/bootstrap-emacs.pdmp
> /Users/bobrien/src/emacs/src/emacs-28.0.50.1.pdmp

Look at their time stamps, and compare with that of the Emacs
executable.

Also, I don't understand why you see the .1, .2, .3, etc. suffixes
there: they aren't supposed to be in the installed directories.

> I assume src/emacs.pdmp is loaded when I execute 
> 	./src/emacs -Q (same directory).
> 
> Is it also safe to assume that when I execute 
> 	./nextstep/Emacs.app/Contents/MacOS/Emacs -Q 
> That Emacs is loading the Emacs.pdmp file in the same directory?

Yes, if Emacs finds a .pdmp file right next to its executable, it
tries to use it.

> I believe, during the make install, somehow the Emacs.pdmp gets copied into the libexec directory, but an invalid Emacs.pdmp stays in the parent directory of libexec.

Yes, and that invalid (old) file should be removed by hand.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49268; Package emacs. (Tue, 29 Jun 2021 21:10:01 GMT) Full text and rfc822 format available.

Message #17 received at 49268 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Jim Myhrberg <contact <at> jimeh.me>
Cc: 49268 <at> debbugs.gnu.org
Subject: Re: bug#49268: 28.0.50; emacs could not load dump file not built for
 this Emacs executable
Date: Tue, 29 Jun 2021 22:09:25 +0100
On Tue, Jun 29, 2021 at 01:09:41PM +0100, Jim Myhrberg wrote:
> As of 26th of June, Emacs.pdmp is now located in
> "Contents/MacOS/libexec/Emacs.pdmp" within the application bundle,
> instead of the old "Contents/MacOS/Emacs.pdmp" location which your
> error is about.
> 
> I'd say try manually trash the old Emacs.pdmp file and see what
> happens? Otherwise try "make clean" and rebuild Emacs again.

IIRC "make bootstrap" should also build a completely new Emacs.app
which should solve the problem.
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49268; Package emacs. (Sat, 16 Jul 2022 12:24:02 GMT) Full text and rfc822 format available.

Message #20 received at 49268 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Bryan O'Brien <bryan.m.obrien <at> gmail.com>
Cc: 49268 <at> debbugs.gnu.org
Subject: Re: bug#49268: 28.0.50; emacs could not load dump file not built
 for this Emacs  executable
Date: Sat, 16 Jul 2022 14:22:59 +0200
Bryan O'Brien <bryan.m.obrien <at> gmail.com> writes:

> Using commit 433e157899063741c4e047616e3b52ecc8ae6476 (HEAD -> master,
> origin/master, origin/HEAD)
> ./configure && make && make install - no errors reported.
>
> running src/emacs -Q
>
> emacs loads just fine.
>
> running nextstep/Emacs.app/Contents/MacOS/Emacs -Q
>
> emacs does not load and produces the following error:

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Are you still seeing this issue with recent Emacs versions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 16 Jul 2022 12:24:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49268; Package emacs. (Sat, 16 Jul 2022 16:03:01 GMT) Full text and rfc822 format available.

Message #25 received at 49268 <at> debbugs.gnu.org (full text, mbox):

From: Bryan O'Brien <bryan.m.obrien <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 49268 <at> debbugs.gnu.org
Subject: Re: bug#49268: 28.0.50;
 emacs could not load dump file not built for this Emacs  executable
Date: Sat, 16 Jul 2022 11:02:37 -0500
No

> On Jul 16, 2022, at 07:23, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> 
> Bryan O'Brien <bryan.m.obrien <at> gmail.com> writes:
> 
>> Using commit 433e157899063741c4e047616e3b52ecc8ae6476 (HEAD -> master,
>> origin/master, origin/HEAD)
>> ./configure && make && make install - no errors reported.
>> 
>> running src/emacs -Q
>> 
>> emacs loads just fine.
>> 
>> running nextstep/Emacs.app/Contents/MacOS/Emacs -Q
>> 
>> emacs does not load and produces the following error:
> 
> (I'm going through old bug reports that unfortunately weren't resolved
> at the time.)
> 
> Are you still seeing this issue with recent Emacs versions?
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49268; Package emacs. (Sat, 16 Jul 2022 16:12:01 GMT) Full text and rfc822 format available.

Message #28 received at 49268 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Bryan O'Brien <bryan.m.obrien <at> gmail.com>
Cc: 49268 <at> debbugs.gnu.org
Subject: Re: bug#49268: 28.0.50; emacs could not load dump file not built
 for this Emacs  executable
Date: Sat, 16 Jul 2022 18:11:00 +0200
Bryan O'Brien <bryan.m.obrien <at> gmail.com> writes:

> No

OK; I'm closing this bug report, then.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 49268 <at> debbugs.gnu.org and Bryan O'Brien <bryan.m.obrien <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 16 Jul 2022 16:12:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 14 Aug 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.