delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/01/10/04:35:07

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 16ECC3858C2C
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yahoo.co.jp
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yahoo.co.jp
X-YMail-OSG: WJ6P39MVM1kfpe93vzDV7zyxZjtD_sJl7aVvEjI9HpKMhCYlXzwaQDrW6r2cuGg
H1M0oWUHUW6mthQ9QsU2.Eyi5aluyZzUp7NZOlGYi3bsNqhE5TO6j.H7YALQy_MahYDcpBFwBbYs
KXr.iCEhXIJOVgZXQ_MzBANYt2YS140U86FKtneFf8BwotFCfHP6z6hJIpf.Rqh.ghpF06_nb2BB
_8vFheVby.wiZo5YgkB.qdAjbE5IywBgZlmO9vvobMsoemM_ZnHq1tiwzNYOgOdlCQnPB6I0sZ8Y
QVls7G8eplJMFRrWXDpzmCTSVcuwhsYAcdm1ZMve_tzo6PynUQKiMuvEOYynj6iPMngc9jbc0NDz
kW5CT_f8Ev7p6i8VScuv0XUYcNkDhVx5XfMcFxb3BZ82e2UYHf42uTI90_2MPu9FoIVJwv5h7uSE
c0XcVBhncr6Hf1q1iYSuFioHNAWAWsmwCmBaqNP8DxFcyoMwIx2SoQr.fgxqxACi_pIlQobz_j_6
HcovAORVzoGn6Rk0N2HtbE6izdUCRmz3To8e0ZKd.sNSnHImxrQ9_6pBIWgLa13weKipu.evD6Yk
eiYhCVJVKMFrE1rndd2poRVvlVOLEYK06.6tgbodwWdX2sL4v5gshc9myAbkp89VKNX.CskjbWLK
ARoULNlv9CSCKtUeTq7jhHX5ynOj8CjLjiNsW1.0pDAALmSfafftjwY_q4kiM1zPrGiZBf3RSerC
hMk1db.BCq3todlLgNJa47ovpAp1FdVdDSK0uEHE8veaRtQGMvOdC_KrpRukNt.Knq2uiirKK3kt
1P21bS46dO7ANJGDn3l_hhOOjwn2_K_JiNH6HLz8ufa2Uc0xah9mdzjFTVRph_oFD3wW8pA--
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1641807279;
s=yj20110701; d=yahoo.co.jp;
h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References;
bh=g+sYW/z+TpkWdAW+EfXHJRjwb1b6UwRZepPlzuVb+JQ=;
b=sLFerW/LeD5VJyHSN6T/w/sQCZ4cSmNfmsBOFTXZ9/cvm+i3K6pCeFl4WWiziAwe
zvUEFDFNsqGACzNdpt8e+u1JGmu9ILI3wb3PTXPkLSNnjTGTkP0g8kh1yiP8EV7jW2m
ufjKTNE4rzlzvRfXfm1s31TBf+ZnptNEX8HbNMBo=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp;
h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References;
b=WsVZb6d0Y2WDLOOxfBftdpasu3Ual6VfAEAVlu0JTCTfYLYEtDRcG5QLuWXHAQes
Iz/8h0H9DFyQImo0F/umAxNkTQI/p5AgBQNojhYX2K1dFKQrJ2pdey0mGkgiO92NfHq
OSYnTQG6r9NSXz3I/1eubRzcg2g6lYTqQl7ypNXM=;
Date: Mon, 10 Jan 2022 18:34:37 +0900 (JST)
From: Tatsuro MATSUOKA <tmacchant2 AT yahoo DOT co DOT jp>
To: mark AT maxrnd DOT com, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <1418916945.1256064.1641807277537.JavaMail.yahoo@mail.yahoo.co.jp>
Subject: Re: qt terminal for gnuplot on cygwin workaround)
MIME-Version: 1.0
References: <1418916945 DOT 1256064 DOT 1641807277537 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT co DOT jp>
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: Tatsuro MATSUOKA <matsuoka AT nuce DOT nagoya-u DOT ac DOT jp>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 20A9Z5rB007523

> ----- Original Message ----- 
> From: "Mark Geisert" 
> To: "cygwin
> Date: 2022/01/10 月 15:36
> Subject: Re: qt terminal for gnuplot on cygwin workaround)
> Hi Tatsuro,
> 
> Tatsuro MATSUOKA wrote:
> > A workaround for qt enables qt termnal on Cygwin is shown by  Enrico Forestieri
> > https://sourceforge.net/p/gnuplot/mailman/gnuplot-beta/thread/16092 DOT 81463 DOT qm AT web103110 DOT mail DOT kks DOT yahoo DOT co DOT jp/
> > 
> > --- a/qtbase-everywhere-src-5.10.1/src/network/socket/qlocalsocket_unix.cpp
> > +++ b/qtbase-everywhere-src-5.10.1/src/network/socket/qlocalsocket_unix.cpp
> > @@ -239,7 +239,7 @@ void QLocalSocket::connectToServer(OpenM
> >       }
> > 
> >       // create the socket
> > -    if (-1 == (d->connectingSocket = qt_safe_socket(PF_UNIX, SOCK_STREAM, 0,
> > O_NONBLOCK))) {
> > +    if (-1 == (d->connectingSocket = qt_safe_socket(PF_UNIX, SOCK_STREAM,
> > 0))) {
> >           d->errorOccurred(UnsupportedSocketOperationError,
> >                          
> > QLatin1String("QLocalSocket::connectToServer"));
> >           return;
> > 
> > I myself generate library libQt5Network as libQt5Network-gnuplot and used gnuplot  build.
> > I dp not know that the modification avove is valid but enables me to use qt terminal on cygwin.
> 
> Apologies for the late response.  As quoted above, the patch changes the number of 
> args passed to qt_safe_socket() so maybe that's incorrect?
> 
> In any case I think the intent was to change the call from nonblocking to 
> blocking.  That seems likely to interfere with other socket or terminal I/O that 
> may be expected asynchronously.
> 
> I investigated the gnuplot vs Qterm problem several years ago and found the root 
> cause: deep within the Qt networking code a call to connect() wasn't expecting the 
> error EINPROGRESS to be returned.  POSIX decrees this error when a nonblocking 
> connect() cannot immediately be completed.  I opened a Qt BUG for this, but the Qt 
> folks declined to fix.  I then tried making a Cygwin-only patch but was stymied by 
> my inability to build Qt itself due to bit rot.
> 
> If we have or can get a recent Qt build completed, I can supply a patch to fix the 
> issue.
> 
> ..mark
I undersstand the current states for gnuplot and qt.
I am now wirking in my home and can use very old note PC.
So building of qt is very time comsuming jobs so I cannot to try.

I only build old qt-5.8.4 using tools by cugport.
Qt-5.9.4 cannot be built by gcc-11 and I downgrade gcc from 11 to 10.

I could only som dll files including cygQt5Network and used for patch work.

When I will use the recent PC, I will try the recent Qt build.(qt6 ?)

Tatsuro


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019