GNU bug report logs - #75926
31.0.50; Cygw32 build break

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Kazuhiro Ito <kzhr@HIDDEN>; Keywords: patch; dated Wed, 29 Jan 2025 15:15:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) patch. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 75926 <at> debbugs.gnu.org:


Received: (at 75926) by debbugs.gnu.org; 24 Feb 2025 22:07:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 17:07:53 2025
Received: from localhost ([127.0.0.1]:43208 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmgcC-0006Pa-Rp
	for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 17:07:53 -0500
Received: from mail-dm6nam10on2070d.outbound.protection.outlook.com
 ([2a01:111:f403:2413::70d]:3040
 helo=NAM10-DM6-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <kbrown@HIDDEN>)
 id 1tmgc9-0006PH-S5
 for 75926 <at> debbugs.gnu.org; Mon, 24 Feb 2025 17:07:51 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=idIRIMBjlabFNjzLIJ4BL1+tRJUTaVHg+TpajOHQOlHIMlZYgFKFRwZFxFG1m/swotMI79+Ik670VnzSC+8TK4QRPjusRlel9y8qYPmnuxnnPzNk+UrgmLuJELNylxYxXJ8bSD4BPd7p8p+eBdk5Y/hHpPpVoZGqjW+lVAQ0eCtMeKW8EQpCocj1FM+l/oKLwEV5n6Mf7TWczMgSjxeGQGQRgLG4sLbFv46CUiX6GMmg+4UpClALcL+SEg0DmyZAXnTwG3o6HmxgvA1SnyirI3Jj8whbiua/xFKPolhJvOOegf3Yk1vvXI4xVkLrRCtw9WdAYrbshP5LjnuuTVCaig==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=9+x/9p0YdA4wEDczSMI4PBpmGkYj09tHPjpQ9fP7QgQ=;
 b=IO3QldKUS4Jy9iAvgrXg9JjN/iGMQjtYQ4P5uI77h6Urcd0IhwbzNSKXMQ8ofz0w6E87PgCSm+NbDBfofiEFwyqwo1l/yCmE4x+QJKFCLoE059DEKpoRBO0S9oNB0HDFS/IOuSGpZHeM6RP4FnV5k3JthkBJIk0MBZa+YR/T2THIlFXfTd3C13F/0BlVSuLQ3nU73BsiZIVtPfSIrUCZbUYrfZ8j1mP9GpNbDN4xHbhBj2sZlc8CxwE+76BYA5D6YW/ErhjutE2qof8KZ+ezSfzetp6ZyMcFE79un9vMLdI5Y95VK/jWTEEZv5g4P1Aj3lSD2Lb7v8Zf64pZfl0HiA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
 dkim=pass header.d=cornell.edu; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu;
 s=selector2;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=9+x/9p0YdA4wEDczSMI4PBpmGkYj09tHPjpQ9fP7QgQ=;
 b=JvBT2H8idKyoKXiXLUJ6DyPuVv27PqcCZxL6syvwHFs606F4QBCDKvnBosPiBs/Ag4dRYMFW5T1FzFEols5BvoWQmi7nNiZeLIrTkqZjmt9hPGRt3y92SzjgIURNrllrvp/h/yUIeRSFJwm4qMPlh/p0Ff3Ku+uioI29o8AuL4M=
Authentication-Results: dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=cornell.edu;
Received: from SN6PR04MB5151.namprd04.prod.outlook.com (2603:10b6:805:90::25)
 by BY5PR04MB6392.namprd04.prod.outlook.com (2603:10b6:a03:1ed::18)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8466.20; Mon, 24 Feb
 2025 22:07:36 +0000
Received: from SN6PR04MB5151.namprd04.prod.outlook.com
 ([fe80::5ff0:555f:8712:42dd]) by SN6PR04MB5151.namprd04.prod.outlook.com
 ([fe80::5ff0:555f:8712:42dd%5]) with mapi id 15.20.8466.016; Mon, 24 Feb 2025
 22:07:36 +0000
Message-ID: <f91e8f97-e4eb-4c69-a3ed-8bafc55aaaeb@HIDDEN>
Date: Mon, 24 Feb 2025 17:07:34 -0500
User-Agent: Mozilla Thunderbird
Subject: Re: bug#75926: 31.0.50; Cygw32 build break
To: Eli Zaretskii <eliz@HIDDEN>, Kazuhiro Ito <kzhr@HIDDEN>
References: <85sep1odog.wl--xmue@HIDDEN> <86cyg5mx05.fsf@HIDDEN>
 <85plk4obhe.wl--xmue@HIDDEN> <867c6clgxa.fsf@HIDDEN>
 <c9b624fe-c76a-4736-b677-48d6b4b96af1@HIDDEN> <86zfineceg.fsf@HIDDEN>
 <857c5gf5qu.wl--xmue@HIDDEN> <86ecznzfk2.fsf@HIDDEN>
Content-Language: en-US
From: Ken Brown <kbrown@HIDDEN>
In-Reply-To: <86ecznzfk2.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-ClientProxiedBy: BN9PR03CA0888.namprd03.prod.outlook.com
 (2603:10b6:408:13c::23) To SN6PR04MB5151.namprd04.prod.outlook.com
 (2603:10b6:805:90::25)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: SN6PR04MB5151:EE_|BY5PR04MB6392:EE_
X-MS-Office365-Filtering-Correlation-Id: ee082597-5816-4a76-4f2b-08dd551fa540
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014;
X-Microsoft-Antispam-Message-Info: =?utf-8?B?cngvZElrOHc4T3hNbm4veURnTjJ0a1krZ3VtbFJjOHBmS2ZxNllURGY0Q29j?=
 =?utf-8?B?U1NtcjNRYStiT2ZmWlprZ09uUFNyZWdjNVN0SXdKNnUxdGFoK1MvMjlqVEhE?=
 =?utf-8?B?alZ1WGF3cUxCclltbTRjaUs2TEF1bU8yVnlDWGFTcnNxdksrUHkyUVFEeUtK?=
 =?utf-8?B?enJRb05UdmoyZXczNlYwUWczbVM4aGVWZmp0SXV1R3Y3QXlPYUFZbHJnK2N2?=
 =?utf-8?B?a3dZYnc4RzF4U1ZDUnE4dVR2RTF6Zkpwa21NZElaY2x3RWs3NDF1WERabG9h?=
 =?utf-8?B?QmhPeWp0eTErMlBvMVRBSXpDYml3MERWZFlWdWV1NHpCb0tNUUJCYUZ3U1lp?=
 =?utf-8?B?SmNia29nOFE5bmJFNGR5OEFDYkJzN1BQdDhPZmNVNTE1UW5rR1N2eUJuaCtM?=
 =?utf-8?B?S1NHdklvNEVUZ2JBNGF5UEp0SzFpVkJmYTVaVWZXY3hqOWQ3endJdmxIbmsy?=
 =?utf-8?B?MWJxUVF1dk9OUndwb1ArSzdTZHNvNmZ6aU56OCt4SW5za0RBQTlNSWVSMTBI?=
 =?utf-8?B?RG9jUHF0VVo1aFZvYW9jY01ENFJHeTd0UDB1YUJFT2hKbHhyNU91cWI0bm1x?=
 =?utf-8?B?d04yTGVNaWVpTGlSeXVTUDMyYjQ1Zmc3THZLMisvQ09OZWZyTmo2czI5dHJO?=
 =?utf-8?B?dEhiZ3lVRDNYN2duYVFVc3hHVWIyNVZVVithL0Z5WnZtNGVTT2FTOHdNVWVr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3dHNGlNaWVtNUZkcmtuZzRyamJ3bHpNR0NLVC90SGpKaTZYdDNu?=
 =?utf-8?B?YzdRNWFabk1VVEtZdVkxTVE2UE1mNjFiT21nTEZEb0ppK3Jhb0FEQVIvY3Bn?=
 =?utf-8?B?aEJGV3pZbXdWYklGWU02SEs4VGJYS0tyVG11S0RuTUZCbWdVZEhYVVFPRnJo?=
 =?utf-8?B?Tkc0TG9HaGFFTkdBdUhiU1hGWVJJL2hoQUZnaWpoOXJIbWhxMUtJcmhQcmtm?=
 =?utf-8?B?WkJ0aXJOSnU3akNuMGgyMU9HbkJwL0hzYXJTQk5jZ01DZm55U3JuRjUzU3Fx?=
 =?utf-8?Q?uWQowMmCy2Szs?=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:SN6PR04MB5151.namprd04.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230040)(366016)(1800799024)(376014); DIR:OUT; SFP:1102; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Qk43TFhHYmE3cEhtT2JWV29pSlZBMlMxN3UzUXpLM3VBbDJCcG5IbzVVdVJs?=
 =?utf-8?B?aEV2VGhSZ0tXYWpwekVUNzU5dlZycFRHcldlSXNxR3hWSHZ4N2loYSt1REJw?=
 =?utf-8?B?L05WNmpGaTN0dGl0VTAySmJ0cU84VlJyZ2pneHBrcC9TUmt3OGQ4Q043ZFRw?=
 =?utf-8?B?TGFLVkEzTWM5YWNqNExFZE8zRDJWNzRJekhEbHJSeGQ1VjZkdXMyenp5Lytm?=
 =?utf-8?B?MHp2eXA4MkpRaFZBTmxoYTRaZlUrdVFFMUtuKzZyWUxsYlJnZHExellJVGJa?=
 =?utf-8?B?TmhKeEZyeExEUnorYkdUQVc5ZCtIclN5UzNjZTBLMzhTbFpTSXFkZDVyWWxK?=
 =?utf-8?B?UC9Edm1yZ2w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=?utf-8?Q?Dh/HmYsDTX/1lRhbQbeeEFDSW?=
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: ee082597-5816-4a76-4f2b-08dd551fa540
X-MS-Exchange-CrossTenant-AuthSource: SN6PR04MB5151.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2025 22:07:36.2424 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: v5rsRbYLm4FM9V8dnkeQJdfhQELHf5T9o1h/xz0jGnyR4c5kdgdQM5vyZnFHKKPT3Xjk4i+iwV7zh2uEZ+Siig==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR04MB6392
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 75926
Cc: 75926 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 2/24/2025 7:35 AM, Eli Zaretskii wrote:
>> Date: Mon, 24 Feb 2025 11:15:05 +0900
>> From: Kazuhiro Ito <kzhr@HIDDEN>
>> Cc: Ken Brown <kbrown@HIDDEN>,
>> 	75926 <at> debbugs.gnu.org
>>
>>>>> We should probably split w32-win.el into two parts, one loaded by both
>>>>> the native Windows and Cygw32 builds, the other only by the former.
>>>>> But I don't know enough about the Cygw32 build and it needs, and don't
>>>>> have Cygwin installed to build it in the first place, so I'm not the
>>>>> best person for doing that job.  Maybe Ken (CC'ed) has comments or
>>>>> suggestions on this.
>>>>
>>>> That sounds like a reasonable approach, but I don't have time to dig
>>>> into it right now.  I don't actually know the innards of the Cygw32
>>>> build very well.  I never use that build myself, and I only build it
>>>> when someone asks me to test something.  Kazuhiro, are you interested in
>>>> giving Eli's suggestion a try?  I have a feeling that you're more
>>>> familiar with that part of the code than I am.
>>>
>>> Ping!  Kazuhiro, do you intend on giving this a try?|
>>
>> Sorry for the late response.  I didn't have enough time and actually I
>> don't know Emacs internals well in any area.  I simply build Emacs for
>> testing elisp packages I maintain.  But I tried on it.
>> Please review.
> 
> Thanks.  Ken, any comments?

LGTM, though I haven't checked every detail.  It obviously needs lots of 
testing.  I only have some small comments about the commit message:

> Subject: [PATCH] Avoid defining unneeded variables on Cygw32.

No period at the end of the summary line.

> lisp/term/w32-win.el contained definitions of variables which were
> not used on Cygw32.  It is now to split into two files, common
> part and Windows native build specific part. The latter is new
> file, lisp/term/w32-win.el.

                   w32-nt.el

> * src/image.c (Qlibpng_version, Qlibgif_version)
> (Qlibjpeg_version): Don't define on Cygw32 build.
> 
> * src/treesit.c (Qtree_sitter__library_abi): Ditto.
> 
> * lisp/term/w32-win.el (dynamic-library-alist, libpng-version)
> (libgif-version, libjpeg-version, libgnutls-version)
> (tree-sitter--library-abi, gui-backend-set-selection)
> (gui-backend-get-selection, gui-backend-selection-owner-p)
> (gui-selection-exists-p): Moved to lisp/term/w32-nt.el.
> 
> * lisp/term/w32-nt.el: New file, separated Windows native build
> specific part from lisp/term/w32-win.el.
> 
> * lisp/loadup.el: Load term/w32-nt.el on Windows native build.

The bug number should be mentioned somewhere.

Kazuhiro, thanks very much for doing this!

Ken




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75926; Package emacs. Full text available.

Message received at 75926 <at> debbugs.gnu.org:


Received: (at 75926) by debbugs.gnu.org; 24 Feb 2025 12:35:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 07:35:20 2025
Received: from localhost ([127.0.0.1]:38811 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmXg8-0003Ud-Bs
	for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 07:35:20 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:46462)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tmXg6-0003PN-5n
 for 75926 <at> debbugs.gnu.org; Mon, 24 Feb 2025 07:35:18 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tmXfz-00082G-Qc; Mon, 24 Feb 2025 07:35:11 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=GdhxbkHcWZAny1r6IJw+uAMtsYXM7O2GcS+1O4Oa03g=; b=j1foIfrYPCax
 zbOJZ+4VJtAGtEKhnFqSCFNx0xIhvDGuyMmYWUqW04+rPFCsaVHsDt5aYN7pD1Ovx7Zb+uvx+eVvB
 t9LvewVxL95LXaTTZVQGJEA8gnlVXL9TkRdCiLmNtnrYqEpk36l6acW6dyPbZraia2dw2UO9K6d2H
 Bh11viqVV1WnoKitrILrl2EwEqSpy9FIrUx90vXt09lR/EHByGO/T6EiAGMzrlzbl4e+c2bESJlZw
 XmVPUgrPCFv4CAn4AHRvdjSGpEdXuHx7h7ENolOIYmfdRNr7eWpA7ZBYZp5EET/dlsjDVpq4c+99W
 VpXCmlFb10mwUN2AfZ0aPQ==;
Date: Mon, 24 Feb 2025 14:35:09 +0200
Message-Id: <86ecznzfk2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Kazuhiro Ito <kzhr@HIDDEN>
In-Reply-To: <857c5gf5qu.wl--xmue@HIDDEN> (message from Kazuhiro Ito on
 Mon, 24 Feb 2025 11:15:05 +0900)
Subject: Re: bug#75926: 31.0.50; Cygw32 build break
References: <85sep1odog.wl--xmue@HIDDEN> <86cyg5mx05.fsf@HIDDEN>
 <85plk4obhe.wl--xmue@HIDDEN> <867c6clgxa.fsf@HIDDEN>
 <c9b624fe-c76a-4736-b677-48d6b4b96af1@HIDDEN>
 <86zfineceg.fsf@HIDDEN> <857c5gf5qu.wl--xmue@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75926
Cc: 75926 <at> debbugs.gnu.org, kbrown@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 24 Feb 2025 11:15:05 +0900
> From: Kazuhiro Ito <kzhr@HIDDEN>
> Cc: Ken Brown <kbrown@HIDDEN>,
> 	75926 <at> debbugs.gnu.org
> 
> > > > We should probably split w32-win.el into two parts, one loaded by both
> > > > the native Windows and Cygw32 builds, the other only by the former.
> > > > But I don't know enough about the Cygw32 build and it needs, and don't
> > > > have Cygwin installed to build it in the first place, so I'm not the
> > > > best person for doing that job.  Maybe Ken (CC'ed) has comments or
> > > > suggestions on this.
> > >
> > > That sounds like a reasonable approach, but I don't have time to dig 
> > > into it right now.  I don't actually know the innards of the Cygw32 
> > > build very well.  I never use that build myself, and I only build it 
> > > when someone asks me to test something.  Kazuhiro, are you interested in 
> > > giving Eli's suggestion a try?  I have a feeling that you're more 
> > > familiar with that part of the code than I am.
> >
> > Ping!  Kazuhiro, do you intend on giving this a try?|
> 
> Sorry for the late response.  I didn't have enough time and actually I
> don't know Emacs internals well in any area.  I simply build Emacs for
> testing elisp packages I maintain.  But I tried on it.
> Please review.

Thanks.  Ken, any comments?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75926; Package emacs. Full text available.

Message received at 75926 <at> debbugs.gnu.org:


Received: (at 75926) by debbugs.gnu.org; 24 Feb 2025 02:15:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 23 21:15:16 2025
Received: from localhost ([127.0.0.1]:37650 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmO03-0007qj-RP
	for submit <at> debbugs.gnu.org; Sun, 23 Feb 2025 21:15:16 -0500
Received: from mta-snd-e06.auone-net.jp ([111.86.247.6]:28320)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <kzhr@HIDDEN>)
 id 1tmNzx-0007nr-Qg
 for 75926 <at> debbugs.gnu.org; Sun, 23 Feb 2025 21:15:14 -0500
Received: from kzhr.d1.dion.ne.jp by mta-snd-e06.auone-net.jp with ESMTP
 id <20250224021505916.YGQE.9150.kzhr.d1.dion.ne.jp@HIDDEN>; 
 Mon, 24 Feb 2025 11:15:05 +0900
Date: Mon, 24 Feb 2025 11:15:05 +0900
Message-ID: <857c5gf5qu.wl--xmue@HIDDEN>
From: Kazuhiro Ito <kzhr@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#75926: 31.0.50; Cygw32 build break
In-Reply-To: <86zfineceg.fsf@HIDDEN>
References: <85sep1odog.wl--xmue@HIDDEN> <86cyg5mx05.fsf@HIDDEN>
 <85plk4obhe.wl--xmue@HIDDEN> <867c6clgxa.fsf@HIDDEN>
 <c9b624fe-c76a-4736-b677-48d6b4b96af1@HIDDEN>
 <86zfineceg.fsf@HIDDEN>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue)
 FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0
 Emacs/31.0.50 (x86_64-w64-mingw32) MULE/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: multipart/mixed; boundary="Multipart_Mon_Feb_24_11:15:05_2025-1"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=d1.dion.ne.jp;
 s=default-1; t=1740363306; 
 bh=E+4S0QXQk3fnSrB6udBGFvd1D6K0r6yRqjvUsFPwhNo=;
 h=Date:From:To:Cc:Subject:In-Reply-To:References;
 b=lzlHEqpJN8fSuH+CAEfVh0fTbaTc9MrDWDtKDA0DfygZZVLUcA5Lfi0IrafDCAViZjSEW4ZA
 0mydUViX5+r3yVgmk43bI/06k7odSdHGqd+Ar37zNN0Ts/Ee3MvTb26KPO1MR1D4m3HlvRGGz2
 a9M5xWSvII/2+Tby7CEmRXLkx3w7Vclu/fda+rO2VX0Ltm4+HOQY/9WSkjmXH+NW/Qm0I2HdTP
 WRtH9Kk1lthzZU+J9oCHsvd7LMMs116VfDa0s1EnibM8bQBO0/QQ6Y/9Sj1AG1b1UnzizfMNc6
 NeKFYxB+NiuwwAHNwzDRYC8Hkk4QOgRUKMDPz4G6qF3MBIuw==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75926
Cc: 75926 <at> debbugs.gnu.org, Ken Brown <kbrown@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--Multipart_Mon_Feb_24_11:15:05_2025-1
Content-Type: text/plain; charset=US-ASCII

> > > We should probably split w32-win.el into two parts, one loaded by both
> > > the native Windows and Cygw32 builds, the other only by the former.
> > > But I don't know enough about the Cygw32 build and it needs, and don't
> > > have Cygwin installed to build it in the first place, so I'm not the
> > > best person for doing that job.  Maybe Ken (CC'ed) has comments or
> > > suggestions on this.
> >
> > That sounds like a reasonable approach, but I don't have time to dig 
> > into it right now.  I don't actually know the innards of the Cygw32 
> > build very well.  I never use that build myself, and I only build it 
> > when someone asks me to test something.  Kazuhiro, are you interested in 
> > giving Eli's suggestion a try?  I have a feeling that you're more 
> > familiar with that part of the code than I am.
>
> Ping!  Kazuhiro, do you intend on giving this a try?|

Sorry for the late response.  I didn't have enough time and actually I
don't know Emacs internals well in any area.  I simply build Emacs for
testing elisp packages I maintain.  But I tried on it.
Please review.

-- 
Kazuhiro Ito

--Multipart_Mon_Feb_24_11:15:05_2025-1
Content-Type: text/x-patch; type=patch; name="0001-Avoid-defining-unneeded-variables-on-Cygw32.patch"; charset=US-ASCII
Content-Disposition: attachment; filename="0001-Avoid-defining-unneeded-variables-on-Cygw32.patch"
Content-Transfer-Encoding: 7bit

From d17b4eceb8c0c638b993703f9684fef9324eca2e Mon Sep 17 00:00:00 2001
From: Kazuhiro Ito <kzhr@HIDDEN>
Date: Sun, 23 Feb 2025 22:47:00 +0900
Subject: [PATCH] Avoid defining unneeded variables on Cygw32.

lisp/term/w32-win.el contained definitions of variables which were
not used on Cygw32.  It is now to split into two files, common
part and Windows native build specific part. The latter is new
file, lisp/term/w32-win.el.

* src/image.c (Qlibpng_version, Qlibgif_version)
(Qlibjpeg_version): Don't define on Cygw32 build.

* src/treesit.c (Qtree_sitter__library_abi): Ditto.

* lisp/term/w32-win.el (dynamic-library-alist, libpng-version)
(libgif-version, libjpeg-version, libgnutls-version)
(tree-sitter--library-abi, gui-backend-set-selection)
(gui-backend-get-selection, gui-backend-selection-owner-p)
(gui-selection-exists-p): Moved to lisp/term/w32-nt.el.

* lisp/term/w32-nt.el: New file, separated Windows native build
specific part from lisp/term/w32-win.el.

* lisp/loadup.el: Load term/w32-nt.el on Windows native build.
---
 lisp/loadup.el       |   1 +
 lisp/term/w32-nt.el  | 153 +++++++++++++++++++++++++++++++++++++++++++
 lisp/term/w32-win.el | 108 ------------------------------
 src/image.c          |   2 +-
 src/treesit.c        |   2 +-
 5 files changed, 156 insertions(+), 110 deletions(-)
 create mode 100644 lisp/term/w32-nt.el

diff --git a/lisp/loadup.el b/lisp/loadup.el
index 9089da9a988..3e87f4811df 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -332,6 +332,7 @@
       (load "term/w32-win")
       (load "disp-table")
       (when (eq system-type 'windows-nt)
+        (load "term/w32-nt")
         (load "w32-fns")
         (load "ls-lisp")
         (load "dos-w32"))
diff --git a/lisp/term/w32-nt.el b/lisp/term/w32-nt.el
new file mode 100644
index 00000000000..7ff9472839d
--- /dev/null
+++ b/lisp/term/w32-nt.el
@@ -0,0 +1,153 @@
+;;; w32-nt.el --- MS-Windows native build specific definitions -*- lexical-binding: t -*-
+
+;; Copyright (C) 1993-1994, 2001-2025 Free Software Foundation, Inc.
+
+;; Author: FSF
+;; Keywords: terminals
+
+;; This file is part of GNU Emacs.
+
+;; GNU Emacs is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; GNU Emacs is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; w32-nt.el: this file contains MS-Windows native build specific
+;; definitions formerly included in w32-win.el.
+
+;;; Code:
+
+
+(eval-when-compile (require 'cl-lib))
+
+
+(defvar dynamic-library-alist)
+(defvar libpng-version)                 ; image.c #ifdef HAVE_NTGUI
+(defvar libgif-version)
+(defvar libjpeg-version)
+
+(defvar libgnutls-version)              ; gnutls.c
+
+(defvar tree-sitter--library-abi)       ; treesit.c
+
+;;; Set default known names for external libraries
+(setq dynamic-library-alist
+      (list
+       '(gdiplus "gdiplus.dll")
+       '(shlwapi "shlwapi.dll")
+       '(xpm "libxpm.dll" "xpm4.dll" "libXpm-nox4.dll")
+       ;; Versions of libpng 1.4.x and later are incompatible with
+       ;; earlier versions.  Set up the list of libraries according to
+       ;; the version we were compiled against.  (If we were compiled
+       ;; without PNG support, libpng-version's value is -1.)
+       (if (>= libpng-version 10400)
+	   (let ((major (/ libpng-version 10000))
+		 (minor (mod (/ libpng-version 100) 10)))
+	     (list 'png
+		   ;; libpngXY.dll is the default name when building
+		   ;; with CMake or from a lpngXYY tarball on w32,
+		   ;; libpngXY-XY.dll is the DLL name when building
+		   ;; with libtool / autotools
+		   (format "libpng%d%d.dll" major minor)
+		   (format "libpng%d%d-%d%d.dll" major minor major minor)))
+	 '(png "libpng12d.dll" "libpng12.dll" "libpng3.dll" "libpng.dll"
+	       ;; these are libpng 1.2.8 from GTK+
+	       "libpng13d.dll" "libpng13.dll"))
+       '(tiff "libtiff-5.dll" "libtiff3.dll" "libtiff.dll")
+       (if (> libjpeg-version 62)
+	   ;; Versions of libjpeg after 6b are incompatible with
+	   ;; earlier versions, and each of versions 7, 8, and 9 is
+	   ;; also incompatible with the preceding ones (the core data
+	   ;; structures used for communications with the library
+	   ;; gained additional members with each new version).  So we
+	   ;; must use only the version of the library which Emacs was
+	   ;; compiled against.
+	   (list 'jpeg (format "libjpeg-%d.dll" (/ libjpeg-version 10)))
+	 '(jpeg "jpeg62.dll" "libjpeg.dll" "jpeg-62.dll" "jpeg.dll"))
+       ;; Versions of giflib 5.0.0 and later changed signatures of
+       ;; several functions used by Emacs, which makes those versions
+       ;; incompatible with previous ones.  We select the correct
+       ;; libraries according to the version of giflib we were
+       ;; compiled against.  (If we were compiled without GIF support,
+       ;; libgif-version's value is -1.)
+       (if (>= libgif-version 50100)
+	   ;; Yes, giflib 5.0 uses 6 as the major version of the API,
+	   ;; and giflib 5.1 uses 7, thus "libgif-7.dll" and
+	   ;; "libgif-6.dll" below (giflib 4.x used 5 as the major API
+	   ;; version).  giflib5.dll is from the lua-files project,
+	   ;; and gif.dll is from luapower.
+	   '(gif "libgif-7.dll")
+	 (if (>= libgif-version 50000)
+	     '(gif "libgif-6.dll" "giflib5.dll" "gif.dll")
+	 '(gif "libgif-5.dll" "giflib4.dll" "libungif4.dll" "libungif.dll")))
+       '(svg "librsvg-2-2.dll")
+       '(webp "libwebp-7.dll" "libwebp.dll")
+       '(webpdemux "libwebpdemux-2.dll" "libwebpdemux.dll")
+       '(sqlite3 "libsqlite3-0.dll")
+       '(gdk-pixbuf "libgdk_pixbuf-2.0-0.dll")
+       '(glib "libglib-2.0-0.dll")
+       '(gio "libgio-2.0-0.dll")
+       '(gobject "libgobject-2.0-0.dll")
+       (if (>= libgnutls-version 30400)
+	   '(gnutls "libgnutls-30.dll")
+	 '(gnutls "libgnutls-28.dll" "libgnutls-26.dll"))
+       '(libxml2 "libxml2-2.dll" "libxml2.dll")
+       '(zlib "zlib1.dll" "libz-1.dll")
+       '(lcms2 "liblcms2-2.dll")
+       '(gccjit "libgccjit-0.dll")
+       ;; MSYS2 distributes libtree-sitter.dll, without API version
+       ;; number, upto and including version 0.24.3-2; later versions
+       ;; come with libtree-sitter-major.minor.dll (as in
+       ;; libtree-sitter-0.24.dll).  Sadly, the header files don't have
+       ;; any symbols for library version, so we can only use the
+       ;; library-language ABI version; according to
+       ;; https://github.com/tree-sitter/tree-sitter/issues/3925, the
+       ;; language ABI must change when the library's ABI is modified.
+       (if (<= tree-sitter--library-abi 14)
+           '(tree-sitter "libtree-sitter-0.24.dll"
+                         "libtree-sitter.dll"
+                         "libtree-sitter-0.dll")
+         '(tree-sitter "libtree-sitter-0.25.dll"))))
+
+
+;;;; Selections
+
+(declare-function w32--set-selection "w32-win.el")
+
+(declare-function w32--get-selection "w32-win.el")
+
+(declare-function w32--selection-owner-p "w32-win.el")
+
+(declare-function w32-selection-exists-p "w32select.c"
+                  (&optional selection terminal))
+
+;; Make copy&pasting in w32's console interact with the system's clipboard!
+(cl-defmethod gui-backend-set-selection (type value
+                                              &context (window-system nil))
+  (w32--set-selection type value))
+
+(cl-defmethod gui-backend-get-selection (type data-type
+                                              &context (window-system nil))
+  (w32--get-selection type data-type))
+
+(cl-defmethod gui-backend-selection-owner-p (selection
+                                             &context (window-system nil))
+  (w32--selection-owner-p selection))
+
+(cl-defmethod gui-selection-exists-p (selection
+                                      &context (window-system nil))
+  (w32-selection-exists-p selection))
+
+(provide 'term/w32-nt)
+
+;;; w32-nt.el ends here
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el
index af53345a377..fa7862d9bff 100644
--- a/lisp/term/w32-win.el
+++ b/lisp/term/w32-win.el
@@ -240,94 +240,6 @@ w32-win-suspend-error
   "Report an error when a suspend is attempted."
   (error "Suspending an Emacs running under W32 makes no sense"))
 
-(defvar dynamic-library-alist)
-(defvar libpng-version)                 ; image.c #ifdef HAVE_NTGUI
-(defvar libgif-version)
-(defvar libjpeg-version)
-
-(defvar libgnutls-version)              ; gnutls.c
-
-(defvar tree-sitter--library-abi)       ; treesit.c
-
-;;; Set default known names for external libraries
-(setq dynamic-library-alist
-      (list
-       '(gdiplus "gdiplus.dll")
-       '(shlwapi "shlwapi.dll")
-       '(xpm "libxpm.dll" "xpm4.dll" "libXpm-nox4.dll")
-       ;; Versions of libpng 1.4.x and later are incompatible with
-       ;; earlier versions.  Set up the list of libraries according to
-       ;; the version we were compiled against.  (If we were compiled
-       ;; without PNG support, libpng-version's value is -1.)
-       (if (>= libpng-version 10400)
-	   (let ((major (/ libpng-version 10000))
-		 (minor (mod (/ libpng-version 100) 10)))
-	     (list 'png
-		   ;; libpngXY.dll is the default name when building
-		   ;; with CMake or from a lpngXYY tarball on w32,
-		   ;; libpngXY-XY.dll is the DLL name when building
-		   ;; with libtool / autotools
-		   (format "libpng%d%d.dll" major minor)
-		   (format "libpng%d%d-%d%d.dll" major minor major minor)))
-	 '(png "libpng12d.dll" "libpng12.dll" "libpng3.dll" "libpng.dll"
-	       ;; these are libpng 1.2.8 from GTK+
-	       "libpng13d.dll" "libpng13.dll"))
-       '(tiff "libtiff-5.dll" "libtiff3.dll" "libtiff.dll")
-       (if (> libjpeg-version 62)
-	   ;; Versions of libjpeg after 6b are incompatible with
-	   ;; earlier versions, and each of versions 7, 8, and 9 is
-	   ;; also incompatible with the preceding ones (the core data
-	   ;; structures used for communications with the library
-	   ;; gained additional members with each new version).  So we
-	   ;; must use only the version of the library which Emacs was
-	   ;; compiled against.
-	   (list 'jpeg (format "libjpeg-%d.dll" (/ libjpeg-version 10)))
-	 '(jpeg "jpeg62.dll" "libjpeg.dll" "jpeg-62.dll" "jpeg.dll"))
-       ;; Versions of giflib 5.0.0 and later changed signatures of
-       ;; several functions used by Emacs, which makes those versions
-       ;; incompatible with previous ones.  We select the correct
-       ;; libraries according to the version of giflib we were
-       ;; compiled against.  (If we were compiled without GIF support,
-       ;; libgif-version's value is -1.)
-       (if (>= libgif-version 50100)
-	   ;; Yes, giflib 5.0 uses 6 as the major version of the API,
-	   ;; and giflib 5.1 uses 7, thus "libgif-7.dll" and
-	   ;; "libgif-6.dll" below (giflib 4.x used 5 as the major API
-	   ;; version).  giflib5.dll is from the lua-files project,
-	   ;; and gif.dll is from luapower.
-	   '(gif "libgif-7.dll")
-	 (if (>= libgif-version 50000)
-	     '(gif "libgif-6.dll" "giflib5.dll" "gif.dll")
-	 '(gif "libgif-5.dll" "giflib4.dll" "libungif4.dll" "libungif.dll")))
-       '(svg "librsvg-2-2.dll")
-       '(webp "libwebp-7.dll" "libwebp.dll")
-       '(webpdemux "libwebpdemux-2.dll" "libwebpdemux.dll")
-       '(sqlite3 "libsqlite3-0.dll")
-       '(gdk-pixbuf "libgdk_pixbuf-2.0-0.dll")
-       '(glib "libglib-2.0-0.dll")
-       '(gio "libgio-2.0-0.dll")
-       '(gobject "libgobject-2.0-0.dll")
-       (if (>= libgnutls-version 30400)
-	   '(gnutls "libgnutls-30.dll")
-	 '(gnutls "libgnutls-28.dll" "libgnutls-26.dll"))
-       '(libxml2 "libxml2-2.dll" "libxml2.dll")
-       '(zlib "zlib1.dll" "libz-1.dll")
-       '(lcms2 "liblcms2-2.dll")
-       '(gccjit "libgccjit-0.dll")
-       ;; MSYS2 distributes libtree-sitter.dll, without API version
-       ;; number, upto and including version 0.24.3-2; later versions
-       ;; come with libtree-sitter-major.minor.dll (as in
-       ;; libtree-sitter-0.24.dll).  Sadly, the header files don't have
-       ;; any symbols for library version, so we can only use the
-       ;; library-language ABI version; according to
-       ;; https://github.com/tree-sitter/tree-sitter/issues/3925, the
-       ;; language ABI must change when the library's ABI is modified.
-       (if (<= tree-sitter--library-abi 14)
-           '(tree-sitter "libtree-sitter-0.24.dll"
-                         "libtree-sitter.dll"
-                         "libtree-sitter-0.dll")
-         '(tree-sitter "libtree-sitter-0.25.dll"))))
-
 ;;; multi-tty support
 (defvar w32-initialized nil
   "Non-nil if the w32 window system has been initialized.")
@@ -554,26 +466,6 @@ gui-backend-selection-exists-p
                                               &context (window-system w32))
   (w32-selection-exists-p selection))
 
-(when (eq system-type 'windows-nt)
-  ;; Make copy&pasting in w32's console interact with the system's clipboard!
-  ;; We could move those cl-defmethods outside of the `when' and use
-  ;; "&context (system-type (eql windows-nt))" instead!
-  (cl-defmethod gui-backend-set-selection (type value
-                                           &context (window-system nil))
-    (w32--set-selection type value))
-
-  (cl-defmethod gui-backend-get-selection (type data-type
-                                           &context (window-system nil))
-    (w32--get-selection type data-type))
-
-  (cl-defmethod gui-backend-selection-owner-p (selection
-                                               &context (window-system nil))
-    (w32--selection-owner-p selection))
-
-  (cl-defmethod gui-selection-exists-p (selection
-                                        &context (window-system nil))
-    (w32-selection-exists-p selection)))
-
 ;; The "Windows" keys on newer keyboards bring up the Start menu
 ;; whether you want it or not - make Emacs ignore these keystrokes
 ;; rather than beep.
diff --git a/src/image.c b/src/image.c
index b051e4ca796..65d8db24adc 100644
--- a/src/image.c
+++ b/src/image.c
@@ -13003,7 +13003,7 @@ syms_of_image (void)
   DEFSYM (Qgs_load_image, "gs-load-image");
 #endif /* HAVE_GHOSTSCRIPT */
 
-#ifdef HAVE_NTGUI
+#ifdef WINDOWSNT
   /* Versions of libpng, libgif, and libjpeg that we were compiled with,
      or -1 if no PNG/GIF support was compiled in.  This is tested by
      w32-win.el to correctly set up the alist used to search for the
diff --git a/src/treesit.c b/src/treesit.c
index 62606d99749..fa7fe95b7dc 100644
--- a/src/treesit.c
+++ b/src/treesit.c
@@ -4577,7 +4577,7 @@ or (not PRED), meaning not satisfying the inner PRED qualifies the node.
   defsubr (&Streesit_subtree_stat);
 #endif /* HAVE_TREE_SITTER */
   defsubr (&Streesit_available_p);
-#ifdef HAVE_NTGUI
+#ifdef WINDOWSNT
   DEFSYM (Qtree_sitter__library_abi, "tree-sitter--library-abi");
   Fset (Qtree_sitter__library_abi,
 #if HAVE_TREE_SITTER
-- 
2.45.1


--Multipart_Mon_Feb_24_11:15:05_2025-1--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75926; Package emacs. Full text available.

Message received at 75926 <at> debbugs.gnu.org:


Received: (at 75926) by debbugs.gnu.org; 15 Feb 2025 10:21:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 15 05:21:56 2025
Received: from localhost ([127.0.0.1]:53472 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjFJ6-0002au-AN
	for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 05:21:56 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:49836)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tjFJ3-0002ae-70
 for 75926 <at> debbugs.gnu.org; Sat, 15 Feb 2025 05:21:53 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tjFIv-0000Xv-W6; Sat, 15 Feb 2025 05:21:46 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=FeBR9Rckyg6F+pK6MqMKBKEKd4dgs2F+dIZwNrlK29w=; b=kfJqhziMn/0T
 nafbnY5Dfk/r+s+YJDuwjvaZDh01y7ZmnWB4JYno3N3Au9AwfUPy9CvO3oVFaf/oqLaH5eFd3FZhl
 gZq1i8vBWxfyaSjYhr63cqz4muJfZLIFik2s0OcI2CqY0vxF6U+RcrhM8xtxs+QxjQ2EodiAtaKOc
 CQkzrcveFMYV1Co1fteBvTaGQESdWIhBRL/G+yD0PDwx8J0Ot7gI/4rPEFhPXGB6nwk1Ad/f6dfvz
 +sWVQXxodwHTckrP2kl/m1ReEBq1pazooCBQYEXKFE6lJbrmEaPIVQlRSYXCbvagyOfuPXx2OzhWP
 5GUxA5QYI9JJJUBvrvB8pw==;
Date: Sat, 15 Feb 2025 12:21:43 +0200
Message-Id: <86zfineceg.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: kzhr@HIDDEN, Ken Brown <kbrown@HIDDEN>
In-Reply-To: <c9b624fe-c76a-4736-b677-48d6b4b96af1@HIDDEN> (message from
 Ken Brown on Thu, 30 Jan 2025 14:37:45 -0500)
Subject: Re: bug#75926: 31.0.50; Cygw32 build break
References: <85sep1odog.wl--xmue@HIDDEN> <86cyg5mx05.fsf@HIDDEN>
 <85plk4obhe.wl--xmue@HIDDEN> <867c6clgxa.fsf@HIDDEN>
 <c9b624fe-c76a-4736-b677-48d6b4b96af1@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75926
Cc: 75926 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Ping!  Kazuhiro, do you intend on giving this a try?|

> Date: Thu, 30 Jan 2025 14:37:45 -0500
> Cc: 75926 <at> debbugs.gnu.org
> From: Ken Brown <kbrown@HIDDEN>
> 
> On 1/30/2025 5:44 AM, Eli Zaretskii wrote:
> >> Date: Thu, 30 Jan 2025 19:13:49 +0900
> >> From: Kazuhiro Ito <kzhr@HIDDEN>
> >> Thank you for the quick fix, though I wonder cygw32 build needs
> >> tree-sitter--library-abi.  The variable is used to adjust
> >> dynamic-library-alist's value, whcih doesn't seem to be used on cygw32
> >> build.
> > 
> > I know, but the problem is the Cygw32 build loads w32-win.el, where
> > this data structure is defined.  And all the other variables and
> > functions used in that structure's value are defined using HAVE_NTGUI
> > as the condition, so I just did the same for this case.
> > 
> > We should probably split w32-win.el into two parts, one loaded by both
> > the native Windows and Cygw32 builds, the other only by the former.
> > But I don't know enough about the Cygw32 build and it needs, and don't
> > have Cygwin installed to build it in the first place, so I'm not the
> > best person for doing that job.  Maybe Ken (CC'ed) has comments or
> > suggestions on this.
> 
> That sounds like a reasonable approach, but I don't have time to dig 
> into it right now.  I don't actually know the innards of the Cygw32 
> build very well.  I never use that build myself, and I only build it 
> when someone asks me to test something.  Kazuhiro, are you interested in 
> giving Eli's suggestion a try?  I have a feeling that you're more 
> familiar with that part of the code than I am.
> 
> Ken
> 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75926; Package emacs. Full text available.

Message received at 75926 <at> debbugs.gnu.org:


Received: (at 75926) by debbugs.gnu.org; 30 Jan 2025 19:38:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 30 14:38:12 2025
Received: from localhost ([127.0.0.1]:47979 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tdaMd-0000er-BS
	for submit <at> debbugs.gnu.org; Thu, 30 Jan 2025 14:38:12 -0500
Received: from mail-dm6nam10on2070f.outbound.protection.outlook.com
 ([2a01:111:f403:2413::70f]:19297
 helo=NAM10-DM6-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <kbrown@HIDDEN>)
 id 1tdaMM-0000do-IS
 for 75926 <at> debbugs.gnu.org; Thu, 30 Jan 2025 14:37:55 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=HM0QOuJUYXlFBiVz+nbRNkvVzv6B4YsxE4yiVMohy2ozILpOEcmpubWeGWE4JkJkU3td7tat7GafChgPJbi22Fhrlq5nBCJ5KxeMiFHl03vr/p+y4n0hanWWrGnzuejydnLMkQhDv+jfY+FciIu7JyZmIlahdWFy8xXx16xhvHmrfQsSmrkjb/s5xGw3h3OevnBWH3YUxLx5zFnsmjazM05no8OKG+YZoAbGAPnnMLcR7qHi3Y+asILH+V13oDA2LC9WVItV9dLOXUKX6KCuSfj4/jQ4tJEdy8NJmODb7B/fXVZbpxQph3r4DI2OvyYW1zcBC7aGd+0feiNSVW+CfA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=VMhH6jHwX9MoZ///Jx9KgsnrFgPQvAlNMQHzU9dPTw8=;
 b=oc/3T7T4pe1vD0brV1GWXL4UxGgqTJDi870ZRUG2Cc0Ty7FK1UFvYn1y/iowf3pSvCAqMRBDJPZtNAhDvag/Ge4WXTg6yUyQBrnSVGg+Ww1r6m5kmTFR5jq1q4SgpHxZJyHGcUAOoNUxpwL1VqcNM9VKiK5gOUJaIVd5uckD0OVkg4B312lEravq3tKbp71ZSk1o1GU5sxVqnQdcsl7119cQuztHhTpUf8jhouWN7ygqB/GEOrwCUdMKCl24aOeAGFcjQ6zDFACMr53BOVnn0YgmkzM9X/5LVg08Xit66Xu6Tc5pIAeTkb1JBb8yAIG+R004pbgUbSuLLh1poTiNmg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
 dkim=pass header.d=cornell.edu; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu;
 s=selector2;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=VMhH6jHwX9MoZ///Jx9KgsnrFgPQvAlNMQHzU9dPTw8=;
 b=Il1Op/3THScmiGvKAkCI+9KcqPCsmX/bFTRAad6gpD1nUtx1MVfLq3oM3SlM6q94yK6GcECiC8xdnj1pCQOvKZDtsqewRQURbgWeDsZ+ltoqyzKZL0+/SK4lv4yV1RqbCjimDOY5bJwCwHVLqyhhEHYbHz3XCZ9yGm6MXAByyqM=
Authentication-Results: dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=cornell.edu;
Received: from SN6PR04MB5151.namprd04.prod.outlook.com (2603:10b6:805:90::25)
 by BL3PR04MB8203.namprd04.prod.outlook.com (2603:10b6:208:34a::24)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8398.18; Thu, 30 Jan
 2025 19:37:47 +0000
Received: from SN6PR04MB5151.namprd04.prod.outlook.com
 ([fe80::5ff0:555f:8712:42dd]) by SN6PR04MB5151.namprd04.prod.outlook.com
 ([fe80::5ff0:555f:8712:42dd%5]) with mapi id 15.20.8398.017; Thu, 30 Jan 2025
 19:37:47 +0000
Message-ID: <c9b624fe-c76a-4736-b677-48d6b4b96af1@HIDDEN>
Date: Thu, 30 Jan 2025 14:37:45 -0500
User-Agent: Mozilla Thunderbird
Subject: Re: bug#75926: 31.0.50; Cygw32 build break
To: Eli Zaretskii <eliz@HIDDEN>, Kazuhiro Ito <kzhr@HIDDEN>
References: <85sep1odog.wl--xmue@HIDDEN> <86cyg5mx05.fsf@HIDDEN>
 <85plk4obhe.wl--xmue@HIDDEN> <867c6clgxa.fsf@HIDDEN>
Content-Language: en-US
From: Ken Brown <kbrown@HIDDEN>
In-Reply-To: <867c6clgxa.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-ClientProxiedBy: BN1PR12CA0019.namprd12.prod.outlook.com
 (2603:10b6:408:e1::24) To SN6PR04MB5151.namprd04.prod.outlook.com
 (2603:10b6:805:90::25)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: SN6PR04MB5151:EE_|BL3PR04MB8203:EE_
X-MS-Office365-Filtering-Correlation-Id: bb9c817d-3d2e-4be9-17d8-08dd4165931e
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016;
X-Microsoft-Antispam-Message-Info: =?utf-8?B?UEpmeXcvNU5PRURTTGtYS1lQWHI5RU5JbHNnekVSVmRveDVkM09qd0pBNU5P?=
 =?utf-8?B?RUlLbnJ2enB5dVNnWjB2Y3ZqZW5WVWxVMFpXMDRtS0diYVhyaW1JeTRYcjVQ?=
 =?utf-8?B?aGZyQUF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d2EwTEZ5WFlCWE0xSjA1bEEwalhT?=
 =?utf-8?Q?zyac8R5Xx0XoM?=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:SN6PR04MB5151.namprd04.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230040)(1800799024)(376014)(366016); DIR:OUT; SFP:1102; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZG0zNjZhd2cyZEN2TkRLMHptNi8rUzRsd29TNSszcjgrblM1VXNxYThJOWg2?=
 =?utf-8?B?b1VnQ0ZDaEtaZnczREZiU0k1eGdHd3YvbUI4UWVYZ3FJTmdoWHBTYjBxSXdm?=
 =?utf-8?B?Nmh2WWJka2lVKzRiYm56QmFaZ3FvTU5jdmk0M2JqR0xtWmpvLzlOVDM4Tk92?=
 =?utf-8?B?b3ZBN1VZTjUyNm96VG5OWCtnS0lEdTdMdXNzN2s5eHcxOXFLckNUaGtENTl2?=
 =?utf-8?B?RUFVMkRCRzIwUVdqR0J0aVUyQmptam5heUlzVWo5WnREZXVHMW12aldXQTRz?=
 =?utf-8?B?Y3JMOGtaK0ZMZlZ2V3ZBR3RDQTdwWWtLbXdZYnBMZHhrL3cvNjg3dGgzaE5S?=
 =?utf-8?B?eEJjVmxVcEJWKzZTeXFHckpEYUxjNEkwS1YxbllOUHlFQ1l3cVVlczNIN1N5?=
 =?utf-8?B?OWdEUmNQQUFCcWRNU1JOZzE0c1YrWkJlL0ozUXNJOTE1M05oVEZIUW1Dak5v?=
 =?utf-8?B?V1NMakllNWZ2RXA2amo0cElUL3VFTHpjWVlPNEJ6bjk1LzlUUGQ1aGF4Z1Ux?=
 =?utf-8?B?N3B5RkJrQjFmR1FMWDBSU0NNVVpaOWEvOWtWTU1hSFhSa1FFRkdmY1V2QXpF?=
 =?utf-8?B?ZTRXakdSdEhBRHNVVEJJZUlKQWRTV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pdlhnVUZl?=
 =?utf-8?B?U1V5R1NWWVRlMjBxK1I1WndUUXM0N3oyTE5obmpNdy9jaUZRUjEydWFrU3FL?=
 =?utf-8?B?Y0dyRDhBMzkwODI2anp2bC9tVi8zT2pEamRBTDh1S0M1OVBzVGd6RmcwMHA5?=
 =?utf-8?B?aFdBS1NDTzVWWTlLQ3Y2TWRORkwwdVBkYU4wZ1MyckkrQjJCaG1OOWQybkxj?=
 =?utf-8?B?WDk3Z1JhRURYaFMxQ1hreXk3VitmUFp2SzZFQUNhdGJ4YzZ1WnZoTkhwczVr?=
 =?utf-8?B?TWdzNEtkWDFSZEhmdys4emVmaU10TllQR0UwR2VlcjRyNDN2UjMzSnA3UGF1?=
 =?utf-8?B?SG9VeEl6TWJnYlc1L0sxY2ZLdmNhaWk3dE9XWjlhVDZYcWFqMHhmUC9yUnp2?=
 =?utf-8?B?VFhaVE5hVFhmNzRpS0JoaExnRzVKMTlTTXFqWEtFUE5IQUtSWmVyQjd5ampx?=
 =?utf-8?B?ZG8ySFpDMkpLd3RhQ2RPOS82QzkwbVljZzJQTnFkMjVkRTJGYklRWmtUWklw?=
 =?utf-8?B?MGtyOCt5WXRnb0ZML3phMHpvZ3pjYVVsOC92NldiTWJmZXBIY1VDbDZYM2Nz?=
 =?utf-8?B?amlzWFZqelMramlEZXJQendpZFFkZFcvd1FjODRIYjdrdVA3bDJyVG1hbnBk?=
 =?utf-8?Q?X/XeJUgFtsOGL2Epc9yBQqxeL?=
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: bb9c817d-3d2e-4be9-17d8-08dd4165931e
X-MS-Exchange-CrossTenant-AuthSource: SN6PR04MB5151.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jan 2025 19:37:47.3407 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: gPXt912fwqKcppAz0Z9bPWsvvqHXj5osvGhCXPQyuRRrlQ0i3lLzxfqdr90+F7yLPmlPoLnjZvdAATSA3WNUKA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR04MB8203
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 75926
Cc: 75926 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 1/30/2025 5:44 AM, Eli Zaretskii wrote:
>> Date: Thu, 30 Jan 2025 19:13:49 +0900
>> From: Kazuhiro Ito <kzhr@HIDDEN>
>> Thank you for the quick fix, though I wonder cygw32 build needs
>> tree-sitter--library-abi.  The variable is used to adjust
>> dynamic-library-alist's value, whcih doesn't seem to be used on cygw32
>> build.
> 
> I know, but the problem is the Cygw32 build loads w32-win.el, where
> this data structure is defined.  And all the other variables and
> functions used in that structure's value are defined using HAVE_NTGUI
> as the condition, so I just did the same for this case.
> 
> We should probably split w32-win.el into two parts, one loaded by both
> the native Windows and Cygw32 builds, the other only by the former.
> But I don't know enough about the Cygw32 build and it needs, and don't
> have Cygwin installed to build it in the first place, so I'm not the
> best person for doing that job.  Maybe Ken (CC'ed) has comments or
> suggestions on this.

That sounds like a reasonable approach, but I don't have time to dig 
into it right now.  I don't actually know the innards of the Cygw32 
build very well.  I never use that build myself, and I only build it 
when someone asks me to test something.  Kazuhiro, are you interested in 
giving Eli's suggestion a try?  I have a feeling that you're more 
familiar with that part of the code than I am.

Ken




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75926; Package emacs. Full text available.

Message received at 75926 <at> debbugs.gnu.org:


Received: (at 75926) by debbugs.gnu.org; 30 Jan 2025 10:44:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 30 05:44:48 2025
Received: from localhost ([127.0.0.1]:44583 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tdS2S-0000lV-9O
	for submit <at> debbugs.gnu.org; Thu, 30 Jan 2025 05:44:48 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:44396)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tdS2P-0000lH-Qr
 for 75926 <at> debbugs.gnu.org; Thu, 30 Jan 2025 05:44:46 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tdS2I-0003sZ-5c; Thu, 30 Jan 2025 05:44:38 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=smOHdoTiD4AoXSy54OXChidyNQW2yy/jLyvswB4Q1Gw=; b=qI+thBZ49KmW
 C32ZEwJBFa/fsMC3af7durcZw7nM1qYJpkIs9XoPPXCgWqFSSsyVnNSHZIjSiWzf3jj+IE4Y3Jeek
 OOEGvL3GmOUsEBBURcWuZH0KZxB9LPUDqFbOXeoK77j+3pjg6V7Zw+W+bZnsVpLSjeaP0EcKY5M65
 7rOh9DfFSr7wdmGia0FvDtNkFKRYCTKKTHEQ6W1AuhLWhJKCHMFNzhm2+jdj8CP6iTp8MRPiDu1V7
 s2RulkEjxQmFDG8KHOjnJ/OtsTU49qGGMsTYFLL3kcn+w+YXPKayCDo6snLv9JwQt9b5ocJhL59xT
 yCH6WkgJSAsW8m6uCddxRg==;
Date: Thu, 30 Jan 2025 12:44:33 +0200
Message-Id: <867c6clgxa.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Kazuhiro Ito <kzhr@HIDDEN>, Ken Brown <kbrown@HIDDEN>
In-Reply-To: <85plk4obhe.wl--xmue@HIDDEN> (message from Kazuhiro Ito on
 Thu, 30 Jan 2025 19:13:49 +0900)
Subject: Re: bug#75926: 31.0.50; Cygw32 build break
References: <85sep1odog.wl--xmue@HIDDEN>
 <86cyg5mx05.fsf@HIDDEN> <85plk4obhe.wl--xmue@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75926
Cc: 75926 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Thu, 30 Jan 2025 19:13:49 +0900
> From: Kazuhiro Ito <kzhr@HIDDEN>
> Cc: 75926 <at> debbugs.gnu.org
> 
> > > Cygw32 build fails on  master.
> > > 
> > > $ make
> > > (snip)
> > > Loading term/w32-win...
> > > 
> > > Error: void-variable (tree-sitter--library-abi)
> > > (snip)
> > > 
> > > tree-sitter--library-abi is defined in src/treesit.c only when native
> > > Windows build.
> > 
> > Thanks, should be fixed now.
> 
> Thank you for the quick fix, though I wonder cygw32 build needs
> tree-sitter--library-abi.  The variable is used to adjust
> dynamic-library-alist's value, whcih doesn't seem to be used on cygw32
> build.

I know, but the problem is the Cygw32 build loads w32-win.el, where
this data structure is defined.  And all the other variables and
functions used in that structure's value are defined using HAVE_NTGUI
as the condition, so I just did the same for this case.

We should probably split w32-win.el into two parts, one loaded by both
the native Windows and Cygw32 builds, the other only by the former.
But I don't know enough about the Cygw32 build and it needs, and don't
have Cygwin installed to build it in the first place, so I'm not the
best person for doing that job.  Maybe Ken (CC'ed) has comments or
suggestions on this.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75926; Package emacs. Full text available.

Message received at 75926 <at> debbugs.gnu.org:


Received: (at 75926) by debbugs.gnu.org; 30 Jan 2025 10:13:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 30 05:13:57 2025
Received: from localhost ([127.0.0.1]:44519 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tdRYb-0007ie-2o
	for submit <at> debbugs.gnu.org; Thu, 30 Jan 2025 05:13:57 -0500
Received: from mta-snd-e01.auone-net.jp ([111.86.247.1]:2401)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <kzhr@HIDDEN>)
 id 1tdRYX-0007iR-KV
 for 75926 <at> debbugs.gnu.org; Thu, 30 Jan 2025 05:13:55 -0500
Received: from kzhr.d1.dion.ne.jp by mta-snd-e01.auone-net.jp with ESMTP
 id <20250130101349395.QXTR.22508.kzhr.d1.dion.ne.jp@HIDDEN>; 
 Thu, 30 Jan 2025 19:13:49 +0900
Date: Thu, 30 Jan 2025 19:13:49 +0900
Message-ID: <85plk4obhe.wl--xmue@HIDDEN>
From: Kazuhiro Ito <kzhr@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#75926: 31.0.50; Cygw32 build break
In-Reply-To: <86cyg5mx05.fsf@HIDDEN>
References: <85sep1odog.wl--xmue@HIDDEN>
	<86cyg5mx05.fsf@HIDDEN>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue)
 FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0
 Emacs/31.0.50 (x86_64-w64-mingw32) MULE/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset=US-ASCII
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=d1.dion.ne.jp;
 s=default-1; t=1738232029; 
 bh=ZiwbLoBOrX/N+7DDZ3Mxl3ILrweFnieCa3lQUCJVz+g=;
 h=Date:From:To:Cc:Subject:In-Reply-To:References;
 b=A8bqq26YyNdOF73nAoC5Dui0t7O7d7dMg8DQ+q8fyLHYdo1QGIKpckVrJfA4PwoH2vrxPqKf
 YL/zOMsdmLjpz4wCUMvUnGedMEDibiFP0EzYFN6GX7Tv4OXVEGgEW7picuyYiw2A665OGlq4aZ
 R1Cz3YKNcDTutx75zEf13gIQRSHS6tWLwZsp3xEoUaKl44lxgThA9hpoaml8w4FZCPGCHoebaf
 9U60y3FCIvNM/eX4gqou289iSycn6pn2hg0we0ZMHfCn2Zu0D8nEe2dtyBn17Liw9aP4eoLb6o
 5tkpTMrMhFTZ1b3yKlI9tFcsoY7J96XM9C9cX60ZldY4MEeg==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75926
Cc: 75926 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

> > Cygw32 build fails on  master.
> > 
> > $ make
> > (snip)
> > Loading term/w32-win...
> > 
> > Error: void-variable (tree-sitter--library-abi)
> > (snip)
> > 
> > tree-sitter--library-abi is defined in src/treesit.c only when native
> > Windows build.
> 
> Thanks, should be fixed now.

Thank you for the quick fix, though I wonder cygw32 build needs
tree-sitter--library-abi.  The variable is used to adjust
dynamic-library-alist's value, whcih doesn't seem to be used on cygw32
build.

-- 
Kazuhiro Ito




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75926; Package emacs. Full text available.

Message received at 75926 <at> debbugs.gnu.org:


Received: (at 75926) by debbugs.gnu.org; 29 Jan 2025 15:59:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 29 10:59:53 2025
Received: from localhost ([127.0.0.1]:42647 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tdATo-0001wG-Ou
	for submit <at> debbugs.gnu.org; Wed, 29 Jan 2025 10:59:53 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:37906)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tdATl-0001vw-Js
 for 75926 <at> debbugs.gnu.org; Wed, 29 Jan 2025 10:59:50 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tdATe-0004ie-6d; Wed, 29 Jan 2025 10:59:42 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=g6jrrNMp4WG7MKW4lDuWjWFuERpnlo6+EoCQ6cfaFUs=; b=TcJY0x6Xk1Ih
 9JH5Cgipz38mpyzHNklSptrmmplk4TeTo392GRomCGxCvA1v2acZMrHKvm0lLsaDWp61ABtsCKXGo
 57y3xti5bC8BFRt99VUiPJRfn255Qe9nEhGZuyZZeKoheg3E5CAAJVKfy8UV19Feb9PX4XZeZ8AxF
 Hxl8sW2i/Bf//jgKRMgx4wMo7QhadlGXp3bJhVrmVjqMIyQZ3f9snNVHgv31J5ey/H2iwlHAeuY/x
 j1QOz+4AFUdMk8mubqFwUEKztT4rW1NNb4CPBTjsn2vK6hdpoSC8ukcLDrgtJeAHSUt4eTWg96MtA
 xSyL+ereqP2mAkFhLNH2Rw==;
Date: Wed, 29 Jan 2025 17:59:38 +0200
Message-Id: <86cyg5mx05.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Kazuhiro Ito <kzhr@HIDDEN>
In-Reply-To: <85sep1odog.wl--xmue@HIDDEN> (message from Kazuhiro Ito on
 Thu, 30 Jan 2025 00:14:07 +0900)
Subject: Re: bug#75926: 31.0.50; Cygw32 build break
References: <85sep1odog.wl--xmue@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75926
Cc: 75926 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Thu, 30 Jan 2025 00:14:07 +0900
> From: Kazuhiro Ito <kzhr@HIDDEN>
> 
> Cygw32 build fails on  master.
> 
> $ make
> (snip)
> Loading term/w32-win...
> 
> Error: void-variable (tree-sitter--library-abi)
> (snip)
> 
> tree-sitter--library-abi is defined in src/treesit.c only when native
> Windows build.

Thanks, should be fixed now.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75926; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Jan 2025 15:14:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 29 10:14:31 2025
Received: from localhost ([127.0.0.1]:42553 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1td9lv-0008In-JG
	for submit <at> debbugs.gnu.org; Wed, 29 Jan 2025 10:14:31 -0500
Received: from lists.gnu.org ([2001:470:142::17]:35434)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <kzhr@HIDDEN>)
 id 1td9ls-0008IO-DZ
 for submit <at> debbugs.gnu.org; Wed, 29 Jan 2025 10:14:29 -0500
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 <kzhr@HIDDEN>)
 id 1td9lm-0001oj-2I
 for bug-gnu-emacs@HIDDEN; Wed, 29 Jan 2025 10:14:22 -0500
Received: from mta-snd-e01.auone-net.jp ([111.86.247.1])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kzhr@HIDDEN>)
 id 1td9lg-0005FF-B8
 for bug-gnu-emacs@HIDDEN; Wed, 29 Jan 2025 10:14:21 -0500
Received: from kzhr.d1.dion.ne.jp by mta-snd-e01.auone-net.jp with ESMTP
 id <20250129151408185.PWJL.22508.kzhr.d1.dion.ne.jp@HIDDEN>; 
 Thu, 30 Jan 2025 00:14:08 +0900
Date: Thu, 30 Jan 2025 00:14:07 +0900
Message-ID: <85sep1odog.wl--xmue@HIDDEN>
From: Kazuhiro Ito <kzhr@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; Cygw32 build break
X-Hashcash: 1:20:250129:bug-gnu-emacs@HIDDEN::VGFYIjOqMA3FHcCv:0Q/Q
User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue)
 FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0
 Emacs/31.0.50 (x86_64-w64-mingw32) MULE/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset=US-ASCII
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=d1.dion.ne.jp;
 s=default-1; t=1738163648; 
 bh=xdc2C4aZ83TZ81x2cW/I6CNQBAzlMC4d9Xm0N8qUZRM=;
 h=Date:From:To:Subject;
 b=HPCukuZEFDwWZVpSLJ7Mp0AU5FrIMrQuUrS5ZGeb7Tkkag85F19m9gACKFIG3jGfsgtREvc2
 4l8qnET+sbrL+U3ycZT7NoxCiRvG6L/NLsKX2HYL5RCLLDksQI+qBabaUeXsK3ErKmQ7eoOtC/
 2K2fCMw5N5puJzzNQ6wAFtf9fsAG2YFV0x50d6gheSnyKbg5JJesYnLqSZZXrycJAcF79dyaHS
 lThw1XggLr9ouJRRYEKKuvvita8BFUJXkzNQ0xK8i9xi/LK4w1NJzUx2JNFBF+vwYhgp73r9JD
 eJ2IahngJcBchWbnI4BzN14+XENfUBN1xb5CJ2UqynbX3TAw==
Received-SPF: pass client-ip=111.86.247.1; envelope-from=kzhr@HIDDEN;
 helo=mta-snd-e01.auone-net.jp
X-Spam_score_int: -19
X-Spam_score: -2.0
X-Spam_bar: --
X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Cygw32 build fails on  master.

$ make
(snip)
Loading term/w32-win...

Error: void-variable (tree-sitter--library-abi)
(snip)

tree-sitter--library-abi is defined in src/treesit.c only when native
Windows build.

-- 
Kazuhiro Ito




Acknowledgement sent to Kazuhiro Ito <kzhr@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#75926; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 4 Mar 2025 03:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.