Re: [PATCH cygport] A patch to add a flag __SKIP_LIST_DEPS_LUA

2021-01-15 Thread ASSI
Lemures Lemniscati via Cygwin-apps writes: > What I'd like to do is to have both lua5.3 and lua5.4 be installed, and > alternatives make a symbolic link to lua5.3 or lua5.4 (new packages > lua5.3-5.3.6-1 and lua5.4-5.4.2-1 which I try packaging. Multi-version installations are not well supported

Re: Can't open display issue from CMD

2021-01-15 Thread ASSI
Luna Bellofiore via Cygwin writes: > C:\Users\bellsal>\cygwin\bin\ssh 192.168.0.8 pwd > /usr/bin/xrdb: Can't open display '' > /home/bellsal > > PWD should not require X11 connection, so I don't understand why I am > getting this issue. You need to sanitize your login scripts on

Re: Can't open display issue from CMD

2021-01-15 Thread Marco Atzeri via Cygwin
On 16.01.2021 05:22, Luna Bellofiore via Cygwin wrote: All, I am sending Linux commands from CMD (Windows) through SSH, and I am getting "Can't open display". Below I am capturing my issue, the IP number is the remote Linux machine. Microsoft Windows [Version 10.0.19042.746] (c) 2020

Can't open display issue from CMD

2021-01-15 Thread Luna Bellofiore via Cygwin
All, I am sending Linux commands from CMD (Windows) through SSH, and I am getting "Can't open display". Below I am capturing my issue, the IP number is the remote Linux machine. Microsoft Windows [Version 10.0.19042.746] (c) 2020 Microsoft Corporation. All rights reserved.

Re: [PATCH cygport] A patch to add a flag __SKIP_LIST_DEPS_LUA

2021-01-15 Thread Lemures Lemniscati via Cygwin-apps
On Fri, 15 Jan 2021 21:02:25 +0100, Achim Gratz > Lemures Lemniscati via Cygwin-apps writes: > > This is a fixed patch for cygport: > > > > I'd like to apply alternatives to lua packages to have different > > versions of lua being installed. But, in such cases, current > > __list_deps() might pick

Re: [PATCH cygport] A patch to add a flag __SKIP_LIST_DEPS_LUA

2021-01-15 Thread Achim Gratz
Lemures Lemniscati via Cygwin-apps writes: > This is a fixed patch for cygport: > > I'd like to apply alternatives to lua packages to have different > versions of lua being installed. But, in such cases, current > __list_deps() might pick wrong dependencies. > > And, this is a patch to add a flag

Re: gdb not working

2021-01-15 Thread Ken Brown via Cygwin
On 1/15/2021 1:47 PM, Lemke, Michael SF/HZA-ZIC2 wrote: On Friday, January 15, 2021 4:45 PM Jon Turney wrote: On 15/01/2021 12:28, Lemke, Michael wrote: I just installed a fresh copy of Cygwin and gdb with setup-x86_64.exe. However, gdb does not produce any output. Installing gdb versions

Re: Aw: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-15 Thread Marco Atzeri via Cygwin
On 15.01.2021 12:08, Marco Atzeri wrote: On 15.01.2021 11:49, ASSI wrote: Marco Atzeri via Cygwin writes: What the error message is trying to tell you is that you need the "-fpermissive" option to CXXFLAGS if you expect the code to compile despite the mismatched types.  Whether it will

RE: gdb not working

2021-01-15 Thread Lemke, Michael SF/HZA-ZIC2
On Friday, January 15, 2021 4:45 PM Jon Turney wrote: >On 15/01/2021 12:28, Lemke, Michael wrote: >> I just installed a fresh copy of Cygwin and gdb with setup-x86_64.exe. >> However, gdb does not produce any output. >> >> Installing gdb versions 7.9.1-1 and 7.10.1-1 work, anything newer doesn't.

Re: Fedora to Enable HarfBuzz in FreeType

2021-01-15 Thread Ken Brown via Cygwin
On 1/15/2021 12:52 PM, Brian Inglis wrote: https://fedoraproject.org/wiki/Changes/EnableHarfBuzzInFreeType Currently in Cygwin harfbuzz uses freetype but freetype does not use harfbuzz - thoughts on enabling harfbuzz from freetype? I'll follow Fedora. Thanks for the heads up. Ken -- Problem

[PATCH] Cygwin: document a recent bug fix

2021-01-15 Thread Ken Brown via Cygwin-patches
This documents commit aec64798, "Cygwin: add flag to indicate reparse points unknown to WinAPI". --- winsup/cygwin/release/3.2.0 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/winsup/cygwin/release/3.2.0 b/winsup/cygwin/release/3.2.0 index 132d5c810..c18a848de 100644 ---

Fedora to Enable HarfBuzz in FreeType

2021-01-15 Thread Brian Inglis
https://fedoraproject.org/wiki/Changes/EnableHarfBuzzInFreeType Currently in Cygwin harfbuzz uses freetype but freetype does not use harfbuzz - thoughts on enabling harfbuzz from freetype? -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers

Re: [PATCH] Cygwin: document a recent bug fix

2021-01-15 Thread Ken Brown via Cygwin-patches
On 1/15/2021 12:42 PM, Ken Brown via Cygwin-patches wrote: This documents commit b951adce, "Cygwin: add flag to indicate reparse points unknown to WinAPI". Sorry, there's a mistake in the commit message. A corrected version is on the way. Ken

Re: misterious GIT failure (SOLVED)

2021-01-15 Thread Ken Brown via Cygwin
On 1/15/2021 12:09 PM, matthew patton via Cygwin wrote: I excised the 2 symlink-involved PATH elements and now Git runs great with v3.1.5 of the DLL. I'll try one of the snapshots at some point, You've almost certainly run into the same bug that was fixed in

[PATCH] Cygwin: document a recent bug fix

2021-01-15 Thread Ken Brown via Cygwin-patches
This documents commit b951adce, "Cygwin: add flag to indicate reparse points unknown to WinAPI". --- winsup/cygwin/release/3.2.0 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/winsup/cygwin/release/3.2.0 b/winsup/cygwin/release/3.2.0 index 132d5c810..c18a848de 100644 ---

Re: misterious GIT failure (SOLVED)

2021-01-15 Thread Brian Inglis
On Friday, January 15, 2021, 11:36:28 AM EST, matthew patton via Cygwin wrote: On 2021-01-15 10:09, matthew patton via Cygwin wrote: Ken Brown wrote: Do you by any chance have symlinks in your PATH? There was a problem reported in early December in which STATUS_IO_REPARSE_TAG_NOT_HANDLED would

Re: mysterious GIT failure

2021-01-15 Thread matthew patton via Cygwin
On Friday, January 15, 2021, 12:09:30 PM EST, Brian Inglis wrote: > Given that you have the same symptom, it is possible that Git-Bash or > something > else you are running in Windows is creating symlinks somewhere,  I only installed Git-Bash out of desperation and it's msys.dll (fork of

Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-15 Thread Brian Inglis
On 2021-01-15 01:13, wilhelm-eger--- via Cygwin wrote: Gesendet: Donnerstag, 14. Januar 2021 um 23:52 Uhr Please try by downloading the complete Cygwin source package, and try a vanilla rebuild first with zero changes, then change only the .cygport VERSION= to the latest, rebuild, and fix any

Re: mysterious GIT failure

2021-01-15 Thread Brian Inglis
On 2021-01-15 09:36, matthew patton via Cygwin wrote: Ken Brown wrote:> Do you by any chance have symlinks in your PATH? Yes, the first and 3rd entries are symlinks. I've had these symlinks in my PATH for years. /home/MP1116/.aws/YYY/bin:/home/MP1116/bin -> .WPHOME/bin/ .aws -> 

Re: misterious GIT failure (SOLVED)

2021-01-15 Thread matthew patton via Cygwin
I excised the 2 symlink-involved PATH elements and now Git runs great with v3.1.5 of the DLL. I'll try one of the snapshots at some point, but I am also tempted to change my Bash function 'addPath()' to fully unroll symlinks before adding. 

Re: misterious GIT failure

2021-01-15 Thread matthew patton via Cygwin
Ken Brown wrote:> Do you by any chance have symlinks in your PATH? Yes, the first and 3rd entries are symlinks. I've had these symlinks in my PATH for years. /home/MP1116/.aws/YYY/bin:/home/MP1116/bin -> .WPHOME/bin/ .aws -> .WPHOME/.aws/.WPHOME -> Dropbox/Work_Projects/XXX #/etc/fstabC:/Users

Re: ssh-host-config doesn't "inherit" user admin privilege

2021-01-15 Thread Bill Stewart
On Thu, Jan 14, 2021 at 6:21 PM art wrote: > > I get a security code 5 when ssh-host-config tries to install cygsshd. I was > logged into Win 10 pro/x64 as an admin user. The "fix" was to start a > Cygwin64 Terminal with Admin and then run ssh-host-config within this script. > Other installers

Re: gdb not working

2021-01-15 Thread Jon Turney
On 15/01/2021 12:28, Lemke, Michael SF/HZA-ZIC2 wrote: I just installed a fresh copy of Cygwin and gdb with setup-x86_64.exe. However, gdb does not produce any output. Installing gdb versions 7.9.1-1 and 7.10.1-1 work, anything newer doesn't. Any ideas why? [...] Install gdb 7.12.1-2 pc>

[ANNOUNCEMENT] poppler 21.01.0-1, poppler-data 0.4.10-1

2021-01-15 Thread Ken Brown via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * poppler-21.01.0-1 * libpoppler106-21.01.0-1 * libpoppler-devel-21.01.0-1 * libpoppler-cpp0-21.01.0-1 * libpoppler-cpp-devel-21.01.0-1 * libpoppler-glib8-21.01.0-1 * libpoppler-glib-devel-21.01.0-1 *

Re: gdb not working

2021-01-15 Thread Marco Atzeri via Cygwin
On 15.01.2021 13:28, Lemke, Michael SF/HZA-ZIC2 wrote: I just installed a fresh copy of Cygwin and gdb with setup-x86_64.exe. However, gdb does not produce any output. Installing gdb versions 7.9.1-1 and 7.10.1-1 work, anything newer doesn't. Any ideas why? Problem reports:

Total Take-off & Estimates!!

2021-01-15 Thread ethan--- via Cygwin
Hi, We provide cost estimation and quantity take off services for all CSI division. If you have any project for estimate then send them over to me and I will send proposal over. looking forward to hearing from you. Thank you. Regards, Ethan Andrian -- Problem reports:

[PATCH 11/11] dir.cc: Try unlink_nt first

2021-01-15 Thread Ben Wijen
Speedup deletion of directories. --- winsup/cygwin/dir.cc | 6 ++ 1 file changed, 6 insertions(+) diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc index f912a9e47..2e7da3638 100644 --- a/winsup/cygwin/dir.cc +++ b/winsup/cygwin/dir.cc @@ -22,6 +22,8 @@ details. */ #include

[PATCH 08/11] path.cc: Allow to skip filesystem checks

2021-01-15 Thread Ben Wijen
When file attributes are of no concern, there is no point to query them. --- winsup/cygwin/path.cc | 3 +++ winsup/cygwin/path.h | 1 + 2 files changed, 4 insertions(+) diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index abd3687df..f00707e86 100644 --- a/winsup/cygwin/path.cc +++

[PATCH 09/11] mount.cc: Implement poor-man's cache

2021-01-15 Thread Ben Wijen
Try to avoid NtQueryVolumeInformationFile. --- winsup/cygwin/mount.cc | 78 -- winsup/cygwin/mount.h | 2 +- winsup/cygwin/path.cc | 2 +- winsup/cygwin/path.h | 1 + 4 files changed, 56 insertions(+), 27 deletions(-) diff --git

[PATCH 10/11] syscalls.cc: Expose shallow-pathconv unlink_nt

2021-01-15 Thread Ben Wijen
Not having to query file information improves unlink speed. --- winsup/cygwin/syscalls.cc | 68 --- 1 file changed, 42 insertions(+), 26 deletions(-) diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 79e4a4422..8aecdf453 100644 ---

[PATCH 06/11] cxx.cc: Fix dynamic initialization for static local variables

2021-01-15 Thread Ben Wijen
The old implementation for __cxa_guard_acquire did not return 1, therefore dynamic initialization was never performed. If concurrent-safe dynamic initialisation is ever needed, CXX ABI must be followed when re-implementing __cxa_guard_acquire (et al.) --- winsup/cygwin/Makefile.in | 2 +-

[PATCH 07/11] syscalls.cc: Implement non-path_conv dependent _unlink_nt

2021-01-15 Thread Ben Wijen
Implement _unlink_nt: wich does not depend on patch_conv --- winsup/cygwin/fhandler_disk_file.cc | 4 +- winsup/cygwin/forkable.cc | 4 +- winsup/cygwin/syscalls.cc | 239 ++-- 3 files changed, 228 insertions(+), 19 deletions(-) diff --git

[PATCH 04/11] syscalls.cc: Use EISDIR

2021-01-15 Thread Ben Wijen
This is the non-POSIX value returned by Linux since 2.1.132. --- winsup/cygwin/syscalls.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 227d1a911..043ccdb99 100644 --- a/winsup/cygwin/syscalls.cc +++

[PATCH 03/11] syscalls.cc: Fix num_links

2021-01-15 Thread Ben Wijen
NtQueryInformationFile on fh_ro needs FILE_READ_ATTRIBUTES to succeed. --- winsup/cygwin/syscalls.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 0e89b4f44..227d1a911 100644 --- a/winsup/cygwin/syscalls.cc +++

[PATCH 01/11] syscalls.cc: unlink_nt: Try FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE first

2021-01-15 Thread Ben Wijen
--- winsup/cygwin/ntdll.h | 3 ++- winsup/cygwin/syscalls.cc | 20 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index d4f6aaf45..7eee383dd 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@

gdb not working

2021-01-15 Thread Lemke, Michael SF/HZA-ZIC2
I just installed a fresh copy of Cygwin and gdb with setup-x86_64.exe. However, gdb does not produce any output. Installing gdb versions 7.9.1-1 and 7.10.1-1 work, anything newer doesn't. Any ideas why? pc> gdb -v GNU gdb (GDB) Cygwin 7.9.1-1 Copyright (C) 2015 Free Software Foundation, Inc.

ITB Berlin 2021

2021-01-15 Thread Kennedy adrian
Hi, Hope this email finds you well! Would you be interested in ITB Berlin Expo Database List?? Could you please let me know your thoughts? In turn, I'll get back to you with precise counts and pricing details for your consideration. If you don't want to receive further

Re: Aw: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-15 Thread Marco Atzeri via Cygwin
On 15.01.2021 11:49, ASSI wrote: Marco Atzeri via Cygwin writes: I see this as first error /pub/devel/opencv/opencv-3.4.1-3.x86_64/src/opencv-3.4.1/modules/python/src2/cv2.cpp:889:34: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] it seems the compilers is less tolerant

Re: Aw: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-15 Thread ASSI
Marco Atzeri via Cygwin writes: > I see this as first error > > /pub/devel/opencv/opencv-3.4.1-3.x86_64/src/opencv-3.4.1/modules/python/src2/cv2.cpp:889:34: > error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] > it seems the compilers is less tolerant than before. > It does not

[PATCH cygport] A patch to add a flag __SKIP_LIST_DEPS_LUA

2021-01-15 Thread Lemures Lemniscati via Cygwin-apps
Hi! This is a fixed patch for cygport: I'd like to apply alternatives to lua packages to have different versions of lua being installed. But, in such cases, current __list_deps() might pick wrong dependencies. And, this is a patch to add a flag __SKIP_LIST_DEPS_LUA to skip __list_deps()

Re: [PATCH cygport]

2021-01-15 Thread Lemures Lemniscati via Cygwin-apps
On Fri, 15 Jan 2021 18:46:44 +0900, Lemures Lemniscati > Hi! > > This is another patch for cygport: > > I'd like to apply alternatives to lua packages to have different > versions of lua being installed. But, in such cases, current > __list_deps() might pick wrong dependencies. > > And, this

[PATCH cygport]

2021-01-15 Thread Lemures Lemniscati via Cygwin-apps
Hi! This is another patch for cygport: I'd like to apply alternatives to lua packages to have different versions of lua being installed. But, in such cases, current __list_deps() might pick wrong dependencies. And, this is a patch to add a flag __SKIP_LIST_DEPS_LUA to skip __list_deps()

Re: [ITA] libnice-0.1.18-1

2021-01-15 Thread Marco Atzeri via Cygwin-apps
On 14.01.2021 16:29, Ken Brown via Cygwin-apps wrote: On 1/14/2021 10:11 AM, Ken Brown via Cygwin-apps wrote: On 1/14/2021 1:41 AM, Marco Atzeri via Cygwin-apps wrote: On 14.01.2021 03:53, Ken Brown via Cygwin-apps wrote: On 1/10/2021 8:36 AM, Lemures Lemniscati via Cygwin-apps wrote: On

Re: Aw: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-15 Thread Marco Atzeri via Cygwin
On 15.01.2021 09:13, wilhelm-eger--- via Cygwin wrote: Gesendet: Donnerstag, 14. Januar 2021 um 23:52 Uhr Please try by downloading the complete Cygwin source package, and try a vanilla rebuild first with zero changes, then change only the .cygport VERSION= to the latest, rebuild, and fix

[PATCH] Cygwin: pty: Set input_available_event only for cygwin pipe.

2021-01-15 Thread Takashi Yano via Cygwin-patches
- cat exits immediately in the following senario. 1) Execute env CYGWIN=disable_pcon script 2) Execute cmd.exe 3) Execute cat in cmd.exe. This is caused by setting input_available_event for the pipe for non-cygwin app. This patch fixes the issue. --- winsup/cygwin/fhandler_tty.cc

Re: [ITA] libnice-0.1.18-1

2021-01-15 Thread Lemures Lemniscati via Cygwin-apps
On Thu, 14 Jan 2021 10:29:51 -0500, Ken Brown via Cygwin-apps > On 1/14/2021 10:11 AM, Ken Brown via Cygwin-apps wrote: >> On 1/14/2021 1:41 AM, Marco Atzeri via Cygwin-apps wrote: >>> On 14.01.2021 03:53, Ken Brown via Cygwin-apps wrote: On 1/10/2021 8:36 AM, Lemures Lemniscati via

[PATCH 5/5] Cygwin: pty: Make master thread functions be static.

2021-01-15 Thread Takashi Yano via Cygwin-patches
- The functions pty_master_thread() and pty_master_fwd_thread() should be static (i.e. should not access class member) because the instance is deleted if the master is dup()'ed and the first master is closed. In this case, because the dup()'ed instance still exists, these master threads

[PATCH 4/5] Cygwin: pty: Prevent pty from changing code page of parent console.

2021-01-15 Thread Takashi Yano via Cygwin-patches
- After commit 232fde0e, pty changes console code page when the first non-cygwin app is executed. If pty is started in real console device, pty changes the code page of root console. This causes very annoying result because changing code page changes the font of command prompt if console

[PATCH 3/5] Cygwin: pty: Make close_pseudoconsole() be a static member function.

2021-01-15 Thread Takashi Yano via Cygwin-patches
- The function close_pseudoconsole() should be static so that it can be safely called in spawn.cc even after the fhandler_pty_slave instance has been deleted. That is, there is a problem with the current code. This patch fixes the issue. --- winsup/cygwin/fhandler.h | 3 ++-

[PATCH 2/5] Cygwin: console: Revise the code to switch xterm mode.

2021-01-15 Thread Takashi Yano via Cygwin-patches
- If application changes the console mode, mode management introduced by commit 10d8c278 will be corrupted. For example, stdout of jansi v2.0.1 or later is piped to less, jansi resets the xterm mode flag ENABLE_VIRTUAL_TERMINA_PROCESSING when jansi is terminated. This causes garbled output

[PATCH 1/5] Cygwin: pty: Add workaround for rlwrap 0.40 or later.

2021-01-15 Thread Takashi Yano via Cygwin-patches
- The workaround for rlwrap introduced by commit 8199b0cc does not take effect for rlwrap 0.40 or later. This patch add a workaround for rlwrap 0.40 or later as well. --- winsup/cygwin/fhandler_tty.cc | 5 + 1 file changed, 5 insertions(+) diff --git a/winsup/cygwin/fhandler_tty.cc

[PATCH 0/5] Some revisions for pty and console code.

2021-01-15 Thread Takashi Yano via Cygwin-patches
Takashi Yano (5): Cygwin: pty: Add workaround for rlwrap 0.40 or later. Cygwin: console: Revise the code to switch xterm mode. Cygwin: pty: Make close_pseudoconsole() be a static member function. Cygwin: pty: Prevent pty from changing code page of parent console. Cygwin: pty: Make master

Aw: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-15 Thread wilhelm-eger--- via Cygwin
Gesendet: Donnerstag, 14. Januar 2021 um 23:52 Uhr > Please try by downloading the complete Cygwin source package, and try a > vanilla > rebuild first with zero changes, then change only the .cygport VERSION= to the > latest, rebuild, and fix any problems with that as you go. I have done the

[ANNOUNCEMENT] Updated: flint-2.7.0-1

2021-01-15 Thread Marco Atzeri via Cygwin-announce via Cygwin
Version 2.7.0-1 of packages flint(source only) libflint-devel libflint15 (API bump) are available in the Cygwin distribution: CHANGES Latest upstream version http://flintlib.org/news.html DESCRIPTION FLINT: Fast Library for Number Theory It supports

Updated: flint-2.7.0-1

2021-01-15 Thread Marco Atzeri via Cygwin-announce
Version 2.7.0-1 of packages flint(source only) libflint-devel libflint15 (API bump) are available in the Cygwin distribution: CHANGES Latest upstream version http://flintlib.org/news.html DESCRIPTION FLINT: Fast Library for Number Theory It supports