Re: Cygwin installer hangs when running post-install scripts

2024-02-14 Thread Corinna Vinschen via Cygwin
On Feb 14 10:52, Corinna Vinschen via Cygwin wrote: > On Feb 13 15:48, Kevin Ushey via Cygwin wrote: > > Here's a bit more information from a debug build of cygwin; here I'm > > just trying to launch cygpath.exe: > > > > (gdb) f 1 > > #1 0x7ffa0123ba1f in find_fast_cwd_pointer () at > >

Win 11 Cygwin dns-utils "dig" and "host": Option -6 causes command to timeout

2024-02-14 Thread Jim Garrison via Cygwin
Win 11 Cygwin "dig" and "host": Option -6 causes command to hang TL;DR - It appears "dig" and "host" both depend on the existence of /etc/resolv.conf, but only when the -6 option (send queries over IPv6) is specified. /etc/resolv.conf does not exist on either my old Win 10 or relatively

Re: Suggestion: [setup] Add an option to allow user to add "Open Cygwin Terminal Here" to Right-click menu

2024-02-14 Thread Brian Inglis via Cygwin
On 2024-02-10 08:09, Norton Allen via Cygwin wrote: On 2/10/2024 10:03 AM, Norton Allen via Cygwin wrote: On 2/10/2024 7:07 AM, Lee via Cygwin wrote: Note: I hope this change would work on Windows 11 right-click menu. (Because I don't like "Show more options" or Shift + Right-click) I'm still

Re: Cygwin installer hangs when running post-install scripts

2024-02-14 Thread Kevin Ushey via Cygwin
Thanks for your patience. Here's what I've got for the assembly around get_dir. I added a bit of debug logging just so I could get the function addresses: C:\cygwin\bin>cygpath get_dir = 0x7FFB85E251B0 rcall = 0x7FFB85E251CB And here's what WinDbg reports:

Re: emacs 29.2-2 (TEST)

2024-02-14 Thread Ken Brown via Cygwin
[Redirecting to the Cygwin list.] On 2/13/2024 10:02 PM, Jim Reisert AD1C wrote: On Fri, Feb 2, 2024 at 10:55 AM Jim Reisert AD1C > wrote: On Fri, Feb 2, 2024 at 10:53 AM Ken Brown mailto:kbr...@cornell.edu>> wrote: > On 2/2/2024 9:40 AM, Jim

RE: [EXTERNAL] Re: Win 11 Cygwin dns-utils "dig" and "host": Option -6 causes command to timeout

2024-02-14 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> $ host -6 google.com > ;; connection timed out; no servers could be reached FWIW, this hangs just the same on Linux when no IPv6 nameservers configured in /etc/resolv.conf What it tries to do is to inquire the nameserver at [::1]:53 (which is the local host), and then, since bind is not

Re: Win 11 Cygwin dns-utils "dig" and "host": Option -6 causes command to timeout

2024-02-14 Thread Brian Inglis via Cygwin
On 2024-02-14 16:28, Jim Garrison via Cygwin wrote: Win 11 Cygwin "dig" and "host": Option -6 causes command to hang TL;DR - It appears "dig" and "host" both depend on the existence of /etc/resolv.conf, but only when the -6 option (send queries over IPv6) is specified. /etc/resolv.conf

Re: emacs 29.2-2 (TEST)

2024-02-14 Thread ASSI via Cygwin
Jim Reisert AD1C via Cygwin writes: > I had a test version of gcc/g++ installed (13.something). Once I > reverted to the release version (11.4.0), the problem went away. > Simply reverting libgccjit0 was not enough. The gc-13 test release doesn't include libgccjit since it can't be linked (this

Re: emacs 29.2-2 (TEST)

2024-02-14 Thread Jim Reisert AD1C via Cygwin
On Wed, Feb 14, 2024 at 3:34 PM Ken Brown wrote: > I see from your screen shot [deleted] that you've installed the test > release of libgccjit0. What happens if you revert to the stable > release, 11.4.0-1? I had a test version of gcc/g++ installed (13.something). Once I reverted to the

exit code 2 from /etc/preremove/python39-pip.sh

2024-02-14 Thread Fergus Daly via Cygwin
I don't think it matters much (or at all*) but while installing today's python39 update I got: running: .. .. \bin\bash.exe --norc --noprofile "/etc/preremove/python39-pip.sh" abnormal exit: exit code=2 On inspection the .sh file contains the single command:

Re: exit code 2 from /etc/preremove/python39-pip.sh

2024-02-14 Thread marco atzeri via Cygwin
On Wed, Feb 14, 2024 at 9:27 AM Fergus Daly via Cygwin wrote: > > I don't think it matters much (or at all*) but while installing today's > python39 update I got: > running: .. .. \bin\bash.exe --norc --noprofile > "/etc/preremove/python39-pip.sh" > abnormal exit: exit code=2 > On

Re: cygport 0.36.8-1

2024-02-14 Thread Christian Franke via Cygwin
Jon Turney via Cygwin wrote: On 13/02/2024 13:02, Christian Franke via Cygwin wrote: Jon Turney via Cygwin wrote: On 12/02/2024 16:49, ASSI via Cygwin wrote: Christian Franke via Cygwin writes: This requires that always the same build directory is used. Would that be solvable by using

Re: Cygwin installer hangs when running post-install scripts

2024-02-14 Thread Corinna Vinschen via Cygwin
On Feb 13 15:48, Kevin Ushey via Cygwin wrote: > Here's a bit more information from a debug build of cygwin; here I'm > just trying to launch cygpath.exe: > > (gdb) f 1 > #1 0x7ffa0123ba1f in find_fast_cwd_pointer () at > ../../../../winsup/cygwin/path.cc:4526 > 4526 const uint8_t *lock

[PATCH] Cygwin: console: Unify EnumWindows() callback functions.

2024-02-14 Thread Takashi Yano
Previously, three similar callback fuctions were used in console code. This patch unifies these functions to ease maintenance cost. Fixes: 8aad3a7edeb2 ("Cygwin: console: Fix a problem that minor ID is incorrect in ConEmu.") Suggested-by: Johannes Schindelin Signed-off-by: Takashi Yano ---

[PATCH] Cygwin: pty: Make GNU screen and tmux work in ConEmu cygwin-connector.

2024-02-14 Thread Takashi Yano
Fixes: 3721a756b0d8 ("Cygwin: console: Make the console accessible from other terminals.") Signed-off-by: Takashi Yano --- winsup/cygwin/fhandler/pty.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler/pty.cc b/winsup/cygwin/fhandler/pty.cc index