[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Build failure on master, wrong pdmp file loaded
From: |
Ulrich Mueller |
Subject: |
Re: Build failure on master, wrong pdmp file loaded |
Date: |
Tue, 23 Mar 2021 12:40:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1.91 (gnu/linux) |
>>>>> 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.