all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs master on builds with full bootstrap on Windows
@ 2017-03-03 15:40 Andy Moreton
  2017-03-03 15:54 ` Phillip Lord
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Moreton @ 2017-03-03 15:40 UTC (permalink / raw)
  To: emacs-devel

HI,

Emacs master fails to build for the last day or so for 64bit mingw64 on
Windows. A full bootstrap succeeds, but any subsequent builds fail with:

Dumping from C:/emacs/git/emacs/master/obj-mingw64-x86_64/src/temacs.exe
          to C:/emacs/git/emacs/master/obj-mingw64-x86_64/src/emacs.exe
mv -f emacs.exe bootstrap-emacs.exe
make -C ../lisp compile-first EMACS="../src/bootstrap-emacs.exe"
make[2]: Entering directory '/c/emacs/git/emacs/master/obj-mingw64-x86_64/lisp'
  GEN      ../../lisp/mh-e/mh-loaddefs.el
Symbol's function definition is void: w32-convert-standard-filename
make[2]: *** [Makefile:394: ../../lisp/mh-e/mh-loaddefs.el] Error 127
make[2]: Leaving directory '/c/emacs/git/emacs/master/obj-mingw64-x86_64/lisp'
make[1]: *** [Makefile:755: bootstrap-emacs.exe] Error 2
make[1]: Leaving directory '/c/emacs/git/emacs/master/obj-mingw64-x86_64/src'
make: *** [Makefile:414: src] Error 2

git rev-parse master
aaf86f30f709b22e9bae8cdb23ec89342dcaa55f

Running a non-parallel build does not help - only a full bootstrap
succeeds.

    AndyM




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs master on builds with full bootstrap on Windows
  2017-03-03 15:40 Emacs master on builds with full bootstrap on Windows Andy Moreton
@ 2017-03-03 15:54 ` Phillip Lord
  2017-03-03 16:50   ` Andy Moreton
  0 siblings, 1 reply; 4+ messages in thread
From: Phillip Lord @ 2017-03-03 15:54 UTC (permalink / raw)
  To: Andy Moreton; +Cc: emacs-devel


Try

make bootstrap-clean
make generate-ldefs-boot

Probably my changes.

Phil




On Fri, March 3, 2017 3:40 pm, Andy Moreton wrote:
> HI,
>
>
> Emacs master fails to build for the last day or so for 64bit mingw64 on
> Windows. A full bootstrap succeeds, but any subsequent builds fail with:
>
>
> Dumping from C:/emacs/git/emacs/master/obj-mingw64-x86_64/src/temacs.exe
> to C:/emacs/git/emacs/master/obj-mingw64-x86_64/src/emacs.exe mv -f
> emacs.exe bootstrap-emacs.exe make -C ../lisp compile-first
> EMACS="../src/bootstrap-emacs.exe"
> make[2]: Entering directory
> '/c/emacs/git/emacs/master/obj-mingw64-x86_64/lisp'
> GEN      ../../lisp/mh-e/mh-loaddefs.el
> Symbol's function definition is void: w32-convert-standard-filename
> make[2]: *** [Makefile:394: ../../lisp/mh-e/mh-loaddefs.el] Error 127
> make[2]: Leaving directory
> '/c/emacs/git/emacs/master/obj-mingw64-x86_64/lisp'
> make[1]: *** [Makefile:755: bootstrap-emacs.exe] Error 2
> make[1]: Leaving directory
> '/c/emacs/git/emacs/master/obj-mingw64-x86_64/src'
> make: *** [Makefile:414: src] Error 2
>
>
> git rev-parse master aaf86f30f709b22e9bae8cdb23ec89342dcaa55f
>
> Running a non-parallel build does not help - only a full bootstrap
> succeeds.
>
> AndyM
>
>
>
>





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs master on builds with full bootstrap on Windows
  2017-03-03 15:54 ` Phillip Lord
@ 2017-03-03 16:50   ` Andy Moreton
  2017-03-04 23:12     ` Andy Moreton
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Moreton @ 2017-03-03 16:50 UTC (permalink / raw)
  To: emacs-devel

On Fri 03 Mar 2017, Phillip Lord wrote:

> Try
>
> make bootstrap-clean
> make generate-ldefs-boot
>
> Probably my changes.
>
> Phil

This needs "configure" after "make bootstrap-clean", as I do builds
in a subdirectory. "make -j4 generate-ldefs-boot" then fails:

make[2]: Leaving directory '/c/emacs/git/emacs/master/obj-mingw64-x86_64/lisp'
echo Cleaning to enable generate-ldefs-boot
Cleaning to enable generate-ldefs-boot
mv ../../lisp/loaddefs.el ../../lisp/ldefs-boot-auto.el
make -C ../../lisp compile-first-delete
make[2]: Entering directory '/c/emacs/git/emacs/master/lisp'
make[2]: *** No rule to make target 'compile-first-delete'.  Stop.
make[2]: Leaving directory '/c/emacs/git/emacs/master/lisp'
make[1]: *** [Makefile:776: generate-ldefs-boot] Error 2
make[1]: Leaving directory '/c/emacs/git/emacs/master/obj-mingw64-x86_64/src'
make: *** [Makefile:1191: generate-ldefs-boot] Error 2
mkemacs-mingw64: failed (rc=2): 'make -j4 generate-ldefs-boot'

Repeating this as "make -j1 generate-ldefs-boot" also fails.

    AndyM




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs master on builds with full bootstrap on Windows
  2017-03-03 16:50   ` Andy Moreton
@ 2017-03-04 23:12     ` Andy Moreton
  0 siblings, 0 replies; 4+ messages in thread
From: Andy Moreton @ 2017-03-04 23:12 UTC (permalink / raw)
  To: emacs-devel

On Fri 03 Mar 2017, Andy Moreton wrote:

> On Fri 03 Mar 2017, Phillip Lord wrote:
>
>> Try
>>
>> make bootstrap-clean
>> make generate-ldefs-boot
>>
>> Probably my changes.
>>
>> Phil

The generate-ldefs-boot target needs a minor fix for building outside
the source tree:

diff --git a/src/Makefile.in b/src/Makefile.in
index 730f79801c..1ee31ed51c 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -773,7 +773,7 @@ bootstrap-emacs$(EXEEXT):
 generate-ldefs-boot: $(lispsource)/loaddefs.el
        echo Cleaning to enable generate-ldefs-boot
        mv $(lispsource)/loaddefs.el $(lispsource)/ldefs-boot-auto.el
-   $(MAKE) -C $(lispsource) compile-first-delete
+ $(MAKE) -C ../lisp compile-first-delete
        -for f in $(filter-out $(shortlisp-keep), $(shortlisp)); do test -e $(lispsource)/$$f && rm -v $(lispsource)/$$f; done
        - rm bootstrap-emacs$(EXEEXT)
        - rm emacs$(EXEEXT)

After running "git clean -Xdf" I was able to get a working build, so the
problems I have observed may be transient.

    AndyM




^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-04 23:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-03 15:40 Emacs master on builds with full bootstrap on Windows Andy Moreton
2017-03-03 15:54 ` Phillip Lord
2017-03-03 16:50   ` Andy Moreton
2017-03-04 23:12     ` Andy Moreton

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.