Re: Python regression related to unix sockets

2022-11-06 Thread Mark Geisert

Hi Fabian,

Fabian Henze wrote:

Hi all,

This is a follow-up on a mail thread from February 2021.

Mark Geisert via Cygwin wrote:

Fabian Henze via Cygwin wrote:

Hi Cygwin users,
I noticed a regression in the recent Python packages: Between version
3.6.10-1 and 3.6.12-2, accessing the SSH agent via the paramiko python
package broke. When a ssh agent is used, paramiko tries to connect to
it via the unix socket and just freezes. Python 3.8 is also affected,
but I don't know which was the last working one.
I was able to pinpoint that error to 3.6.12-socketmodule.patch [1].
Reverting/removing the patch fixes the ssh agent access.
A few weeks ago there was a discussion regarding "Problems with native
Unix domain sockets on Win 10/2019", but it seems unrelated as the
cygwin1.dll from [2] does not work for me.

Can you please check if you are able to reproduce that? I uploaded a
script [3] for that.

Best regards,
Fabian Henze


Thanks for the report and sorry you've run into this.  The patch is a 
workaround that's evidently too draconian.  I will debug the situation using 
your testcase.
Thank you very much for the testcase.


Did you (or anyone else) make any progress on this that you can share?
Unfortunately the issue still persists in all current python versions.
If no one has time to debug and fix this, would it be an option to remove the
3.6.12-socketmodule.patch that is causing the regression since it only fixes a
theoretical problem in unit tests, but causes real-world issues? Maybe the
upcoming (?) Python 3.10 or 3.11 bump would be a good candidate to do so?


Sorry for delay in responding; I've just returned from vacation.

Let me find my notes for this issue and see if I can improve on the patch or find 
some other solution for now-current versions of Python and/or Cygwin DLL.


..mark

--
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


Re: Incorrect results from 'cygpath -w' when having anaconda installed

2022-11-06 Thread Andrey Repin
Greetings, enri...@perezterron.net!

> Hello!

> I am having incorrect results from 'cygpath -w':

> ### I have the cygwin root directory in C:\cygwin64, as confirmed by 'cmd':
> $ cmd
> Microsoft Windows [Version 10.0.22621.674]
> (c) Microsoft Corporation. Med enerett.

> C:\cygwin64\home\Enrique>exit

> ### Cygwin thinks my home directory is:
> $ pwd
> /home/Enrique

> ### But 'cygpath -w' thinks ...
> $ cygpath -w /home/Enrique
> C:\Users\Enrique\anaconda3\Library\home\Enrique

> ### Investigating, I found that there is no 'home' in 
> C:\Users\Enrique\anaconda3\Library.
> ### Then I discovered this:
> $ mount
> C:/Users/Enrique/anaconda3/Library on / type ntfs (binary,noacl,auto)
> C:/Users/Enrique/anaconda3/Library/usr/bin on /bin type ntfs 
> (binary,noacl,auto)
> C: on /cygdrive/c type ntfs (binary,noacl,posix=0,user,noumount,auto)

> Huh ??? How does this work?
> Is there a way to hide the mounts done by anaconda?

> I guess some anaconda binaries want to find the 'Library' directory as the
> root, but cygwin continues to find its own root under C:/cygwin64. Why does
> it get tripped by the anaconda install just when doing the path translation?

Either you have two Cygwin version sinstalled, or your environment is screwed.
Please provide cygcheck output per https://cygwin.com/problems.html


-- 
With best regards,
Andrey Repin
Sunday, November 6, 2022 18:19:37

Sorry for my terrible english...


-- 
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


[ANNOUNCEMENT] Updated: Perl distributions

2022-11-06 Thread Achim Gratz


The following Perl distributions have been updated to their latest
release version available on CPAN:

x86/x86_64
--
 perl-DBD-SQLite-1.72-1
 perl-HTML-Parser-3.80-1

noarch
--
 perl-URI-5.17-1

-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

-- 
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


Updated: Perl distributions

2022-11-06 Thread Achim Gratz


The following Perl distributions have been updated to their latest
release version available on CPAN:

x86/x86_64
--
 perl-DBD-SQLite-1.72-1
 perl-HTML-Parser-3.80-1

noarch
--
 perl-URI-5.17-1

-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.