From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74545 invoked by alias); 5 Mar 2019 23:58:33 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 74538 invoked by uid 89); 5 Mar 2019 23:58:32 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:NNFMP, asks, tracker, H*M:JavaMail X-HELO: nh604-vm11.bullet.mail.ssk.yahoo.co.jp Received: from nh604-vm11.bullet.mail.ssk.yahoo.co.jp (HELO nh604-vm11.bullet.mail.ssk.yahoo.co.jp) (182.22.90.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with SMTP; Tue, 05 Mar 2019 23:58:29 +0000 Received: from [182.22.66.104] by nh604.bullet.mail.ssk.yahoo.co.jp with NNFMP; 05 Mar 2019 23:58:26 -0000 Received: from [182.22.91.131] by t602.bullet.mail.ssk.yahoo.co.jp with NNFMP; 05 Mar 2019 23:58:26 -0000 Received: from [127.0.0.1] by omp604.mail.ssk.yahoo.co.jp with NNFMP; 05 Mar 2019 23:58:26 -0000 Received: from jws700006.mail.kks.yahoo.co.jp by sendmailws502.mail.kks.yahoo.co.jp; Wed, 06 Mar 2019 08:58:26 +0000; 1551830306.055 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1551830306; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=nZEMWCXOuCa7I6S9AvWF4G+Nnt3sMYcIh7wum79F6lc=; b=OzGXTCrgN+hM+SzvJ42h+RKoUUFF7NpGgeKPTj+sjuS3WP6gEpDH7Gwrfq6FoN4d P79ziiACFB2BkiLvSsi1u5ejXYdSsU/Q5l7fdILo7SdIQmo2EhF93Y+NSmEUQqBKc+7 +ly+IMArxweCJMKDMw/O8WszQ2/OW7cC8+W6CHh0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Ph0VtluKWiljBRHPJbHU/V5geqGINK0GOKbc1mdfjy3x/gKpSJviV5mCoiT8kyZs X1UzpkdO6ODbiWR9QTHrpVqDZFTV/bfKGT4DncqhY9C7ZUtiszCehX6eZj8+RLEgu9T Tyny8g1mcpgIW/V4+stqmqk8ggWFlPsOe3MGOoyQ=; Date: Tue, 05 Mar 2019 23:58:00 -0000 From: Tatsuro MATSUOKA Reply-To: Tatsuro MATSUOKA To: Achim Gratz , Message-ID: <765948088.2262341.1551830305348.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <87d0n586qw.fsf@Rainer.invalid> References: <1439412702.1866573.1551653028041.JavaMail.yahoo.ref@mail.yahoo.co.jp> <1439412702.1866573.1551653028041.JavaMail.yahoo@mail.yahoo.co.jp> <0faa5fb55a0af4803fcdff786dba8be440355609.camel@cygwin.com> <1885179468.2217358.1551790639928.JavaMail.yahoo@mail.yahoo.co.jp> <87d0n586qw.fsf@Rainer.invalid> Subject: Re: Patch request to qt 5.9.4 (Re: [ANNOUNCEMENT] Qt 5.9.4) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00083.txt.bz2 > From: Achim Gratz > To: cygwin > Cc:=20 > Date: 2019/3/6, Wed 04:24 > Subject: Re: Patch request to qt 5.9.4 (Re: [ANNOUNCEMENT] Qt 5.9.4) >=20 >T atsuro MATSUOKA writes: >> I contacted with Enrico who tells me the patch that I have shown. >=20 > Yes, but that monkeys around the real problem.=C2=A0 What Yaakov is telli= ng > you is that there are two options and we don't know yet which one we > have to deal with. >=20 > If O_NONBLOCK is needed, but does not work correctly under Cygwin, then > that's a bug in Cygwin.=C2=A0 For this case, Corinna asks you to create an > STC that demonstrates the bug so it can be triaged without having to > work with something as complex as the Qt terminal in Cygwin. >=20 > If on the other hand O_NONBLOCK is in fact not needed and just shows > different behaviour on different systems without a bug in the > implementation being present, then upstream should remove that argument. >=20 >=20 > Regards, > Achim. Here I desribe another discussion on Bug tracker on gnuplot https://sourceforge.net/p/gnuplot/bugs/2147/ My summary from searching through the history shown in the links above: * gnuplot calls QLocalSocket::connectToServer("name") * Qt tries to open a named pipe for the socket using O_NONBLOCK * This fails because Cygwin has problems with non-blocking named=20 pipes. Back in 2010 Enrico Forestieri posted some simple examples of=20 this (standalone tests, no involvement of gnuplot code) but this=20 apparently did not lead to a fix.=20 * the Qt patch at the head of this bug report would make gnuplot work, but= needs to be wrapped in a conditional test for CYGWIN. I can=20 understand why upstream Qt would not want to deal with this.=20 Conclusion: We probably can't fix it in the gnuplot code. There is a triv= ial work-around that requires modifying the Qt source code, but=20 this would only make sense for the purpose of making a Qt package=20 specifically for Cygwin.=C2=A0 Tatsuro -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple