Re: multithreading broken in Cygwin 3.5.3

2024-05-29 Thread Bruno Haible via Cygwin
Takashi Yano wrote: > > My workaround implementation of pthread_once (in gnulib) looks like this: > > > > /* This would be the code, for > >typedef struct > > { > >pthread_mutex_t mutex; > >_Atomic unsigned int num_threads; > >_Atomic

Re: [PATCH] Cygwin: pthread: Fix a race issue introduced by the commit 2c5433e5da82

2024-05-29 Thread Bruno Haible via Cygwin
Takashi Yano wrote in cygwin-patches: > To avoid race issues, pthread::once() uses pthread_mutex. This caused > the handle leak which was fixed by the commit 2c5433e5da82. However, > this fix introduced another race issue, i.e., the mutex may be used > after it is destroyed. With th

Re: multithreading broken in Cygwin 3.5.3

2024-05-29 Thread Takashi Yano via Cygwin
On Wed, 29 May 2024 12:26:31 +0200 Bruno Haible wrote: > Takashi Yano wrote: > > As you mentioned in private mail to me, this seems to be a regression of > > pthread::once() introduced by > > commit 2c5433e5da8216aaf7458e50c63683c68fb0d3e8. > > > > I'll submit a patch for that issue shortly. > >

Re: multithreading broken in Cygwin 3.5.3

2024-05-29 Thread Bruno Haible via Cygwin
Takashi Yano wrote: > As you mentioned in private mail to me, this seems to be a regression of > pthread::once() introduced by > commit 2c5433e5da8216aaf7458e50c63683c68fb0d3e8. > > I'll submit a patch for that issue shortly. My workaround implementation of pthread_once (in gnulib) looks like

Re: multithreading broken in Cygwin 3.5.3

2024-05-29 Thread Takashi Yano via Cygwin
On Thu, 23 May 2024 20:09:09 +0200 Bruno Haible wrote: > In Cygwin 3.5.3, on different machines, I see 3 Gnulib tests failing by > timeout that worked perfectly fine in Cygwin 3.4.6 and older: > FAIL: test-call_once2.exe > FAIL: test-lock.exe > FAIL: test-pthread-once2.exe

Re: newer version of mingw64-*-win-iconv ?

2024-05-29 Thread Bruno Haible via Cygwin
Brian Inglis wrote: > Ran playground local and CI builds of these packages at v0.0.8 successfully: > > https://cygwin.com/cgi-bin2/jobs.cgi?srcpkg=mingw64-x86_64-win-iconv > https://cygwin.com/cgi-bin2/jobs.cgi?srcpkg=mingw64-x86_64-win-iconv and

Re: newer version of mingw64-*-win-iconv ?

2024-05-29 Thread Brian Inglis via Cygwin-apps
On 2024-05-28 19:12, Bruno Haible via Cygwin wrote: It would be useful if someone could rebuild the two packages https://cygwin.com/packages/summary/mingw64-i686-win-iconv.html https://cygwin.com/packages/summary/mingw64-x86_64-win-iconv.html based off the current git HEAD [1]. Reason

Re: newer version of mingw64-*-win-iconv ?

2024-05-29 Thread Brian Inglis via Cygwin
On 2024-05-28 19:12, Bruno Haible via Cygwin wrote: It would be useful if someone could rebuild the two packages https://cygwin.com/packages/summary/mingw64-i686-win-iconv.html https://cygwin.com/packages/summary/mingw64-x86_64-win-iconv.html based off the current git HEAD [1]. Reason

Run explorer.exe with Cygwin newgrp(1) - same user but different primary group

2024-05-28 Thread Dan Shelton via Cygwin
Hello! Does anyone know how to run Windows explorer.exe with Cygwin /bin/newgrp, so all new files created by explorer.exe use that new primary group, and all programs launched by explorer.exe use that same primary group? Dan -- Dan Shelton - Cluster Specialist Win/Lin/Bsd -- Problem reports

WinSG Re: [Ms-nfs41-client-devel] ANN: NFSv4.1 filesystem client Windows driver binaries for Windows 10/11 for testing, 2024-05-28 ...

2024-05-28 Thread Dan Shelton via Cygwin
On Tue, 28 May 2024 at 22:15, Cedric Blancher via Cygwin wrote: > > Good evening! > > For your consideration - we need FEEDBACK, please! > > New is support running it as service (sc start > ms-nfs41-client-service), setgid()/newgrp support (with a new winsg > utility to

newer version of mingw64-*-win-iconv ?

2024-05-28 Thread Bruno Haible via Cygwin
to GNU libiconv; all encodings that it supports, other than EUC-JP and GB18030, have reasonably good conversion tables. Wherease the current Cygwin packages are based off source code from 2013 and have a major problem already with the ASCII encoding. Regards, Bruno [1] https://github.com

Fwd: [Ms-nfs41-client-devel] ANN: NFSv4.1 filesystem client Windows driver binaries for Windows 10/11 for testing, 2024-05-28 ...

2024-05-28 Thread Cedric Blancher via Cygwin
I/Unicode characters in mount path - Support ssh forwarding, e.g. mounting NFSv4 filesystems via ssh tunnel - Support for long paths (up to 4096 bytes), no Windows MAXPATH limit - Unicode support - UNC paths - IPv6 support in UNC paths - /sbin/nfs_mount prints UNC paths in Win32+Cygwin forma

Re: [PATCH v1] Cygwin: disable high-entropy VA for ldh

2024-05-28 Thread Jeremy Drake via Cygwin-patches
On Tue, 28 May 2024, Jeremy Drake via Cygwin-patches wrote: > @@ -53,6 +53,7 @@ cygcheck_LDADD = -lz -lwininet -lshlwapi -lpsapi -lntdll Oops, I accidentally generated this patch against msys2-3.5.3 branch, rather than cygwin master like the last one. The only difference is the line numb

[PATCH v1] Cygwin: disable high-entropy VA for ldh

2024-05-28 Thread Jeremy Drake via Cygwin-patches
If ldd is run against a DLL which links to the Cygwin DLL, ldh will end up loading the Cygwin DLL dynamically, much like cygcheck or strace. Addresses: https://cygwin.com/pipermail/cygwin/2024-May/255991.html Fixes: 60675f1a7eb2 ("Cygwin: decouple shared mem regions from Cygwin DLL")

Re: [PATCH] Cygwin: disable high-entropy VA for ldh

2024-05-28 Thread Jeremy Drake via Cygwin-patches
On Tue, 28 May 2024, Takashi Yano wrote: > On Mon, 27 May 2024 22:36:07 -0700 (PDT) > Jeremy Drake wrote: > > If ldd is run against a DLL or EXE which links to the Cygwin DLL, ldh > > will end up loading the Cygwin DLL dynamically, much like cygcheck or > > strace. &

Re: new git update fails with fatal: fetch-pack: invalid index-pack output

2024-05-28 Thread ASSI via Cygwin
Adam Dinwoodie via Cygwin writes: > Thanks for the report. This is working fine for me locally. Can you > please upgrade, check the problem is still recurring, and provide the > output from `cygcheck -srv >cygcheck.out`? This issue is most likely an upstream regression that was eithe

Re: new git update fails with fatal: fetch-pack: invalid index-pack output

2024-05-28 Thread Brian Inglis via Cygwin
On 2024-05-27 16:10, Dan Shelton via Cygwin wrote: I can replicate the 'fatal: fetch-pack: invalid index-pack output' error with https://github.com/gcc-mirror/gcc.git, but only every 11-20 attempts. I think this is a race condition somewhere, maybe in the threading code? SO suggestions

Re: calm: SPDX licence list data update please

2024-05-28 Thread Brian Inglis via Cygwin-apps
On 2024-05-27 15:15, Jon Turney via Cygwin-apps wrote: On 24/05/2024 17:08, Brian Inglis via Cygwin-apps wrote: Can we please get the SPDX licence list data updated in calm to 3.24 sometime if possible as the licences complained about below have been in I thought I wrote about

Re: TeX Live 2024:: asympote 2.88-1 hangs after outputting a pdf

2024-05-28 Thread Lemures Lemniscati via Cygwin
On Mon, 27 May 2024 11:14:29 -0400, Ken Brown via Cygwin > On 5/27/2024 5:17 AM, Lemures Lemniscati via Cygwin wrote: > > On Sun, 26 May 2024 18:02:54 -0400, Ken Brown via Cygwin > > Here is a log from gdb. Will it help? > > run > > info threads > > info st

[PATCH] Cygwin: disable high-entropy VA for ldh

2024-05-27 Thread Jeremy Drake via Cygwin-patches
If ldd is run against a DLL or EXE which links to the Cygwin DLL, ldh will end up loading the Cygwin DLL dynamically, much like cygcheck or strace. Addresses: https://cygwin.com/pipermail/cygwin/2024-May/255991.html Fixes: 60675f1a7eb2 ("Cygwin: decouple shared mem regions from Cygwi

Re: frequent hangs running ldd

2024-05-27 Thread Takashi Yano via Cygwin
f(0x0226[+executable_image,+line_nums_stripped,+bigaddr,+sepdbg]) > > pe(0x0140[+dynamicbase,+nxcompat]) > > You are right! > > It seems that VirtualAlloc() in cygheap_init() in mm/cygheap.cc > fails when the address range which cygwin uses is occupied due to > high-entropy

Re: frequent hangs running ldd

2024-05-27 Thread Takashi Yano via Cygwin
t; > Sorry, that was peflags -e0 not -d0 (dynamicbase is still on): > $ peflags -v /usr/bin/ldh.exe > /usr/bin/ldh.exe: > coff(0x0226[+executable_image,+line_nums_stripped,+bigaddr,+sepdbg]) > pe(0x0140[+dynamicbase,+nxcompat]) You are right! It seems that VirtualAlloc() in cygheap_init() i

Re: new git update fails with fatal: fetch-pack: invalid index-pack output

2024-05-27 Thread David Dyck via Cygwin
ub.com/lxml/lxml.git ; do date ; done at the moment the above loop runs hundreds of times without errors On Mon, May 27, 2024 at 1:31 PM Adam Dinwoodie wrote: > > > I've just set up a test sandbox with the same set of Cygwin > applications installed, and I'm still not able t

Re: Please update nasm package

2024-05-27 Thread Takashi Yano via Cygwin-apps
On Tue, 28 May 2024 07:50:08 +0900 Takashi Yano via Cygwin-apps wrote: > On Mon, 27 May 2024 21:18:08 +0200 > Michal Feix wrote: > > > I'm planning to submit ITP for dav1d > > > https://code.videolan.org/videolan/dav1d > > > and tried to build it on cygwin, howe

Re: Please update nasm package

2024-05-27 Thread Takashi Yano via Cygwin-apps
On Mon, 27 May 2024 21:18:08 +0200 Michal Feix wrote: > > I'm planning to submit ITP for dav1d > > https://code.videolan.org/videolan/dav1d > > and tried to build it on cygwin, however, it failed because > > nasm is too old. The current stable version is 2.16.03 while &g

Re: new git update fails with fatal: fetch-pack: invalid index-pack output

2024-05-27 Thread Dan Shelton via Cygwin
I can replicate the 'fatal: fetch-pack: invalid index-pack output' error with https://github.com/gcc-mirror/gcc.git, but only every 11-20 attempts. I think this is a race condition somewhere, maybe in the threading code? Dan On Mon, 27 May 2024 at 21:45, Csaba Ráduly via Cygwin wrote

Re: [PATCH cygport] bin/cygport.in: Allow `-fdebug-prefix-map` to be selected instead of `-ffile-prefix-map`

2024-05-27 Thread Jon Turney via Cygwin-apps
On 25/05/2024 08:25, Daisuke Fujimura via Cygwin-apps wrote: Having seen this commit ( https://cygwin.com/git/?p=cygwin-apps/cygport.git;a=commit;h=9e82685e32f6717675e9f6bf55dd1336e3fc3831 ), I understand that this is problematic from a reproducibility point of view, but I would like to be able

Re: calm: SPDX licence list data update please

2024-05-27 Thread Jon Turney via Cygwin-apps
On 24/05/2024 17:08, Brian Inglis via Cygwin-apps wrote: Hi folks, Can we please get the SPDX licence list data updated in calm to 3.24 sometime if possible as the licences complained about below have been in I thought I wrote about this the last time you asked, but obviously

Re: Package import request from CTM

2024-05-27 Thread Jon Turney via Cygwin-apps
On 27/05/2024 20:39, Michal Feix via Cygwin-apps wrote: Dear all, as suggested on https://cygwin.com/packaging/repos.html let me kindly ask for an import of a 'nasm' package history from CTM into GIT repository. Sure, no problem. History is now imported at: https://cygwin.com/cgit/cygwin

Re: new git update fails with fatal: fetch-pack: invalid index-pack output

2024-05-27 Thread Adam Dinwoodie via Cygwin
On Sun, 26 May 2024 at 23:45, David Dyck via Cygwin wrote: > > After updating I still get the same error. > > $ git clone -v https://github.com/lxml/lxml.git > Cloning into 'lxml'... > POST git-upload-pack (175 bytes) > POST git-upload-pack (gzip 8652 to 4282 bytes) > rem

Re: new git update fails with fatal: fetch-pack: invalid index-pack output

2024-05-27 Thread Brian Inglis via Cygwin
On 2024-05-26 16:44, David Dyck via Cygwin wrote: After updating I still get the same error. $ git clone -v https://github.com/lxml/lxml.git Cloning into 'lxml'... POST git-upload-pack (175 bytes) POST git-upload-pack (gzip 8652 to 4282 bytes) remote: Enumerating objects: 33941, done. remote

Re: SSH key update

2024-05-27 Thread Jon Turney via Cygwin-apps
On 27/05/2024 20:20, Michal Feix via Cygwin-apps wrote: BEGIN SSH2 PUBLIC KEY Comment: "3072-bit RSA, converted by feixm@michal-pc from OpenSSH" B3NzaC1yc2EDAQABAAABgQDjQ9jbOytPr/sPDwIbjtFeJqBuDymxzuicJ8NpIN Osoxkagb0WOLPsSjTgDbftDTCw1QOvCrVP09KvLY76MK8zNIt/97N7w/OmB0

Re: new git update fails with fatal: fetch-pack: invalid index-pack output

2024-05-27 Thread Csaba Ráduly via Cygwin
On 26/05/2024 14:03, Adam Dinwoodie via Cygwin wrote: On Sun, 26 May 2024 at 05:10, David Dyck via Cygwin wrote: I upgraded to the most recent git and I get the following error ( stable2.45.1-1x86_648597 KiB2024-05-25 18:58 ) $ git clone -v https://github.com/lxml/lxml.git Cloning into 'lxml

Package import request from CTM

2024-05-27 Thread Michal Feix via Cygwin-apps
Dear all, as suggested on https://cygwin.com/packaging/repos.html let me kindly ask for an import of a 'nasm' package history from CTM into GIT repository. Best, -- Michal Feix

SSH key update

2024-05-27 Thread Michal Feix via Cygwin-apps
Name: Michal Feix BEGIN SSH2 PUBLIC KEY Comment: "3072-bit RSA, converted by feixm@michal-pc from OpenSSH" B3NzaC1yc2EDAQABAAABgQDjQ9jbOytPr/sPDwIbjtFeJqBuDymxzuicJ8NpIN Osoxkagb0WOLPsSjTgDbftDTCw1QOvCrVP09KvLY76MK8zNIt/97N7w/OmB0iWv9v1LEuT

Re: Please update nasm package

2024-05-27 Thread Michal Feix via Cygwin-apps
Hi, I'm planning to submit ITP for dav1d https://code.videolan.org/videolan/dav1d and tried to build it on cygwin, however, it failed because nasm is too old. The current stable version is 2.16.03 while cygwin package version is 2.13.01. Could the maintainer please update the nasm package? Hi

Re: TeX Live 2024:: asympote 2.88-1 hangs after outputting a pdf

2024-05-27 Thread Ken Brown via Cygwin
On 5/27/2024 5:17 AM, Lemures Lemniscati via Cygwin wrote: On Sun, 26 May 2024 18:02:54 -0400, Ken Brown via Cygwin Here is a log from gdb. Will it help? run info threads info stack list $ HOME=/tmp gdb --args asy -vv -f pdf test [...] Thread 5 "sig" received signal SIGT

Re: Cygwin setup-x86_64.exe cannot install into UNC paths...

2024-05-27 Thread Andrey Repin via Cygwin
Greetings, Roland Mainz! > I tried to install Cygwin on a network share using the UNC path name Very. Bad. Idea. > (e.g. \\derfwnb4966_ipv4@2049\nfs4\storagetek\cygwintest001\), but got > this response: "The install directory must be absolute, with both a > drive letter and le

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-27 Thread Andrey Repin via Cygwin
Greetings, Martin Wege! > On Sun, May 26, 2024 at 7:35 PM Andrey Repin wrote: >> >> Greetings, Martin Wege! >> >> >> Can Cygwin be installed as a normal user (without Admin rights) in a >> >> > nonstandard location, like C.\Users\martinw

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-27 Thread Roland Mainz via Cygwin
On Sat, May 25, 2024 at 11:53 PM Martin Wege via Cygwin wrote: > Can Cygwin be installed as a normal user (without Admin rights) in a > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)? > > Also, can this be done for more than one Cygwin version, e.g. I'd like > t

Re: Cygwin setup-x86_64.exe cannot install into UNC paths...

2024-05-27 Thread Roland Mainz via Cygwin
On Mon, May 27, 2024 at 1:11 PM Roland Mainz wrote: > I tried to install Cygwin on a network share using the UNC path name > (e.g. \\derfwnb4966_ipv4@2049\nfs4\storagetek\cygwintest001\), but got > this response: "The install directory must be absolute, with both a > drive l

Cygwin setup-x86_64.exe cannot install into UNC paths...

2024-05-27 Thread Roland Mainz via Cygwin
Hi! I tried to install Cygwin on a network share using the UNC path name (e.g. \\derfwnb4966_ipv4@2049\nfs4\storagetek\cygwintest001\), but got this response: "The install directory must be absolute, with both a drive letter and leading slash, like C:\Cygwin" ... ... is i

Re: TeX Live 2024:: asympote 2.88-1 hangs after outputting a pdf

2024-05-27 Thread Lemures Lemniscati via Cygwin
On Sun, 26 May 2024 18:02:54 -0400, Ken Brown via Cygwin > On 5/26/2024 12:11 AM, Lemures Lemniscati via Cygwin wrote: > > But, now, asy hangs after outputting a pdf. > > > > How to reproduce: > > > > 1. Prepare test.asy: > > > > // test.asy > &

Please update nasm package

2024-05-27 Thread Takashi Yano via Cygwin-apps
Hi, I'm planning to submit ITP for dav1d https://code.videolan.org/videolan/dav1d and tried to build it on cygwin, however, it failed because nasm is too old. The current stable version is 2.16.03 while cygwin package version is 2.13.01. Could the maintainer please update the nasm package

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-27 Thread Martin Wege via Cygwin
On Sun, May 26, 2024 at 7:35 PM Andrey Repin wrote: > > Greetings, Martin Wege! > > >> Can Cygwin be installed as a normal user (without Admin rights) in a > >> > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)? > >> > > >>

Re: TeX Live 2024:: asympote 2.88-1 hangs after outputting a pdf

2024-05-26 Thread Ken Brown via Cygwin
On 5/26/2024 12:11 AM, Lemures Lemniscati via Cygwin wrote: But, now, asy hangs after outputting a pdf. How to reproduce: 1. Prepare test.asy: // test.asy dot((0,0)); // test.asy 2. `asy -vv test.asy` will successfully write test.eps. 3. But, `asy -vv -f pdf test.asy` will hang after gs

Re: new git update fails with fatal: fetch-pack: invalid index-pack output

2024-05-26 Thread Brian Inglis via Cygwin
On 2024-05-26 06:03, Adam Dinwoodie via Cygwin wrote: On Sun, 26 May 2024 at 05:10, David Dyck via Cygwin wrote: I upgraded to the most recent git and I get the following error ( stable2.45.1-1x86_648597 KiB2024-05-25 18:58 ) $ git clone -v https://github.com/lxml/lxml.git Cloning into 'lxml

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-26 Thread Andrey Repin via Cygwin
Greetings, Martin Wege! >> Can Cygwin be installed as a normal user (without Admin rights) in a >> > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)? >> > >> > Also, can this be done for more than one Cygwin version, e.g. I'd like >> > to

Re: new git update fails with fatal: fetch-pack: invalid index-pack output

2024-05-26 Thread Adam Dinwoodie via Cygwin
On Sun, 26 May 2024 at 05:10, David Dyck via Cygwin wrote: > > I upgraded to the most recent git and I get the following error > ( stable2.45.1-1x86_648597 KiB2024-05-25 18:58 ) > > $ git clone -v https://github.com/lxml/lxml.git > Cloning into 'lxml'... > POST git-upload-pa

Add support for epoll.h to Cygwin

2024-05-26 Thread Đoàn Bảo Trung via Cygwin-apps
Dear Cygwin team, In order to extend Cygwin support for Linux applications. Please consider adding support for epoll.h into your system. I found some sources that may work. Please check. Upoll: https://drive.google.com/file/d/1shiAHs_igbJt8MDyjShVnSM8uPOaAmZY/view?usp=sharing Cygepoll: https

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-26 Thread Martin Wege via Cygwin
On Sun, May 26, 2024 at 2:14 AM Bill Stewart via Cygwin wrote: > > On Sat, May 25, 2024 at 3:54 PM Martin Wege wrote: > > Can Cygwin be installed as a normal user (without Admin rights) in a > > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)? > > &g

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-26 Thread Andrey Repin via Cygwin
Greetings, Martin Wege! > Can Cygwin be installed as a normal user (without Admin rights) in a > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)? Yes, and there's no such thing as "standard location". > Also, can this be done for more than one Cygwin ver

Re: TeX Live 2024:: asympote 2.88-1 hangs after outputting a pdf

2024-05-25 Thread Lemures Lemniscati via Cygwin
On Wed, 27 Mar 2024 16:51:48 -0400, Ken Brown via Cygwin-announce > * asymptote-2.88-1 > > Asymptote is a powerful descriptive vector graphics language for technical > drawing, inspired by MetaPost but with an improved C++-like syntax. > Asymptote provides for figures the sa

new git update fails with fatal: fetch-pack: invalid index-pack output

2024-05-25 Thread David Dyck via Cygwin
I upgraded to the most recent git and I get the following error ( stable2.45.1-1x86_648597 KiB2024-05-25 18:58 ) $ git clone -v https://github.com/lxml/lxml.git Cloning into 'lxml'... POST git-upload-pack (175 bytes) POST git-upload-pack (gzip 8652 to 4281 bytes) remote: Enumerating objects:

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-25 Thread Bill Stewart via Cygwin
On Sat, May 25, 2024 at 3:54 PM Martin Wege wrote: Can Cygwin be installed as a normal user (without Admin rights) in a > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)? > > Also, can this be done for more than one Cygwin version, e.g. I'd like > to test multiple Cyg

Updated: curl/libcurl-doc/-devel/4, mingw64-x86_64-curl 8.8

2024-05-25 Thread Cygwin curl Maintainer
authentication (Basic, Digest, NTLM, Negotiate...), file transfer resume, proxy tunneling and a busload of other useful tricks. For more information see the project home page: https://curl.se/ The following packages have been upgraded in the Cygwin distribution: * curl 8.8

LD_PRELOAD for Win32?

2024-05-25 Thread Martin Wege via Cygwin
Hello, Does Cygwin or Win32 have something like LD_PRELOAD, so I can override/substitute functions in a DLL or EXE, like it is common for UNIX/Linux ELF shared libraries? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq

Installing Cygwin as normal user in nonstandard location?

2024-05-25 Thread Martin Wege via Cygwin
Hello, Can Cygwin be installed as a normal user (without Admin rights) in a nonstandard location, like C.\Users\martinwege\cygwinroot36\...)? Also, can this be done for more than one Cygwin version, e.g. I'd like to test multiple Cygwin versions in parallel. Thanks, Martin -- Problem reports

git 2.45.1-1

2024-05-25 Thread Adam Dinwoodie via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * git-2.45.1-1 * git-cvs-2.45.1-1 * git-debuginfo-2.45.1-1 * git-email-2.45.1-1 * git-gui-2.45.1-1 * git-p4-2.45.1-1 * git-svn-2.45.1-1 * gitk-2.45.1-1 * gitweb-2.45.1-1 Git is a free and open source distributed version

[PATCH cygport] bin/cygport.in: Allow `-fdebug-prefix-map` to be selected instead of `-ffile-prefix-map`

2024-05-25 Thread Daisuke Fujimura via Cygwin-apps
Having seen this commit ( https://cygwin.com/git/?p=cygwin-apps/cygport.git;a=commit;h=9e82685e32f6717675e9f6bf55dd1336e3fc3831 ), I understand that this is problematic from a reproducibility point of view, but I would like to be able to specify a `-fdebug-prefix-map` because C sources with code

Re: frequent hangs running ldd

2024-05-24 Thread Jeremy Drake via Cygwin
On Fri, 24 May 2024, Jeremy Drake wrote: > On Fri, 24 May 2024, Jeremy Drake wrote: > > > Looking at !address, it seems Windows put the PEB, TEBs, and stacks in the > > area where the cygheap should be. Way to go, ASLR :P > > I think the fix for this would be to add -Wl,--disable-high-entropy-va

Re: frequent hangs running ldd

2024-05-24 Thread Jeremy Drake via Cygwin
On Fri, 24 May 2024, Jeremy Drake wrote: > Looking at !address, it seems Windows put the PEB, TEBs, and stacks in the > area where the cygheap should be. Way to go, ASLR :P I think the fix for this would be to add -Wl,--disable-high-entropy-va to ldh_LDFLAGS, as was done for strace and cygcheck

Re: frequent hangs running ldd

2024-05-24 Thread Jeremy Drake via Cygwin
On Fri, 24 May 2024, Jeremy Drake wrote: > On Fri, 24 May 2024, Jeremy Drake wrote: > > > Windbg reports that ldh.exe is already being debugged. I was able to do a > > "non-invasive" attach to ldh.exe in windbg, but it doesn't seem to be able > > to deal with the split debug symbols (gnulink?).

Re: frequent hangs running ldd

2024-05-24 Thread Mark Geisert via Cygwin
On 5/24/2024 3:26 PM, Jeremy Drake via Cygwin wrote: On Sat, 25 May 2024, Takashi Yano wrote: On Fri, 24 May 2024 14:46:40 -0700 (PDT) Jeremy Drake wrote: Thanks for the report. However, I cannot reproduce the issue. If it always hangs in GetConsoleProcessList (), I doubt it is not a cygwin

Re: frequent hangs running ldd

2024-05-24 Thread Jeremy Drake via Cygwin
On Fri, 24 May 2024, Jeremy Drake wrote: > Windbg reports that ldh.exe is already being debugged. I was able to do a > "non-invasive" attach to ldh.exe in windbg, but it doesn't seem to be able > to deal with the split debug symbols (gnulink?). I don't know if gdb can > do a non-invasive attach

Re: frequent hangs running ldd

2024-05-24 Thread Jeremy Drake via Cygwin
On Sat, 25 May 2024, Takashi Yano wrote: > On Fri, 24 May 2024 14:46:40 -0700 (PDT) > Jeremy Drake wrote: > > > Thanks for the report. However, I cannot reproduce the issue. > > > If it always hangs in GetConsoleProcessList (), I doubt it is not a cygwin >

Re: frequent hangs running ldd

2024-05-24 Thread Mark Geisert via Cygwin
On 5/24/2024 3:17 PM, Takashi Yano via Cygwin wrote: On Fri, 24 May 2024 14:46:40 -0700 (PDT) Jeremy Drake wrote: Thanks for the report. However, I cannot reproduce the issue. If it always hangs in GetConsoleProcessList (), I doubt it is not a cygwin bug but a windows bug. By any chance

Re: frequent hangs running ldd

2024-05-24 Thread Takashi Yano via Cygwin
On Fri, 24 May 2024 14:46:40 -0700 (PDT) Jeremy Drake wrote: > > Thanks for the report. However, I cannot reproduce the issue. > > If it always hangs in GetConsoleProcessList (), I doubt it is not a cygwin > > bug but a windows bug. > > > > By any chance, is the n

Re: frequent hangs running ldd

2024-05-24 Thread Jeremy Drake via Cygwin
On Sat, 25 May 2024, Takashi Yano wrote: > Thanks for the report. However, I cannot reproduce the issue. > If it always hangs in GetConsoleProcessList (), I doubt it is not a cygwin > bug but a windows bug. > > By any chance, is the number of processes that attach to the same

Re: frequent hangs running ldd

2024-05-24 Thread Takashi Yano via Cygwin
On Sat, 25 May 2024 04:54:24 +0900 Takashi Yano wrote: > By any chance, is the number of processes that attach to the same pty more > than 32768 in your environment? s/32768/8192/ -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: frequent hangs running ldd

2024-05-24 Thread Takashi Yano via Cygwin
t; #3 0x7ffecbfb8195 in KERNELBASE!GetConsoleProcessList () >from /c/Windows/System32/KERNELBASE.dll > #4 0x00018015851f in fhandler_pty_common::get_console_process_id ( > pid=19348, match=match@entry=true, cygwin=cygwin@entry=false, > stub_only=stub_only@entry=fals

frequent hangs running ldd

2024-05-24 Thread Jeremy Drake via Cygwin
0x00018015851f in fhandler_pty_common::get_console_process_id ( pid=19348, match=match@entry=true, cygwin=cygwin@entry=false, stub_only=stub_only@entry=false, nat=nat@entry=false) at /C/_/msys2-runtime/src/msys2-runtime/winsup/cygwin/fhandler/pty.cc:95 #5 0x000180101e3b in fhandler_console

Updated: man-pages-linux 6.8-2

2024-05-24 Thread Cygwin Linux Man Pages Maintainer
/man-pages/ The following package has been upgraded in the Cygwin distribution: * man-pages-linux 6.8-2 This Cygwin release stamps all pages with package version and release, and handles some pages with names differing only in case; the build also performs some tests to ensure all sections

Re: calm: SPDX licence list data update please

2024-05-24 Thread Brian Inglis via Cygwin-apps
Hi folks, Can we please get the SPDX licence list data updated in calm to 3.24 sometime if possible as the licences complained about below have been in releases for nearly a year since 3.21: On 2024-05-24 02:18, cygwin-no-re...@cygwin.com wrote: INFO: package 'man-pages-linux': errors

Re: [PATCH cygport] pkg_info.cygpart: Do not detect dependencies on itself in ruby package

2024-05-24 Thread Daisuke Fujimura via Cygwin-apps
Using cygport-0.36.9-1 with this patch merged in, it was confirmed that a ruby-3.3.1 package could be created in the local development environment. Thank you for merging. On Mon, May 6, 2024 at 11:12 PM Jon Turney wrote: > > On 03/04/2024 15:18, Daisuke Fujimura via Cygwin-apps wrote: >

Re: an mbrtoc32 bug

2024-05-23 Thread Bruno Haible via Cygwin
The test case that I sent uses UTF-8 encoding. Here's another test case, that uses GB18030 (supposedly supported since Cygwin 3.5.0). It fails as well, in line 26. On glibc systems, this test works. #include #include #include #include #include #include #include int main () { assert

an mbrtoc32 bug

2024-05-23 Thread Bruno Haible via Cygwin
In Cygwin 3.5.3, the attached program has an assertion failure in line 24: bytes is not (size_t)-2. How to reproduce: $ gcc -Wall foo.c $ ./a I think this is a bug, because - ISO C 23 § 7.30.1.5 talks about "completing" a character, not "representing" an (entire) cha

Re: Team Cymru mirror link update

2024-05-23 Thread Jon Turney via Cygwin
On 22/05/2024 16:38, Tom Ludwig via Cygwin wrote: Greetings! My name is Tom and I'm a Systems administrator at Team Cymru. Please update our mirror link from http to https://mirror.team-cymru.com/cygwin/ I have updated this in our mirror list. Thanks for providing a cygwin mirror

multithreading broken in Cygwin 3.5.3

2024-05-23 Thread Bruno Haible via Cygwin
Hi, In Cygwin 3.5.3, on different machines, I see 3 Gnulib tests failing by timeout that worked perfectly fine in Cygwin 3.4.6 and older: FAIL: test-call_once2.exe FAIL: test-lock.exe FAIL: test-pthread-once2.exe Find here attached a simplified version of test-pthread-once2.c. Compile

sethostname does not reject a too long hostname

2024-05-23 Thread Bruno Haible via Cygwin
The sethostname() system call is not standardized by POSIX, only by the LSB: https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-sethostname-2.html In particular, it should fail with EINVAL if "len is negative or larger than the maximum allowed size".

Potential Bug: Created files list owner/user exec until Windows reorders permissions

2024-05-23 Thread Ross Patterson via Cygwin
TL;DR: Weird permissions behavior in a Cygwin installation where permissions have been changed over time. I can't reproduce it on a clean install so that's how I'm working around it, but I thought it might be worth capturing what details I have in case it helps others or helps identify a bug

Your order update WMBLYA9158572082

2024-05-23 Thread No reply#2375172047 via Cygwin
cygwin, The Orders via 9158572082 must be filled out in their entirety. InvoiceEKJW9158572082.pdf Description: Binary data -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info

ftp.acc.umu.se domain move

2024-05-23 Thread Niklas Edmundsson via Cygwin
Hi! The contact information, and preferably the host/mirror name, for the mirror provided by Academic Computer Club (ACC) needs to be changed as ACC is moving to a new domain. To verify the validity of this message, point a web browser towards https://ftp.acc.umu.se/ and notice that the

Please update keychain to 2.8.5 (Updated .cygport file attached)

2024-05-23 Thread Ken Takata via Cygwin
Hi all, Cygwin's keychain package is very old and doesn't work at all with the latest openssh. I've updated keychain.cygport for the latest version of keychain. Please find the attached file. Could you include this in the cygwin package repository and release a new version? Regards, Ken Takata

Vlad from Infatica to cygwin's team | App Monetization

2024-05-23 Thread Vlad from Infatica via Cygwin
Hi cygwin's team! Upon reviewing your app, it became apparent that you may benefit from additional source of motetization for your application. We at Infatica are currently expanding our network of 50+ partners who are already working with our proven solution to monetize traffic. Could it be

bash: '\n' after command substitution in $PS1 causes errors when igncr is set

2024-05-22 Thread Ken Takata via Cygwin
Hello all, I originally reported this issue to the msys2 team: https://github.com/msys2/MSYS2-packages/issues/1839 https://github.com/msys2/MSYS2-packages/pull/4477 But I find that this issue is coming from Cygwin Bash, so I'm reporting here. When I use \n after command substitution in $PS1

Undeliverable: Where yourself nature outside little cell north. STP-7

2024-05-21 Thread postmaster--- via Cygwin
Powered-By: Scalatra X-Sieve: fileinto 'INBOX.important'; X-Mailer-LID: 1223780-654490478 Return-Path: cygwin@cygwin.com Date: Tue, 21 May 2024 22:17:34 -0400 X-ClientProxiedBy: winhex19beus5.winusa.mail (10.72.152.13) To winhex19beus4.winusa.mail (10.72.152.142) Reporting-MTA: dns;exchange2019.iono

Re: double-fork issue on Windows on ARM64

2024-05-21 Thread Jeremy Drake via Cygwin-developers
On Mon, 20 May 2024, Jeremy Drake wrote: > Today, I was attempting to look at the TerminateThread situation. The > call in question comes from the attempt to terminate the wait_thread of a > chld_procs entry. I noticed elsewhere in cygwin code (flock.cc) that > CancelSynchronous

Use Cygwin gcc or clang to build with ucrt?

2024-05-21 Thread Dan Shelton via Cygwin
Hello! Can Cygwin gcc or clang be used to use ucrt instead of cygwin.dll/mingw.dll? Dan -- Dan Shelton - Cluster Specialist Win/Lin/Bsd -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html

Updated: dateutils 0.4.11

2024-05-21 Thread Cygwin Dateutils Maintainer
Date manipulation utilities Dateutils are a bunch of tools that revolve around fiddling with dates and times on the command line with a strong focus on use cases that arise when dealing with large amounts of financial data. The following package has been upgraded in the Cygwin distribution

Updated: man-pages-linux 6.8

2024-05-21 Thread Cygwin Linux Man Pages Maintainer
The following package has been upgraded in the Cygwin distribution: * man-pages-linux 6.8 Documents the Linux kernel system calls and C library interfaces used by programs, plus system and administrative utilities, devices, file system, file, and data formats, and related information

snappy 1.2.1-1

2024-05-21 Thread Takashi Yano via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * libsnappy1-1.2.1-1 * libsnappy-devel-1.2.1-1 Snappy is a compression/decompression library. It does not aim for maximum compression, or compatibility with any other compression library, instead, it aims for very high speeds

Re: [ITA] dateutils

2024-05-21 Thread Brian Inglis via Cygwin-apps
On 2024-05-21 09:57, Brian Inglis via Cygwin-apps wrote: On 2024-05-21 07:17, Jon Turney via Cygwin-apps wrote: On 17/05/2024 06:43, Brian Inglis via Cygwin-apps wrote: Date manipulation utilities I would like to adopt the above orphaned package. Thanks. I added this to your packages. https

Re: libtool can't build shared library unless -no-undefined specified

2024-05-21 Thread Brian Inglis via Cygwin-apps
On 2024-05-21 07:18, Jon Turney via Cygwin-apps wrote: On 17/05/2024 05:50, Brian Inglis via Cygwin-apps wrote: On 2024-05-16 15:45, Ken Brown via Cygwin-apps wrote: On 5/16/2024 4:24 PM, Brian Inglis via Cygwin-apps wrote: Trying to update dateutils, autotools build fails with: libtool

Re: [ITA] bash-completion/-devel

2024-05-21 Thread Brian Inglis via Cygwin-apps
On 2024-05-21 07:19, Jon Turney via Cygwin-apps wrote: On 03/05/2024 14:40, Jon Turney via Cygwin-apps wrote: On 29/04/2024 22:13, Brian Inglis via Cygwin-apps wrote: I would like to co-maintain or adopt and revive the above package, which was adopted by Eric but not updated since Yaakov

Re: [ITA] dateutils

2024-05-21 Thread Brian Inglis via Cygwin-apps
On 2024-05-21 07:17, Jon Turney via Cygwin-apps wrote: On 17/05/2024 06:43, Brian Inglis via Cygwin-apps wrote: Date manipulation utilities I would like to adopt the above orphaned package. Thanks. I added this to your packages. https://cygwin.com/cgit/cygwin-packages/dateutils/tree

Re: [ITA] bash-completion/-devel

2024-05-21 Thread Jon Turney via Cygwin-apps
On 03/05/2024 14:40, Jon Turney via Cygwin-apps wrote: On 29/04/2024 22:13, Brian Inglis via Cygwin-apps wrote: I would like to co-maintain or adopt and revive the above package, which was adopted by Eric but not updated since Yaakov. Thanks. I added this to your packages. I guess I need

Re: calm: vaulting ancient unifont

2024-05-21 Thread Jon Turney via Cygwin-apps
On 06/05/2024 17:46, Brian Inglis via Cygwin-apps wrote: On 2024-05-06 09:27, Jon Turney via Cygwin-apps wrote: [...] Anyhow, double checking that the "right thing" happened here, I notice that 'unifont' obsoletes 'unifont-debuginfo', which seems a bit weird, especially since i

Re: libtool can't build shared library unless -no-undefined specified

2024-05-21 Thread Jon Turney via Cygwin-apps
On 17/05/2024 05:50, Brian Inglis via Cygwin-apps wrote: On 2024-05-16 15:45, Ken Brown via Cygwin-apps wrote: On 5/16/2024 4:24 PM, Brian Inglis via Cygwin-apps wrote: Hi folks, Trying to update dateutils, autotools build fails with: libtool: error: can't build x86_64-pc-cygwin shared

Re: [ITA] dateutils

2024-05-21 Thread Jon Turney via Cygwin-apps
On 17/05/2024 06:43, Brian Inglis via Cygwin-apps wrote: Date manipulation utilities [...] I would like to adopt the above orphaned package. Thanks. I added this to your packages. https://cygwin.com/cgit/cygwin-packages/dateutils/tree/dateutils.cygport?h=playground Please cleanup all

  1   2   3   4   5   6   7   8   9   10   >