From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tak Ota Newsgroups: gmane.emacs.bugs Subject: bug#62792: Emacs 29.0.90 build fails Date: Wed, 12 Apr 2023 11:45:58 -0700 Message-ID: References: <83bkjt6rpk.fsf@gnu.org> <8335556oqc.fsf@gnu.org> <83ttxl571n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005af8e405f92805aa" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19121"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62792@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 12 20:47:17 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pmfUz-0004mt-5d for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Apr 2023 20:47:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmfUm-0007gO-Cq; Wed, 12 Apr 2023 14:47:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmfUk-0007gG-Vi for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 14:47:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pmfUk-00025R-Kj for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 14:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmfUk-00052w-Gk for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 14:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tak Ota Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Apr 2023 18:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62792 X-GNU-PR-Package: emacs Original-Received: via spool by 62792-submit@debbugs.gnu.org id=B62792.168132517519339 (code B ref 62792); Wed, 12 Apr 2023 18:47:02 +0000 Original-Received: (at 62792) by debbugs.gnu.org; 12 Apr 2023 18:46:15 +0000 Original-Received: from localhost ([127.0.0.1]:41794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmfTz-00051r-82 for submit@debbugs.gnu.org; Wed, 12 Apr 2023 14:46:15 -0400 Original-Received: from mail-oi1-f178.google.com ([209.85.167.178]:39607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmfTx-00051e-7M for 62792@debbugs.gnu.org; Wed, 12 Apr 2023 14:46:13 -0400 Original-Received: by mail-oi1-f178.google.com with SMTP id bx42so24829433oib.6 for <62792@debbugs.gnu.org>; Wed, 12 Apr 2023 11:46:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681325167; x=1683917167; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=owHq3L+2xnmOsnKhWs0n1P2d9DO2vzLJ6jOEKYAcqdo=; b=iZLrxo+Wss7gnfGkJLY4jpTf3rts06ySIxd4MUm6En84iyY40BKSTXSvPjhMhCMneR 86LwQBCePfltSBqAJsmoFack6ezQ3vsyd0VWcQU1XuWW06J85GadhqirwwpXmEBAdfHF o4fbQsqB7npB2hy9yb8M5g4XX+ZbzO2D2tiQKrHjrGOOR959SWPyInUB6vbfN4RS5mn1 eqYJ20gWJ/A0uIX+i0JK5VEOKsfwF/SAJia6nJR0YksO9bT2jpRpdCvvR91xY2uLYdWj 5Lu8hGKRbw3zszz/P/tctx3YFEguSh6YL5ALr+sqJJQ4hni4gWGXAQgRiA+JZQe4ZxyH Jj3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681325167; x=1683917167; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=owHq3L+2xnmOsnKhWs0n1P2d9DO2vzLJ6jOEKYAcqdo=; b=Rdi6kmNCHMHN/tBcbXn2zpyW9AHLpJGF4rrIQENJ2kulIc5S/AWn0sz/B9BzuBzWsY Tkv9oIjvRPqGK3nFx6si+7dfUDBTGvosh64npk8PDXFKjIBkLc+6SM7tgsP+O+4T5hlj 7V94NgI+i6c6lgLFVYKXpQ7UtvihOXqUm3Z1DhB6Y3hu8nvNJjrNqPYdfRtolQkuwDNc ShDIyhM85izv8KqxRLht/EfmsfxQZOJW7p7NIEf8K855mOj8u50SsAIl5EY1z638EJPy 1YyO+jylfqfzE8HmQqKEoOXMRc0EzYlNrm+bkVpNwKH0QdLN4/WeowzPp2SlNDCqxfzd 3Dmw== X-Gm-Message-State: AAQBX9cUIjphgYiXRfVWoSVoEVp/BAWktkLz4AGCX5vQKln1qQlZZFUp PCl1rMN53K5nCGOyS7lxxJg6MzZwn4VxA+Jx8vo= X-Google-Smtp-Source: AKy350b/X4Yyl96erhYvA1jxmCqQOSuizMg8e6sL4wR5y/nB575OIqfQjSAK/KrbAQ6fwFr9mzlTRumvZrYRKIXAaOQ= X-Received: by 2002:a05:6808:315:b0:38b:d67c:ba2a with SMTP id i21-20020a056808031500b0038bd67cba2amr2217841oie.0.1681325167407; Wed, 12 Apr 2023 11:46:07 -0700 (PDT) In-Reply-To: <83ttxl571n.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259800 Archived-At: --0000000000005af8e405f92805aa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable #define __MINGW32_VERSION 3022004L #define __MINGW32_MAJOR_VERSION 3 #define __MINGW32_MINOR_VERSION 22 #define __MINGW32_PATCHLEVEL 4 On Wed, Apr 12, 2023 at 10:44=E2=80=AFAM Eli Zaretskii wrote= : > > Cc: 62792@debbugs.gnu.org > > Date: Wed, 12 Apr 2023 19:37:31 +0300 > > From: Eli Zaretskii > > > > > w32.c:551:3: error: conflicting types for 'CONSOLE_FONT_INFO' > > > } CONSOLE_FONT_INFO; > > > ^ > > > In file included from c:\mingw\include\windows.h:43:0, > > > from c:\mingw\include\winsock2.h:22, > > > from > c:/d/pub/emacs/emacs-29.0.90/nt/inc/sys/socket.h:57, > > > from thread.h:25, > > > from lisp.h:2268, > > > from w32.c:98: > > > c:\mingw\include\wincon.h:86:3: note: previous declaration of > 'CONSOLE_FONT_INFO' was here > > > } CONSOLE_FONT_INFO, *PCONSOLE_FONT_INFO; > > > ^ > > > > Please show the definition of CONSOLE_FONT_INFO in your wincon.h, it > > should begin a few lines before line 86 of wincon.h. > > And in addition, please show the values of > > __MINGW32_VERSION > __MINGW32_MAJOR_VERSION > __MINGW32_MINOR_VERSION > __MINGW32_PATCHLEVEL > > They should all be defined in c:\mingw\include\_mingw.h > > I think you are using a very old version of MinGW, where this > declaration was not protected by a suitable #if condition. > --0000000000005af8e405f92805aa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
#define __MINGW32_VERSION =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 3022004L
#define __MINGW32_MAJOR_VERSION =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 3
#define __MINGW32_MINOR_VERSION =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A022
#define __MINGW32_PATCHLEVEL =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A04

On Wed, Apr 12, 2023 at 10:44=E2=80=AFAM Eli Zaretskii &= lt;eliz@gnu.org> wrote:
> Cc: 62792@debbugs.gnu.org
> Date: Wed, 12 Apr 2023 19:37:31 +0300
> From: Eli Zaretskii <eliz@gnu.org>
>
> > w32.c:551:3: error: conflicting types for 'CONSOLE_FONT_INFO&= #39;
> >=C2=A0 } CONSOLE_FONT_INFO;
> >=C2=A0 =C2=A0 ^
> > In file included from c:\mingw\include\windows.h:43:0,
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fro= m c:\mingw\include\winsock2.h:22,
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fro= m c:/d/pub/emacs/emacs-29.0.90/nt/inc/sys/socket.h:57,
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fro= m thread.h:25,
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fro= m lisp.h:2268,
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fro= m w32.c:98:
> > c:\mingw\include\wincon.h:86:3: note: previous declaration of = 9;CONSOLE_FONT_INFO' was here
> >=C2=A0 } CONSOLE_FONT_INFO, *PCONSOLE_FONT_INFO;
> >=C2=A0 =C2=A0 ^
>
> Please show the definition of CONSOLE_FONT_INFO in your wincon.h, it > should begin a few lines before line 86 of wincon.h.

And in addition, please show the values of

=C2=A0 __MINGW32_VERSION
=C2=A0 __MINGW32_MAJOR_VERSION
=C2=A0 __MINGW32_MINOR_VERSION
=C2=A0 __MINGW32_PATCHLEVEL

They should all be defined in c:\mingw\include\_mingw.h

I think you are using a very old version of MinGW, where this
declaration was not protected by a suitable #if condition.
--0000000000005af8e405f92805aa--