Re: Does gcc now depend on libintl-devel ?

2024-02-26 Thread gs-cygwin.com--- via Cygwin
On Mon, Feb 26, 2024 at 10:49:55AM -0700, Brian Inglis via Cygwin wrote: > On 2024-02-25 21:33, gs-cygwin.com--- via Cygwin wrote: > > Does gcc now depend on libintl-devel ? Is this dependency declared? > > > > Along with the release of cygwin 3.5.0, my CI on github started failing, > > where

Re: Native posix_spawn() in Cygwin?

2024-02-26 Thread gs-cygwin.com--- via Cygwin
On Tue, Feb 27, 2024 at 06:54:42AM +0100, Dan Shelton via Cygwin wrote: > On Tue, 27 Feb 2024 at 06:47, Brian Inglis via Cygwin > wrote: > > > > On 2024-02-26 20:23, Dan Shelton via Cygwin wrote: > > > Does Cygwin implement a native, i.e. without form(),exec(), > > > implementation of

Re: Native posix_spawn() in Cygwin?

2024-02-26 Thread Dan Shelton via Cygwin
On Tue, 27 Feb 2024 at 06:47, Brian Inglis via Cygwin wrote: > > On 2024-02-26 20:23, Dan Shelton via Cygwin wrote: > > Does Cygwin implement a native, i.e. without form(),exec(), implementation > > of posix_spawn()? > > Check the API compatibility docs online: > >

Re: Native posix_spawn() in Cygwin?

2024-02-26 Thread Brian Inglis via Cygwin
On 2024-02-26 20:23, Dan Shelton via Cygwin wrote: Does Cygwin implement a native, i.e. without form(),exec(), implementation of posix_spawn()? Check the API compatibility docs online: https://cygwin.com/cygwin-api/compatibility.html#std-susv4 or optional locally installed package

Native posix_spawn() in Cygwin?

2024-02-26 Thread Dan Shelton via Cygwin
Hello! Does Cygwin implement a native, i.e. without form(),exec(), implementation of posix_spawn()? Dan -- Dan Shelton - Cluster Specialist Win/Lin/Bsd -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

Re: passwd/group/grent fixes for Cygwin 3.5.1?

2024-02-26 Thread Dan Shelton via Cygwin
On Mon, 26 Feb 2024 at 10:18, Corinna Vinschen via Cygwin wrote: > > On Feb 26 04:44, Dan Shelton via Cygwin wrote: > > Hello! > > > > Can these 3 commits please be backported to the Cygwin 3.5.1 branch? > > > > 4 days agoCorinna VinschenCygwin: getgrent/getpwent: avoid local > >

Re: BUG: Cygwin getent group refuses to list group added with net localgroup mygrp1 /add

2024-02-26 Thread Dan Shelton via Cygwin
On Tue, 20 Feb 2024 at 21:45, Corinna Vinschen via Cygwin wrote: > > On Feb 20 17:24, Dan Shelton via Cygwin wrote: > > On Tue, 20 Feb 2024 at 10:57, Corinna Vinschen via Cygwin > > wrote: > > > > > > On Feb 20 05:13, Dan Shelton via Cygwin wrote: > > > > Hello! > > > > > > > > I think I found a

Re: [PATCH cygport] Add more checks of SOURCE_DATE_EPOCH

2024-02-26 Thread Christian Franke via Cygwin-apps
Jon Turney wrote: On 16/02/2024 12:29, Christian Franke via Cygwin-apps wrote: Fail if it is out of range. Warn if it lies in the future. Inform whether it is set or set but not exported. What is the valid range here? The range accepted by 'date -d @EPOCH ...', later used to adjust the

Re: [PATCH cygport] Add more checks of SOURCE_DATE_EPOCH

2024-02-26 Thread Jon Turney via Cygwin-apps
On 16/02/2024 12:29, Christian Franke via Cygwin-apps wrote: Fail if it is out of range. Warn if it lies in the future. Inform whether it is set or set but not exported. What is the valid range here? Would it not make more sense to just re-export it if set? (so that commands like

Re: [cygport] enabling a replacement for "objdump -d -l"

2024-02-26 Thread Jon Turney via Cygwin-apps
Thanks, this is great! On 18/02/2024 19:51, ASSI via Cygwin-apps wrote: [...] dwarf-parse.-pl There should be some build system changes which install this file, probably in /usr/share/cygport/tools/, which it can then be run from. --8<---cut

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Corinna Vinschen via Cygwin
On Feb 26 20:08, Dimitry Andric via Cygwin wrote: > On 26 Feb 2024, at 20:03, Corinna Vinschen wrote: > > > > On Feb 26 17:34, Dimitry Andric via Cygwin wrote: > >> Hi, > >> > >> After a recent upgrade of a Cygwin installation, including cygwin1.dll > >> (see

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Dimitry Andric via Cygwin
On 26 Feb 2024, at 20:03, Corinna Vinschen wrote: > > On Feb 26 17:34, Dimitry Andric via Cygwin wrote: >> Hi, >> >> After a recent upgrade of a Cygwin installation, including cygwin1.dll >> (see https://cygwin.com/pipermail/cygwin/2024-February/255308.html) to >> 3.5.0-1, I now get spurious

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Corinna Vinschen via Cygwin
On Feb 26 17:34, Dimitry Andric via Cygwin wrote: > Hi, > > After a recent upgrade of a Cygwin installation, including cygwin1.dll > (see https://cygwin.com/pipermail/cygwin/2024-February/255308.html) to > 3.5.0-1, I now get spurious "error 127" messages from (Cygwin's copy of) > GNU make

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Dimitry Andric via Cygwin
On 26 Feb 2024, at 18:30, Marco Atzeri via Cygwin wrote: > > On 26/02/2024 18:16, Dimitry Andric via Cygwin wrote: >> On 26 Feb 2024, at 18:00, Marco Atzeri via Cygwin wrote: >>> >>> On 26/02/2024 17:34, Dimitry Andric via Cygwin wrote: Hi, After a recent upgrade of a Cygwin

Re: Does gcc now depend on libintl-devel ?

2024-02-26 Thread Brian Inglis via Cygwin
On 2024-02-25 21:33, gs-cygwin.com--- via Cygwin wrote: Does gcc now depend on libintl-devel ? Is this dependency declared? Along with the release of cygwin 3.5.0, my CI on github started failing, where autoconf would report that a working C compiler was not found for the Cygwin build. The

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Marco Atzeri via Cygwin
On 26/02/2024 18:16, Dimitry Andric via Cygwin wrote: On 26 Feb 2024, at 18:00, Marco Atzeri via Cygwin wrote: On 26/02/2024 17:34, Dimitry Andric via Cygwin wrote: Hi, After a recent upgrade of a Cygwin installation, including cygwin1.dll (see

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Dimitry Andric via Cygwin
On 26 Feb 2024, at 18:00, Marco Atzeri via Cygwin wrote: > > On 26/02/2024 17:34, Dimitry Andric via Cygwin wrote: >> Hi, >> After a recent upgrade of a Cygwin installation, including cygwin1.dll >> (see https://cygwin.com/pipermail/cygwin/2024-February/255308.html) to >> 3.5.0-1, I now get

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Marco Atzeri via Cygwin
On 26/02/2024 17:34, Dimitry Andric via Cygwin wrote: Hi, After a recent upgrade of a Cygwin installation, including cygwin1.dll (see https://cygwin.com/pipermail/cygwin/2024-February/255308.html) to 3.5.0-1, I now get spurious "error 127" messages from (Cygwin's copy of) GNU make 4.4.1-2, when

cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Dimitry Andric via Cygwin
Hi, After a recent upgrade of a Cygwin installation, including cygwin1.dll (see https://cygwin.com/pipermail/cygwin/2024-February/255308.html) to 3.5.0-1, I now get spurious "error 127" messages from (Cygwin's copy of) GNU make 4.4.1-2, when it starts external processes and those external

RE: [EXTERNAL] Re: Will all SIDs fit into |SECURITY_MAX_SID_SIZE| bytes ? / was: Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-02-26 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> A robust solution which also reduces syscalls does not necessarily > require a precise answer here. > > I suggest writing a wrapper function which has on the stack > CSTR sidbuf[SECURITY_MAX_SID_SIZE]; > and calls LookupAccountNameA() passing sidbuf as Sid. > If it succeeds, then malloc()

Re: [PATCH 1/4] Cygwin: introduce constexpr errmap_size and errmap[] consistency checks

2024-02-26 Thread Corinna Vinschen
On Feb 26 15:21, Christian Franke wrote: > From 947daa02b0b64131626c2ecedb74ca6893aab6c6 Mon Sep 17 00:00:00 2001 > From: Christian Franke > Date: Mon, 26 Feb 2024 13:37:33 +0100 > Subject: [PATCH 1/4] Cygwin: introduce constexpr errmap_size and errmap[] > consistency checks > > Use constexpr

[PATCH 4/4] Cygwin: errmap[]: update comments using current winerror.h

2024-02-26 Thread Christian Franke
From 66a9c2d35a836017e52c8ce73b76b2070c3b6a95 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Mon, 26 Feb 2024 15:15:18 +0100 Subject: [PATCH 4/4] Cygwin: errmap[]: update comments using current winerror.h Signed-off-by: Christian Franke --- winsup/cygwin/local_includes/errmap.h |

[PATCH 2/4] Cygwin: errmap[]: reduce value size from 32 to 8 bits

2024-02-26 Thread Christian Franke
From bebc11c2a9022e61cdc7544ed2cb5101a170ae92 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Mon, 26 Feb 2024 14:01:54 +0100 Subject: [PATCH 2/4] Cygwin: errmap[]: reduce value size from 32 to 8 bits Overflow would be detected at compile time. Signed-off-by: Christian Franke ---

[PATCH 1/4] Cygwin: introduce constexpr errmap_size and errmap[] consistency checks

2024-02-26 Thread Christian Franke
From 947daa02b0b64131626c2ecedb74ca6893aab6c6 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Mon, 26 Feb 2024 13:37:33 +0100 Subject: [PATCH 1/4] Cygwin: introduce constexpr errmap_size and errmap[] consistency checks Use constexpr instead of const for errmap[] to allow static_assert

Re: LXDE rears its ugly head :-)

2024-02-26 Thread Jon Turney via Cygwin
On 24/02/2024 23:31, sciguy via Cygwin wrote: Hello I am using Cygwin-X on Windows 10. It is a version from around 2020 or so. The window managers (I have a few that I have installed) seem to work, but it appears that LXDE likes to cover the toolbars and menubars, especially when GNOME is

Re: [PATCH] Cygwin: Map ERROR_NO_SUCH_DEVICE and ERROR_MEDIA_CHANGED to ENODEV

2024-02-26 Thread Corinna Vinschen
On Feb 26 12:14, Christian Franke wrote: > Corinna Vinschen wrote: > > Why so many? I used winerror.h to populate the list not too long ago, > > so I wonder why it suddenly has so many more error codes? > > "Required for mozilla-central." - 850 insertions: >

Re: [PATCH] Cygwin: Map ERROR_NO_SUCH_DEVICE and ERROR_MEDIA_CHANGED to ENODEV

2024-02-26 Thread Christian Franke
Corinna Vinschen wrote: On Feb 25 10:12, Christian Franke wrote: Corinna Vinschen wrote: So the default was EPERM at first and has been changed to EACCES because it "is better for the unknown error case". I'm open to ideas for an improved error mapping. I have no better suggestion for a

Re: [PATCH] Cygwin: Map ERROR_NO_SUCH_DEVICE and ERROR_MEDIA_CHANGED to ENODEV

2024-02-26 Thread Corinna Vinschen
On Feb 25 10:12, Christian Franke wrote: > Corinna Vinschen wrote: > > So the default was EPERM at first and has been changed to EACCES > > because it "is better for the unknown error case". > > > > I'm open to ideas for an improved error mapping. > > I have no better suggestion for a default

'sh.'exe' issue with redirection

2024-02-26 Thread Gisle Vanem via Cygwin
Hello list, my 1st issue here. I'm now having a big issue with 'sh.exe' used by *any* GNU-make program in a link-macro (or simple rule) where 'stdout' gets redirect like this: LDFLAGS = -nologo -debug -incremental:no -verbose define link_EXE @echo -e "\e[1;32mLinking $(1)\e[0m"

Re: Will all SIDs fit into |SECURITY_MAX_SID_SIZE| bytes ? / was: Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-02-26 Thread Corinna Vinschen via Cygwin
On Feb 25 22:04, Roland Mainz via Cygwin wrote: > On Sat, Feb 24, 2024 at 7:57 PM Corinna Vinschen via Cygwin > wrote: > > > > On Feb 24 15:38, Roland Mainz via Cygwin wrote: > > > On Thu, Feb 22, 2024 at 8:11 PM Corinna Vinschen via Cygwin > > > wrote: > > > > On Feb 22 18:38, Roland Mainz via

Re: passwd/group/grent fixes for Cygwin 3.5.1?

2024-02-26 Thread Corinna Vinschen via Cygwin
On Feb 26 04:44, Dan Shelton via Cygwin wrote: > Hello! > > Can these 3 commits please be backported to the Cygwin 3.5.1 branch? > > 4 days agoCorinna VinschenCygwin: getgrent/getpwent: avoid local > enumeration...commit | commitdiff | tree > 4 days agoCorinna VinschenCygwin: getgrent: fix local