From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: Build failure on master, wrong pdmp file loaded Date: Tue, 23 Mar 2021 12:40:41 +0100 Message-ID: References: <838s6e86m9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1770"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.91 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 23 12:42:25 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lOfQW-0000Mn-NZ for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Mar 2021 12:42:24 +0100 Original-Received: from localhost ([::1]:40190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOfQV-0001KA-Oq for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Mar 2021 07:42:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOfP2-0000RI-88 for emacs-devel@gnu.org; Tue, 23 Mar 2021 07:40:55 -0400 Original-Received: from smtp.gentoo.org ([140.211.166.183]:54430) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOfOz-0004Mn-39; Tue, 23 Mar 2021 07:40:51 -0400 In-Reply-To: <838s6e86m9.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 23 Mar 2021 13:14:06 +0200") Received-SPF: pass client-ip=140.211.166.183; envelope-from=ulm@gentoo.org; helo=smtp.gentoo.org X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:266866 Archived-At: >>>>> 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.