From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#65325: "make check" hangs on Cygwin Date: Fri, 18 Aug 2023 18:02:46 -0400 Message-ID: <60b81c61-b46f-b091-80e1-3fad5a2f044d@cornell.edu> References: <12489762.80ggfzRhTf@nimes> <83pm3n8ao6.fsf@gnu.org> <99d99342-55b0-e3ba-fdec-cf4547d48226@cornell.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20049"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Cc: 65325@debbugs.gnu.org To: Eli Zaretskii , Bruno Haible Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 19 00:03:30 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 1qX7Z3-00051k-Kq for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Aug 2023 00:03:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qX7Yi-0003gz-EE; Fri, 18 Aug 2023 18:03:08 -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 1qX7Yc-0003gf-2c for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 18:03:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qX7Yb-0001OM-QP for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 18:03:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qX7Yc-0000qc-Bm for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 18:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Aug 2023 22:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65325 X-GNU-PR-Package: emacs Original-Received: via spool by 65325-submit@debbugs.gnu.org id=B65325.16923961813251 (code B ref 65325); Fri, 18 Aug 2023 22:03:02 +0000 Original-Received: (at 65325) by debbugs.gnu.org; 18 Aug 2023 22:03:01 +0000 Original-Received: from localhost ([127.0.0.1]:48983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX7Ya-0000qN-HP for submit@debbugs.gnu.org; Fri, 18 Aug 2023 18:03:00 -0400 Original-Received: from mail-co1nam11on2136.outbound.protection.outlook.com ([40.107.220.136]:35393 helo=NAM11-CO1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX7YX-0000q6-RK for 65325@debbugs.gnu.org; Fri, 18 Aug 2023 18:02:59 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h4y4QE1A7PQRayXaKBf/d37wAFliPtSR4bI+YwSlt9XweUu6j+S/9S485uqpqZRo6GAwpJaq24VxaYOfqhXKQG1zB526w1Ye492H6xFeNkUiGlP1QLpKazQ232525sBhlBAOMZccTdaoIQnPAcG83bqeMOGkHaiA+59znHlZcZg+n7sNHbHh8wuU/7y9tbx//QLPFe4k8B7tl8hCr/UZpp0MR/7mscyF/QAMcbZ+P2W11zd2o/lFaIShRmY+XBYeoLqaeBu5IqFcfM/mV2nPlCPY387tTfYjGYApR/QC6oZjPEuyaVMsWZ+tM6n4WAQegeZnCW5uT+pG2sv1ekjU/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=/4BI1FAc8tyAzUDM6eO+k/T2FjOkiE/j6n3AscqbzRc=; b=GfzC5PIjRJMOsUot67kUzg6SCJTRywxZkV5t5atcKy3xfEXkKoC5QeSBTyo30A3uPigoMmepwf3LSO792I8wpWBGxQ6Db1EeYYCQEVsiTh+JFv4twYvQ4jWOnjbjfKmzE+yEsPlrValp/9EdgBLHjsdBAyJtOUU5jJnMvwXinm4hmLgbYVA0tx+FN8OOCYa0lhKNQEx+YsrhRg/vDQm2talY/JSs6K1R+iuevCXbSoSPbwpyw9nfedwvI3YRf2oFU/fWXgY1k04RPHFpSH8cFOcKOj1yLMSXcIVqM2DvwjnVq7VEH/fRBaSye+yGXfI05Lar7qWZ+bahTUtL+RWcEA== 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=/4BI1FAc8tyAzUDM6eO+k/T2FjOkiE/j6n3AscqbzRc=; b=RqaozHaeRptuMfma2ItLdEFxipSrgCmuzuNzKwfSXG7aJKgRgMK1bHoIFpJGXDGnQLgKB2ZXmsWKGYJcuXxXUiVD8m2YlRk6Ep6y09GoKf0l7c/JDlJk3wvaXi7RXbHGFyItvmh/0pCZWBx8rGME5U8wPUwb81jw8ApjbzYFH+w= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cornell.edu; Original-Received: from SA0PR04MB7322.namprd04.prod.outlook.com (2603:10b6:806:e2::7) by CH3PR04MB8861.namprd04.prod.outlook.com (2603:10b6:610:172::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.26; Fri, 18 Aug 2023 22:02:49 +0000 Original-Received: from SA0PR04MB7322.namprd04.prod.outlook.com ([fe80::6812:adb7:da15:573d]) by SA0PR04MB7322.namprd04.prod.outlook.com ([fe80::6812:adb7:da15:573d%5]) with mapi id 15.20.6699.020; Fri, 18 Aug 2023 22:02:49 +0000 Content-Language: en-US In-Reply-To: X-ClientProxiedBy: BL0PR02CA0025.namprd02.prod.outlook.com (2603:10b6:207:3c::38) To SA0PR04MB7322.namprd04.prod.outlook.com (2603:10b6:806:e2::7) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA0PR04MB7322:EE_|CH3PR04MB8861:EE_ X-MS-Office365-Filtering-Correlation-Id: 679284d0-498a-410b-5ae7-08dba036dc98 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: H7u58tAKpwJUGI1yvuyTNc0aSNk4K2BtHOOZHO7R1wpyB+hSTLIHY773Fi3WqDhd1PUwV3DVUNn1wAY+4Sy0k1kPypp8g0pvTHSCDUo3IvUeQqLmacdGXZMbWSkLn+qJgBvxi27YjLBmuKY5cbsDSeg5Y55lk34iKgcaqDbBrqRMVmIVgIOSOdAiOKo+ps7suAnx/8DGPhOvDbw7bKkF+2xtzikV5UeMP5nCJb61Cf6cmXj7vsnp50E/iVJsdOs7QRZxYpaSa3R1CNXY9qv3L8dzr7Y+xvEVZXofjfE66vfPR00h3XeRFCwyCbpPpxtT4Iuaq6ARolO3xDVJ1w+RRpebFZuLeLtJzFnFj8ikOASdGm8KXhOYASOKHogj3Sw8FRjmxrfa+GpjE4hs13Qu/Zx2sVDleywonY5BBaQMspAtf/mC/dhNNzy7tSHG3AY4vCKwm73NNTuEdkkVrcj0XD5g74F1G8FgTfeCheDIw92SeM0f/z3t6KZIsm7qMs9LwPKBmUqDMkHxxpusIhjT3PN2Aa2MoKr4HbPYsn/SqgvmdI+KLQ65aK5LQbl4UY6IcLE8UwDZdGGiKR0b1yoaiUAUApSkyl+MeDyjCEtfoo9cVQfhMllw0URRqTu81ZqMVLJZSjD4pc26HKD9DQE2LQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA0PR04MB7322.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(396003)(136003)(366004)(346002)(376002)(451199024)(186009)(1800799009)(110136005)(316002)(66946007)(786003)(66556008)(66476007)(31686004)(5660300002)(41300700001)(38100700002)(4326008)(8676002)(8936002)(26005)(2906002)(31696002)(83380400001)(75432002)(478600001)(86362001)(6506007)(6512007)(36756003)(6666004)(6486002)(2616005)(53546011)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3Zhe4swJE/FSelUJpNX7FJh+R+2d/JYUGFhbGI7VsB4B7g4E8OZH9R9q2cEbhEDQZOb2L36VN2S7IvHW08jru8S4AoEqHeL6Lo/716AAxQ2PNXI6UI0cMxMgwMsPvRMTtqv0Qg8Bi9V/SysZL7KpqjSfCzaToBLndvFIi+H/GfnKRtFtQ/YOkzm4mIixzvYfZNghkJvuD7Zu8KAFQAWt0LebccX9Km8WPDF69h2ZoIPNKoVUKhNCJo7PtJAE/HTtN1qghA9/0I/cSRTGZeBlALX4i7FZ5KmVlYzsHXag2UYzfXz0maIXiby/31A+UA0/hZdm3Vg3tP4onbuP9V5na2gWA6UsN80mMUb9l/cryrby5P/gkuREX2iVA08xOi8bi9PatIy3tqggyfwKgrTf0M1pFwtAHA62ZH4CHLBCl7Z3s4PX3aKSyVgNyhkKUyeAAG3PiKKIoVwFQ8R94/txMelB15Ag71PjA/Qkg4+H96fliM9iWpBJmE1tj04lgVSMiYH+bu35DmD7k5h3QaW+6DUlqWyb5wmy449XAqCiCcedTaH1zmFnKzRLcs/e4LeWWNypRU47F0GNpZEv2HddwFBrrEKioRcctMM488beb2vHQM/mOAEPUTBdSIeBZDDCxa0PJVsuVggvBiUD0Cx9RoAogSLNiRxRMfSBOM0tYI0u4aEujmSs27s3JAJmuVZZOb501o/h+KD/UT7ptFXzO31eI1eW/aO43oYqWSfjqyFHSA4Llen5CVleJV GUygOaev2SKhhloVGNvdkToLrtSvOUKS54iImV5vYiyoSppoHCioLfceXkgR9SLpoJJ2kHKd/dU7eZSACLBLAi3VMOpaGLqRXr X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 679284d0-498a-410b-5ae7-08dba036dc98 X-MS-Exchange-CrossTenant-AuthSource: SA0PR04MB7322.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2023 22:02:49.4136 (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: M+8AcxZxm4CVgNdi1aB7gy1U4PFqY/Q6JfypF6eYuBZUo0ZVwu+PPnXBxUNmbLGeZ/8H/kWzlc/VWrs2vy33sw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR04MB8861 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:267794 Archived-At: On 8/16/2023 1:49 PM, Ken Brown wrote: > On 8/16/2023 11:23 AM, Ken Brown wrote: >> On 8/16/2023 7:54 AM, Eli Zaretskii wrote: >>>> From: Bruno Haible >>>> Date: Wed, 16 Aug 2023 00:08:08 +0200 >>>> >>>> Building Emacs (git sources from today) on Cygwin 2.9.0/x86_64: >> >> This is a pretty old Cygwin release. >> >>>> 1. I configured in a subdirectory (VPATH build) with options >>>>       --disable-silent-rules --without-all --without-x >>>> 2. "make" succeeds. >>>> 3. "make check" leads to a process that is stuck, does not continue >>>>     for several hours. It does not eat much CPU time, but nevertheless, >>>>     something is blocked. Log file 'make-check.log' is attached. >>> >>> Thanks.  Alas, the maintainer of Cygwin Emacs (CC'ed) has been silent >>> for quite some time, so I'm not sure when and how this could be >>> addressed. >> >> I'll test this using the current Cygwin release. > > I can reproduce the hang.  But I don't get the hang in the default build > on my system (no configure options).  I'll have to play with the > configure options and try to figure out what's going on. OK, the hang in server-tests.el [and a similar hang in keyboard-tests.el] occurs when getchar is called at keyboard.c:3978. This call only occurs if dbus, file notification, and threads are all disabled, i.e., if the configure options without-dbus, without-file-notification, and without-threads are all specified or implied. I don't understand the keyboard code well enough to know (a) why we reach that call to getchar in the context of the hanging tests and (b) why getchar is only called in the absence of dbus, file notification, and threads. I can work around the problem by always avoiding that getchar call on Cygwin (i.e., by adding "&& !defined CYGWIN" at line 3972). With that change, all tests pass on Cygwin with Bruno's configure options. But I don't want to make that change without understanding what's going on. Can anyone help? Ken