Paul Eggert <[email protected]> write,
>
> On 2026-10-11 11:11, Yue Yi wrote:
> > D:/emacs-ucrt/nt/inc/ms-w32.h:221:9: warning: 'localtime' redefined
> > 221 | #define localtime sys_localtime
> > | ^~~~~~~~~
>
> This problem should be fixed by the Emacs patch I suggested (but have not yet
> installed) here:
>
> https://lists.gnu.org/r/bug-gnulib/2026-10/msg00037.html
>
> Please give it a try if you have the time.
make[2]: Leaving directory '/d/emacs-ucrt'
make actual-all
make[2]: Entering directory '/d/emacs-ucrt'
make -C lib all
make[3]: Entering directory '/d/emacs-ucrt/lib'
GEN alloca.h
GEN byteswap.h
GEN endian.h
GEN errno.h
GEN execinfo.h
GEN getopt.h
GEN getopt-cdefs.h
GEN malloc/dynarray.gl.h
GEN malloc/dynarray-skeleton.gl.h
GEN ieee754.h
GEN limits.h
GEN stdbit.h
GEN stddef.h
GEN stdint.h
GEN string.h
GEN sys/random.h
GEN time.h
CC fingerprint.o
CC memmem.o
CC mktime.o
mktime.c:70:11: fatal error: tzsanitize.h: No such file or directory
70 | # include "tzsanitize.h"
| ^~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:102: mktime.o] Error 1
make[3]: Leaving directory '/d/emacs-ucrt/lib'
make[2]: *** [Makefile:532: lib] Error 2
make[2]: Leaving directory '/d/emacs-ucrt'
make[1]: *** [Makefile:1349: actual-bootstrap] Error 2
make[1]: Leaving directory '/d/emacs-ucrt'
make[1]: Entering directory '/d/emacs-ucrt'
***
*** "make bootstrap" failed with exit status 2.
***
*** You could try to:
*** - run "make extraclean" and run "make" again (or, equivalently, run
*** "make bootstrap configure=default"), to rebuild Emacs with the
*** default configuration options, which might fix the problem
*** - run "git clean -fdx" and run "make bootstrap" again, which might
*** fix the problem if "make bootstrap configure=default" did not
*** !BEWARE! "git clean -fdx" deletes all files that are not under
*** !BEWARE! version control, which means that all changes to such
*** !BEWARE! files will be lost and cannot be restored later
*** - run "make V=1", which displays the full commands invoked by make,
*** to further investigate the problem
*** - report the problem and ask for help by sending an email to
*** [email protected], mentioning at least the build error
*** message, the platform, and the repository revision displayed by
*** "git rev-parse HEAD"
***
make[1]: *** [Makefile:413: advice-on-failure] Error 2
make[1]: Leaving directory '/d/emacs-ucrt'
make: *** [Makefile:1332: bootstrap] Error 2