unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49268: 28.0.50; emacs could not load dump file not built for this Emacs  executable
@ 2021-06-29  7:46 Bryan O'Brien
  2021-06-29 11:48 ` Eli Zaretskii
  2022-07-16 12:22 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 8+ messages in thread
From: Bryan O'Brien @ 2021-06-29  7:46 UTC (permalink / raw)
  To: 49268



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))





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#49268: 28.0.50; emacs could not load dump file not built for this Emacs  executable
  2021-06-29  7:46 bug#49268: 28.0.50; emacs could not load dump file not built for this Emacs executable Bryan O'Brien
@ 2021-06-29 11:48 ` Eli Zaretskii
       [not found]   ` <C87C37AB-AA02-47E3-97BC-B61730372931@gmail.com>
  2022-07-16 12:22 ` Lars Ingebrigtsen
  1 sibling, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2021-06-29 11:48 UTC (permalink / raw)
  To: Bryan O'Brien; +Cc: 49268

> From: Bryan O'Brien <bryan.m.obrien@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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#49268: 28.0.50; emacs could not load dump file not built for this Emacs executable
       [not found] <17ab9444-9137-4ecd-bb2e-77700734675b@Spark>
@ 2021-06-29 12:09 ` Jim Myhrberg
  2021-06-29 21:09   ` Alan Third
  0 siblings, 1 reply; 8+ messages in thread
From: Jim Myhrberg @ 2021-06-29 12:09 UTC (permalink / raw)
  To: 49268

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 508 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#49268: 28.0.50; emacs could not load dump file not built for this Emacs  executable
       [not found]   ` <C87C37AB-AA02-47E3-97BC-B61730372931@gmail.com>
@ 2021-06-29 13:38     ` Eli Zaretskii
  0 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2021-06-29 13:38 UTC (permalink / raw)
  To: Bryan O'Brien; +Cc: 49268

[Please keep the bug address on the CC list.]

> From: Bryan O'Brien <bryan.m.obrien@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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#49268: 28.0.50; emacs could not load dump file not built for this Emacs executable
  2021-06-29 12:09 ` Jim Myhrberg
@ 2021-06-29 21:09   ` Alan Third
  0 siblings, 0 replies; 8+ messages in thread
From: Alan Third @ 2021-06-29 21:09 UTC (permalink / raw)
  To: Jim Myhrberg; +Cc: 49268

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





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#49268: 28.0.50; emacs could not load dump file not built for this Emacs  executable
  2021-06-29  7:46 bug#49268: 28.0.50; emacs could not load dump file not built for this Emacs executable Bryan O'Brien
  2021-06-29 11:48 ` Eli Zaretskii
@ 2022-07-16 12:22 ` Lars Ingebrigtsen
  2022-07-16 16:02   ` Bryan O'Brien
  1 sibling, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2022-07-16 12:22 UTC (permalink / raw)
  To: Bryan O'Brien; +Cc: 49268

Bryan O'Brien <bryan.m.obrien@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





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#49268: 28.0.50; emacs could not load dump file not built for this Emacs  executable
  2022-07-16 12:22 ` Lars Ingebrigtsen
@ 2022-07-16 16:02   ` Bryan O'Brien
  2022-07-16 16:11     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Bryan O'Brien @ 2022-07-16 16:02 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 49268

No

> On Jul 16, 2022, at 07:23, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> 
> Bryan O'Brien <bryan.m.obrien@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





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#49268: 28.0.50; emacs could not load dump file not built for this Emacs  executable
  2022-07-16 16:02   ` Bryan O'Brien
@ 2022-07-16 16:11     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Ingebrigtsen @ 2022-07-16 16:11 UTC (permalink / raw)
  To: Bryan O'Brien; +Cc: 49268

Bryan O'Brien <bryan.m.obrien@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





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-07-16 16:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-29  7:46 bug#49268: 28.0.50; emacs could not load dump file not built for this Emacs executable Bryan O'Brien
2021-06-29 11:48 ` Eli Zaretskii
     [not found]   ` <C87C37AB-AA02-47E3-97BC-B61730372931@gmail.com>
2021-06-29 13:38     ` Eli Zaretskii
2022-07-16 12:22 ` Lars Ingebrigtsen
2022-07-16 16:02   ` Bryan O'Brien
2022-07-16 16:11     ` Lars Ingebrigtsen
     [not found] <17ab9444-9137-4ecd-bb2e-77700734675b@Spark>
2021-06-29 12:09 ` Jim Myhrberg
2021-06-29 21:09   ` Alan Third

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).