From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: pdumper bootstrap error Date: Wed, 23 Jan 2019 18:24:36 +0200 Message-ID: <83h8dz8hq3.fsf@gnu.org> References: <20190119222558.GA17535@breton.holly.idiocy.org> <20190120105743.GA18274@breton.holly.idiocy.org> <20190121165359.GA50758@breton.holly.idiocy.org> <83imyi9bfm.fsf@gnu.org> <20190121194306.GA61684@breton.holly.idiocy.org> <83a7jtagz1.fsf@gnu.org> <20190121212058.GA66743@breton.holly.idiocy.org> <837eex9xm3.fsf@gnu.org> <831s54ab86.fsf@gnu.org> <20190122232011.GA20654@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="25050"; mail-complaints-to="usenet@blaine.gmane.org" Cc: eggert@cs.ucla.edu, dancol@dancol.org, emacs-devel@gnu.org To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 23 17:26:55 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmLKl-0003fj-PO for ged-emacs-devel@m.gmane.org; Wed, 23 Jan 2019 17:24:59 +0100 Original-Received: from localhost ([127.0.0.1]:37763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmLKk-0000vx-E9 for ged-emacs-devel@m.gmane.org; Wed, 23 Jan 2019 11:24:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmLKY-0000tw-Iq for emacs-devel@gnu.org; Wed, 23 Jan 2019 11:24:48 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmLKX-0004tq-W9; Wed, 23 Jan 2019 11:24:46 -0500 Original-Received: from [176.228.60.248] (port=4229 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gmLKX-0004Hb-JA; Wed, 23 Jan 2019 11:24:45 -0500 In-reply-to: <20190122232011.GA20654@breton.holly.idiocy.org> (message from Alan Third on Tue, 22 Jan 2019 23:20:11 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:232643 Archived-At: > Date: Tue, 22 Jan 2019 23:20:11 +0000 > From: Alan Third > Cc: eggert@cs.ucla.edu, dancol@dancol.org, emacs-devel@gnu.org > > On Tue, Jan 22, 2019 at 06:49:45PM +0200, Eli Zaretskii wrote: > > Could you please try the patch below? It reverts your "cp -f" > > addition, and instead attempts to avoid the circular dependency that I > > think is the root cause of all this. > > Unfortunately I’m still seeing this: > > make[3]: Circular bootstrap-emacs <- temacs dependency dropped. Arguably, a bug in GNU Make. > and bootstrap-emacs isn’t being updated (although I’ve not managed to > provoke the fingerprint error yet). > > -rwxr-xr-x 1 alan staff 7049484 22 Jan 17:11 src/bootstrap-emacs > -rwxr-xr-x 1 alan staff 7058044 22 Jan 23:14 src/temacs Sigh. Time for more desperate measures, I guess. Please try the patch below (it's against the current master, so revert the previous change before applying). diff --git a/src/Makefile.in b/src/Makefile.in index e0b7e3d..4855290 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -521,12 +521,12 @@ LIBES = $(LIBS) $(W32_LIBS) $(LIBS_GNUSTEP) $(LIBX_BASE) $(LIBIMAGE) \ $(NOTIFY_LIBS) $(LIB_MATH) $(LIBZ) $(LIBMODULES) $(LIBSYSTEMD_LIBS) \ $(JSON_LIBS) $(GMP_LIB) -## FORCE it so that admin/unidata can decide whether these files -## are up-to-date. Although since charprop depends on bootstrap-emacs, -## and emacs (which recreates bootstrap-emacs) depends on charprop, -## in practice this rule was always run anyway. -$(srcdir)/macuvs.h $(lispsource)/international/charprop.el: \ - bootstrap-emacs$(EXEEXT) $(bootstrap_pdmp) FORCE +## FORCE it so that admin/unidata can decide whether this file is +## up-to-date. Although since charprop depends on bootstrap-emacs, +## and emacs depends on charprop, in practice this rule was always run +## anyway. +$(lispsource)/international/charprop.el: \ + FORCE | bootstrap-emacs$(EXEEXT) $(bootstrap_pdmp) $(MAKE) -C ../admin/unidata all EMACS="../$(bootstrap_exe)" ## We require charprop.el to exist before ucs-normalize.el is @@ -565,7 +565,6 @@ ifeq ($(DUMPING),unexec) cp -f $@ bootstrap-emacs$(EXEEXT) else rm -f $@ && cp -f temacs$(EXEEXT) $@ - cp -f $@ bootstrap-emacs$(EXEEXT) endif ifeq ($(DUMPING),pdumper)