From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#14569: 24.3.50; bootstrap fails on Cygwin Date: Tue, 25 Jun 2013 09:55:44 -0400 Message-ID: <51C9A160.3000203@cornell.edu> References: <51BC720D.7080504@alice.it> <51BDB979.3040508@cornell.edu> <20130616150141.GB3622@ednor.casa.cgf.cx> <51BDFB25.8080101@cornell.edu> <51BE01EC.3000701@cornell.edu> <51C60DEB.8030804@alice.it> <51C75149.1070609@alice.it> <51C793FA.9070806@cs.ucla.edu> <51C8275A.4080307@cornell.edu> <51C886D5.3030704@alice.it> <51C8B4AD.7050609@cs.ucla.edu> <51C8DB3A.7050206@alice.it> <51C99C65.1020000@cornell.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1372168641 4600 80.91.229.3 (25 Jun 2013 13:57:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Jun 2013 13:57:21 +0000 (UTC) Cc: Paul Eggert , "14569@debbugs.gnu.org" <14569@debbugs.gnu.org> To: Angelo Graziosi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 25 15:57:21 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UrTkC-0006JM-9U for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Jun 2013 15:57:16 +0200 Original-Received: from localhost ([::1]:54675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrTkB-00043I-Vn for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Jun 2013 09:57:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrTk1-0003s6-OG for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2013 09:57:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrTk0-0004Yv-44 for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2013 09:57:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrTk0-0004Yh-0m for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2013 09:57:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UrTjy-0003fc-L8 for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2013 09:57:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Jun 2013 13:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14569 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14569-submit@debbugs.gnu.org id=B14569.137216859814073 (code B ref 14569); Tue, 25 Jun 2013 13:57:02 +0000 Original-Received: (at 14569) by debbugs.gnu.org; 25 Jun 2013 13:56:38 +0000 Original-Received: from localhost ([127.0.0.1]:40457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UrTjZ-0003ev-0G for submit@debbugs.gnu.org; Tue, 25 Jun 2013 09:56:37 -0400 Original-Received: from limestone5.mail.cornell.edu ([128.253.83.165]:43902) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UrTjW-0003en-6v for 14569@debbugs.gnu.org; Tue, 25 Jun 2013 09:56:35 -0400 X-CornellRouted: This message has been Routed already. Original-Received: from authusersmtp.mail.cornell.edu ([10.16.197.9]) by limestone5.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id r5PDtgjE026432; Tue, 25 Jun 2013 09:55:43 -0400 (EDT) Original-Received: from [192.168.1.9] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id r5PDtgmW031410 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 25 Jun 2013 09:55:42 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: <51C99C65.1020000@cornell.edu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75556 Archived-At: On 6/25/2013 9:34 AM, Ken Brown wrote: > On 6/24/2013 7:50 PM, Angelo Graziosi wrote: >> Only after applying this 2nd solution, i.e. the patch >> >> $ cat process.c.patch >> --- emacs-trunk/src/process.c 2013-06-24 12:28:49.562500000 +0200 >> +++ emacs/src/process.c 2013-06-25 01:11:52.890625000 +0200 >> @@ -7085,8 +7085,8 @@ >> Do this here, rather than early in Emacs initialization where it >> might make more sense, to try to avoid bugs in Cygwin glib >> (Bug#14569). */ >> { >> - GSource *source = g_child_watch_source_new (getpid ()); >> - g_source_unref (source); >> + /*GSource *source = g_child_watch_source_new (getpid ()); >> + g_source_unref (source);*/ >> } >> #endif >> >> the bootstrap completed *without* errors! (With just the first, the same >> errors shows up in the build log...) > > My experience is the same. Thanks for the reminder that it's necessary > to check the build log for error messages, even when the build appears > to complete successfully. Question for Paul: I'm trying to understand the code that led to this problem in the first place, and I'm puzzled by the asymmetry between block_child_signal and unblock_child_signal. The first blocks SIGCHLD, while the second unblocks *all* signals. Why is this the right thing to do? Ken