Subject: bug#28493: 26.0.50; Build failure with latest MSYS2

From: Eli Zaretskii <[email-masked]>
Date: Mon, 18 Sep 2017 21:14:03 +0300

> From: Richard Copley <[email-masked]>
> Date: Mon, 18 Sep 2017 15:12:14 +0100
> 
> After a recent MSYS2 upgrade, Emacs fails to build.
> The error is
> 
> ./temacs --batch  --load loadup bootstrap
> make[1]: *** [Makefile:738: bootstrap-emacs.exe] Error 127
> 
> Running the temacs in question from a native command prompt
> gives a message box to the effect "ScriptFreeCache not found
> in GDI32.dll".
> 
> The doc for ScriptFreeCache
> <https://msdn.microsoft.com/en-us/library/windows/desktop/dd319121(v=vs.85).aspx>
> has this note:
> 
> [Important] Starting with Windows 8: To maintain the ability to run on
> Windows 7, a module that uses Uniscribe must specify Usp10.lib before
> gdi32.lib in its library list.

But you are on Windows 7, not 8, right?

In what import library do you have ScriptFreeCache? in libgdi32.a or
in libusp10.a?  I see it in the latter?

> I don't understand why the MSYS2 update is relevant to this.

What does "MSYS2 update" mean, in practical terms?  Which files get
updated?  Does that include import libraries in lib/?