emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pdumper bootstrap error


From: Eli Zaretskii
Subject: Re: pdumper bootstrap error
Date: Tue, 22 Jan 2019 18:49:45 +0200

> Date: Tue, 22 Jan 2019 05:31:32 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> 
> > If I comment out this:
> > 
> > $(srcdir)/macuvs.h $(lispsource)/international/charprop.el: \
> >   bootstrap-emacs$(EXEEXT) $(bootstrap_pdmp) FORCE
> >     $(MAKE) -C ../admin/unidata all EMACS="../$(bootstrap_exe)"
> > 
> > the errors go away.
> 
> You mean, the problem with the wrong fingerprint also goes away?  If
> so, perhaps the missing part of your build is because Make throws away
> the dependency I've shown, and we need to rework the dependencies not
> to cause this.

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.

diff --git a/src/Makefile.in b/src/Makefile.in
index e0b7e3d..8adbf75 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -526,7 +526,7 @@ LIBES = $(LIBS) $(W32_LIBS) $(LIBS_GNUSTEP) $(LIBX_BASE) 
$(LIBIMAGE) \
 ## 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 | 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]