Re: proc_waiter: error on read of child wait pipe 0x0, Win32 error 6

2022-01-12 Thread Jay K
I don't know why I didn't get the reply in email, but this is representative of the real world code.  - Jay From: Jay K Sent: Wednesday, January 12, 2022 6:27 AM To: cyg...@sourceware.org Subject: Re: proc_waiter: error on read of child wait pipe 0x0, Win32 error 6   Ok, here is a small demo

ExitProcess does not work in Cygwin?

2022-01-12 Thread Jay K
ExitProcess does not work in Cygwin? $ rm *.exe # u is for Unix # w is for Windows $ cat u.c #include int main() { exit(1); } $ gcc u.c $ ./a.exe $ echo $? 1 => as expected $ cat w.c #include int main() { ExitProcess(1); } $ gcc w.c $ ./a.exe $ echo $? 0 => not expected $ uname -a

Re: python-numpy (1.22.0-1) can't be imported

2022-01-12 Thread Marco Atzeri
On 12.01.2022 12:47, ggl329 wrote: Hi Marco, I upgraded python39-numpy to 1.22.0-1, and failed to import numpy. It seems that mtrand.cpython-39-x86_64-cygwin.dll does not have PyInit_mtrand. Could you check if numpy can be imported in your environment? working on it. In theory I have not c

Re: Dependency of python39-pip

2022-01-12 Thread Marco Atzeri
On 12.01.2022 12:21, marco atzeri wrote: On Wed, Jan 12, 2022 at 11:33 AM ggl329 wrote: Hi Marco, Dependency of python39-pip is misdirected, isn't it? [setup.ini] setup-timestamp: 1641920391 @ python39-pip depends2: alternatives, ca-certificates, python38-setuptools, python39

Re: posix_spawn issues on i686

2022-01-12 Thread Jeremy Drake via Cygwin
> > > Sorry, I am not subscribed to the list so don't have the message to reply > > > to for threading purposes > New developer snapshot is up at https://cygwin.com/snapshots/ > Please test. This works, and make's "make check" now gets the same results as it does when built with --disable-posix-s

Re: posix_spawn issues on i686

2022-01-12 Thread Ken Brown
On 1/12/2022 5:41 AM, Corinna Vinschen wrote: On Jan 11 16:08, Ken Brown wrote: I don't have time to check this carefully, but it looks to me like the problem is that process_spawnattr calls setegid and seteuid instead of setegid32 and seteuid32. This causes truncation of the gid and uid. You

Re: Cygwin setup writing incorrect symlinks for native

2022-01-12 Thread Jon Turney
On 12/01/2022 16:03, David Allsopp wrote: Jon Turney wrote: Please try: https://cygwin.com/setup/setup-2.915.x86_64.exe https://cygwin.com/setup/setup-2.915.x86.exe That's working (for cmd as well), thanks! Great! Thanks for reporting this problem and testing my several attempts

[ANNOUNCEMENT] Updated: setup (2.915)

2022-01-12 Thread Jon Turney
A new version of Setup (2.915) has been uploaded to: https://cygwin.com/setup-x86_64.exe (64 bit version) https://cygwin.com/setup-x86.exe (32 bit version) Changes compared to 2.912: - Various fixes for symlinks to absolute paths made when '--symlink-type native' is used Addresses: h

RE: Cygwin setup writing incorrect symlinks for native

2022-01-12 Thread David Allsopp
Jon Turney wrote: > On 09/01/2022 09:35, David Allsopp wrote: > > Jon Turney wrote: > >> On 06/01/2022 16:45, David Allsopp wrote: > >>> Jon Turney wrote: > On 06/01/2022 10:46, David Allsopp wrote: > > Running Cygwin setup 2.912 with --symlink-type native (or > > CYGWIN=winsymlinks:na

python-numpy (1.22.0-1) can't be imported

2022-01-12 Thread ggl329
Hi Marco, I upgraded python39-numpy to 1.22.0-1, and failed to import numpy. It seems that mtrand.cpython-39-x86_64-cygwin.dll does not have PyInit_mtrand. Could you check if numpy can be imported in your environment? $ python3.9 Python 3.9.9 (main, Dec 5 2021, 13:29:55) [GCC 11.2.0] on cygwin

Re: posix_spawn issues on i686

2022-01-12 Thread Corinna Vinschen
On Jan 12 11:41, Corinna Vinschen wrote: > On Jan 11 16:08, Ken Brown wrote: > > On 1/11/2022 1:45 PM, Jeremy Drake via Cygwin wrote: > > > Sorry, I am not subscribed to the list so don't have the message to reply > > > to for threading purposes, but attached please find a C reproducer that > > > w

Re: Dependency of python39-pip

2022-01-12 Thread marco atzeri
On Wed, Jan 12, 2022 at 11:33 AM ggl329 wrote: > > Hi Marco, > > Dependency of python39-pip is misdirected, isn't it? > > [setup.ini] > setup-timestamp: 1641920391 > @ python39-pip > depends2: alternatives, ca-certificates, python38-setuptools, python39 > >^

Re: posix_spawn issues on i686

2022-01-12 Thread Corinna Vinschen
On Jan 11 16:08, Ken Brown wrote: > On 1/11/2022 1:45 PM, Jeremy Drake via Cygwin wrote: > > Sorry, I am not subscribed to the list so don't have the message to reply > > to for threading purposes, but attached please find a C reproducer that > > works on x86_64 but fails on i686. The particular i

Dependency of python39-pip

2022-01-12 Thread ggl329
Hi Marco, Dependency of python39-pip is misdirected, isn't it? [setup.ini] setup-timestamp: 1641920391 @ python39-pip depends2: alternatives, ca-certificates, python38-setuptools, python39 ^^^python39-setuptools? Regards, -- ggl...@gmail.com -- Problem

[ANNOUNCEMENT] file 5.41-2

2022-01-12 Thread Corinna Vinschen via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * file-5.41-2 * file-devel-5.41-2 * python3-magic-5.41-2 This update rectifies a wrong dependency to python 3.8 in the 32 bit package and removes the obsolete python2 bindings. --- With file you can obtain information on the

Re: Duplicate ACLs? - Can't copy file even with Admin permissions

2022-01-12 Thread Corinna Vinschen
On Jan 10 14:46, Corinna Vinschen wrote: > On Jan 10 11:07, Corinna Vinschen wrote: > > On Jan 7 15:56, cyg...@kosowsky.org wrote: > > > > Corinna Vinschen wrote: > > > > On Jan 6 16:11, cyg...@kosowsky.org wrote: > > > > It is. I realized belatedly, that 3da9e136.acl is apparently a > > > > dir

Re: Inconsistent results from ls

2022-01-12 Thread Corinna Vinschen
On Jan 11 18:30, David wrote: > Folks > > I tried executing 'ls -l' on a file. I addressed the file in various ways, > with my current directory (in Windows) set to c:\temp > > ls -l test.txt > ls -l /cygdrive/c/temp/test.txt > ls -l > ls -l * > ls -l c:/temp/test.txt > > > In all cases, the ow

Re: [ANNOUNCEMENT] file 5.41-1

2022-01-12 Thread Corinna Vinschen
On Jan 12 06:55, Marco Atzeri wrote: > On 12.01.2022 03:01, Brian Inglis wrote: > > On 2022-01-11 11:45, Corinna Vinschen via Cygwin-announce wrote: > > > The following packages have been uploaded to the Cygwin distribution: > > > > > > * file-5.41-1 > > > * file-devel-5.41-1 > > > > Shouldn't th