all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Build failure on master, wrong pdmp file loaded
Date: Tue, 23 Mar 2021 12:40:41 +0100	[thread overview]
Message-ID: <uft0m6qti@gentoo.org> (raw)
In-Reply-To: <838s6e86m9.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 23 Mar 2021 13:14:06 +0200")

>>>>> On Tue, 23 Mar 2021, Eli Zaretskii wrote:

>> Today I am getting a build failure on master, bootstrap-emacs tries
>> to load its portable dump file from the installed location in
>> /usr/libexec/emacs/ which of course has the wrong checksum:
>> 
>> make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
>> make[2]: Entering directory '/tmp/portage/app-editors/emacs-28.0.9999/work/emacs/lisp'
>> EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)'  -f batch-byte-compile emacs-lisp/macroexp.el
>> desired fingerprint: d930cd08e3e5ab5bf87a844184483b9c4b361e3275403e685b30e8ce786a8545
>> found fingerprint: 634291831fdc4e7d29f86299e9f42fcebd422d615dc8061265dbf5b6a633fad2
>> emacs: could not load dump file "/usr/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/emacs.pdmp": not built for this Emacs executable

> Why do you have that directory in /usr/libexec/, if you don't install
> Emacs 28?

I do. A previous snapshot of the master branch is installed there.

I've investigated a bit further, the real problem is that dumping of
src/bootstrap-emacs.pdmp fails:

   cp -f temacs bootstrap-emacs
   rm -f bootstrap-emacs.pdmp
   ./temacs --batch  -l loadup --temacs=pbootstrap
   Loading loadup.el (source)...
   Dump mode: pbootstrap
   [...]
   Loading /tmp/portage/app-editors/emacs-28.0.9999/work/emacs/lisp/faces.el (source)...
   Eager macro-expansion failure: (void-variable read-file-name-completion-ignore-case)
   [... previous line repeated 17 times ...]

Nevertheless, temacs exits with a status of 0, and also the Makefile
seems to ignore that no src/bootstrap-emacs.pdmp was created.



  reply	other threads:[~2021-03-23 11:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-23 11:03 Build failure on master, wrong pdmp file loaded Ulrich Mueller
2021-03-23 11:14 ` Eli Zaretskii
2021-03-23 11:40   ` Ulrich Mueller [this message]
2021-03-23 12:38 ` Pankaj Jangid

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

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

  git send-email \
    --in-reply-to=uft0m6qti@gentoo.org \
    --to=ulm@gentoo.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.