From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#28493: 26.0.50; Build failure with latest MSYS2 Date: Mon, 18 Sep 2017 21:06:31 +0100 Message-ID: References: <8360cfj2ms.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1505765296 24004 195.159.176.226 (18 Sep 2017 20:08:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Sep 2017 20:08:16 +0000 (UTC) Cc: 28493@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 18 22:08:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1du2Ku-0005yj-Fa for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Sep 2017 22:08:08 +0200 Original-Received: from localhost ([::1]:38709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1du2L1-0003l9-P9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Sep 2017 16:08:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1du2Kt-0003j9-6g for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 16:08:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1du2Ko-0005Va-Bl for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 16:08:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38190) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1du2Ko-0005VL-5F for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 16:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1du2Kn-0001kn-Sh for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2017 16:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Sep 2017 20:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28493 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28493-submit@debbugs.gnu.org id=B28493.15057652286680 (code B ref 28493); Mon, 18 Sep 2017 20:08:01 +0000 Original-Received: (at 28493) by debbugs.gnu.org; 18 Sep 2017 20:07:08 +0000 Original-Received: from localhost ([127.0.0.1]:46871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1du2Jw-0001jf-HT for submit@debbugs.gnu.org; Mon, 18 Sep 2017 16:07:08 -0400 Original-Received: from mail-ua0-f179.google.com ([209.85.217.179]:43070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1du2Ju-0001jJ-Ve for 28493@debbugs.gnu.org; Mon, 18 Sep 2017 16:07:07 -0400 Original-Received: by mail-ua0-f179.google.com with SMTP id g47so1011029uad.0 for <28493@debbugs.gnu.org>; Mon, 18 Sep 2017 13:07:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BW7I2jcwM/ZkH64BC1d/69PaFLfveDWRcmozXGYttVg=; b=R1MQKH09L5WQsQAxMEVjEfE7eBDYvjYPxjKt74b8zPKRVnXYh7WXxI7p02a6GDME67 +LTw8oS63hnveCj97UAy4MuYf9B/FDW+ntgc6Kz42BHPp13nvHw9OGQiiiRQUMhyqvcH bNvzpLVxZ+DyhO1HnVRS4IuYUCuV9fAyyJCSLIlo+DxbxWZRu3shOVMNYOLppLVwsm3P CwaZHB4ZmBZKSfsTvgtZA8dc7LXUj9tzUswbXYkq3Z4LU/ghxjnbOfBUF0bB80NTGPbu zkge17ueo+bki+MWAwyht8tdrABDWf5RJg2NnFijC0SCCfvG1ezoEfIn7F0jeD3PmJEe hX+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BW7I2jcwM/ZkH64BC1d/69PaFLfveDWRcmozXGYttVg=; b=f2VRAlSn163xmSyolsX6jFFd7oCpSowtR2kW/4iB8UwcCQB25DOMkGzDhzZLxiFbMa /U1BfSB9OmkDQpF0MiG/D4+Dr7JxE1+QxUjcpAuWZ7PVcc/8OESJkSoDIpQIy9qf/y/K xrm8Xdx4xa+3fCo9Ss6DwFmEx6+lHzjB/RQzOZZjoHDc1Q3Jg2zj2gISMnCpZXn/ALhS 3iRvNrg6saEU3q5+qIC8HfCgrQzDDYpgGWxhh20QnL0aFdJZZWc0EGCRMPKNyybKMzVn nmUg/nuiC/Lv1kSGC9ujOaMN+T91X1zoqRfjcFf+4YMO+h1LAhSC0uwddVxIbMVLcQRS 8GWQ== X-Gm-Message-State: AHPjjUgwECtDyVAW4y4dNLT/eY7yyX6HcLGvZqFvvJrTz3Y2Kt7PmNhM Csh5HkymAUvSpNRjbGkKlAbTNG8JherK4YVZ/YVUHQ== X-Google-Smtp-Source: AOwi7QA2eYKq2X65TE9svHgvPv9jUMPxRzCvIfAXAlDNS++bMIIyFpWW1rVlMAjeVYykc3SLcFL1FxoH0DgvL53J/SI= X-Received: by 10.176.17.88 with SMTP id g24mr31074323uac.26.1505765221444; Mon, 18 Sep 2017 13:07:01 -0700 (PDT) Original-Received: by 10.159.41.102 with HTTP; Mon, 18 Sep 2017 13:06:31 -0700 (PDT) In-Reply-To: <8360cfj2ms.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137081 Archived-At: On 18 September 2017 at 19:14, Eli Zaretskii wrote: >> From: Richard Copley >> 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 >> >> 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? Right. I took it to mean "Starting with [the] Windows 8 [SDK]", but your guess is as good as mine. Probably best to ignore it. I mentioned it to tell you where I got the idea of shuffling the linker arguments. Maybe it isn't relevant at all. Could be an unrelated and independent change in MinGW-W64, or some other factor I've ignored. > In what import library do you have ScriptFreeCache? in libgdi32.a or > in libusp10.a? I see it in the latter? Both? $ nm libgdi32.a [...] dqeobs00686.o: 0000000000000000 b .bss 0000000000000000 d .data 0000000000000000 i .idata$4 0000000000000000 i .idata$5 0000000000000000 i .idata$6 0000000000000000 i .idata$7 0000000000000000 t .text 0000000000000000 I __imp_ScriptFreeCache U _head_lib64_libgdi32_a 0000000000000000 T ScriptFreeCache [...] $ nm libusp10.a [...] dmovds00006.o: 0000000000000000 b .bss 0000000000000000 d .data 0000000000000000 i .idata$4 0000000000000000 i .idata$5 0000000000000000 i .idata$6 0000000000000000 i .idata$7 0000000000000000 t .text 0000000000000000 I __imp_ScriptFreeCache U _head_lib64_libusp10_a 0000000000000000 T ScriptFreeCache [...] >> 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/? Yes, the import libraries are new. (I just looked at the last-modified time of the files. If you need details please ask.)