Re: Deleting a directory with the same name as a shortcut deletes everything in CWD

2022-08-09 Thread Ken Brown
On 8/9/2022 4:01 PM, Oskar Skog wrote: On 2022-08-09 22:52, Ken Brown wrote: I think the best fix is to set res = 0 at the beginning of the loop and to remove a "res = -1" that occurs later.  I've sent a patch to cygwin-patches. Ken From https://cygwin.com/pipermail/cygwin

Re: Deleting a directory with the same name as a shortcut deletes everything in CWD

2022-08-09 Thread Ken Brown
On 8/8/2022 7:29 PM, Ken Brown wrote: On 8/8/2022 7:56 AM, Christian Franke wrote: Testcase: $ ls -a .  .. $ touch link.lnk file.txt $ ls -a .  ..  file.txt  link.lnk $ stat -c %F link.lnk regular empty file $ stat -c %F link directory This happens because symlink_info::check returns -1

Re: Deleting a directory with the same name as a shortcut deletes everything in CWD

2022-08-08 Thread Ken Brown
On 8/8/2022 7:56 AM, Christian Franke wrote: Testcase: $ ls -a .  .. $ touch link.lnk file.txt $ ls -a .  ..  file.txt  link.lnk $ stat -c %F link.lnk regular empty file $ stat -c %F link directory This happens because symlink_info::check returns -1 instead of 0 when called on "link". Th

Re: Issues with Cygwin64 on Windows11

2022-08-02 Thread Ken Brown
On 8/2/2022 4:19 AM, Corinna Vinschen wrote: On Aug 2 13:12, Takashi Yano wrote: Then, what about the v2 patch attached? symlink_wsl is doing the right thing, as Ken points out. Actually, I was suggesting that symlink_wsl was doing the wrong thing in case the user used an uppercase drive l

Re: Retry / Continue dialog appearing frequently in setup for dll updates

2022-08-02 Thread Ken Brown
On 7/31/2022 7:36 AM, Keith Christian wrote: On two different Windows 10 machines, I see the Retry/Continue dialog on numerous cygwin .dll files. These are the only cygwin processes extant while setup is running: [...] Setup might benefit from the "Continue" option having a checkbox or separate

Re: Issues with Cygwin64 on Windows11

2022-08-01 Thread Ken Brown
On 7/31/2022 8:23 PM, Takashi Yano wrote: On Sun, 31 Jul 2022 17:21:32 +0900 Takashi Yano wrote: On Sun, 31 Jul 2022 09:11:17 +0300 Dimax wrote: Hello. I've never had much luck with Cygwin64 and used the 32 bit version before. Today I have no choice and I've installed Cyg64 on my new Win11 PC.

Re: [ANNOUNCEMENT] Test: coreutils 9.0 (TEST)

2022-07-19 Thread Ken Brown
On 7/19/2022 3:54 PM, Brian Inglis wrote: On 2022-07-19 12:00, Ken Brown wrote: On 7/19/2022 1:07 PM, Brian Inglis wrote: Setup still shows coreutils 9.1 as test, but it should *NOT* be installed by anyone. Then shouldn't you remove it?  And you could also upload an override.hint file

Re: [ANNOUNCEMENT] Test: coreutils 9.0 (TEST)

2022-07-19 Thread Ken Brown
On 7/19/2022 1:07 PM, Brian Inglis wrote: Setup still shows coreutils 9.1 as test, but it should *NOT* be installed by anyone. Then shouldn't you remove it? And you could also upload an override.hint file with a "replace-versions" line for the sake of people who have already installed it. K

Re: [ANNOUNCEMENT] rebase 4.6.0-2

2022-07-19 Thread Ken Brown
On 7/19/2022 10:03 AM, Corinna Vinschen via Cygwin-announce wrote: The following packages have been uploaded to the Cygwin distribution: * rebase-4.6.0-2 This package contains the Cygwin rebase utilities. Use rebase for specific DLLs or rebaseall for all DLLs installed by Cygwin's setup.exe.

Re: Emacs-w32 28.1-2 (marked as test) fails with: "Doing vfork: Resource temporarily unavailable"

2022-07-17 Thread Ken Brown
On 7/17/2022 12:35 PM, Brian Inglis wrote: On 2022-07-17 08:15, Ken Brown wrote: On 7/17/2022 7:08 AM, Oleksandr Gavenko wrote: I saw a new version of emacs-w32 28.1-2 (has 28.1-1) and gave it a try. If has a problem with forking processes: Doing vfork: Resource temporarily unavailable

Re: Emacs-w32 28.1-2 (marked as test) fails with: "Doing vfork: Resource temporarily unavailable"

2022-07-17 Thread Ken Brown
On 7/17/2022 7:08 AM, Oleksandr Gavenko wrote: I saw a new version of emacs-w32 28.1-2 (has 28.1-1) and gave it a try. If has a problem with forking processes: Doing vfork: Resource temporarily unavailable Please see the release announcement: https://cygwin.com/pipermail/cygwin-announce/20

Re: Spurious / persistent "exception" condition in half-closed sockets

2022-07-09 Thread Ken Brown
On 7/9/2022 11:37 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: Hi all, It took me awhile to figure this one out, but I think I have a good test case to demonstrate a (rather serious, actually) issue with Cygwin sockets and select/poll. In short, when a reading end of a socket hal

Re: dumper does not produce core that gdb recognizes?

2022-07-08 Thread Ken Brown
On 7/8/2022 6:06 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: Hi all, I need to do some deep debugging on Cygwin so I need to produce a core... And it does not work. So I reduced the problem to this minimal test case: $ cat a.c #include int main() { abort(); } $ gcc -Wa

[ANNOUNCEMENT] texlive-collection-bibtexextra 20220707-1

2022-07-08 Thread Ken Brown via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * texlive-collection-bibtexextra-20220707-1 * texlive-collection-bibtexextra-doc-20220707-1 This is an update to the latest upstream release. It includes biblatex-3.18, which is needed for biber-2.18. Ken Brown Cygwin&#

[ANNOUNCEMENT] biber 2.18-1

2022-07-08 Thread Ken Brown via Cygwin-announce
. This is an update to the latest upstream release. It is designed to work with biblatex-3.18. The latter is contained in texlive-collection-bibtexextra, which has also just been updated. Ken Brown Cygwin's Biber maintainer -- Problem reports: https://cygwin.com/problems.htm

Re: Typo in ?

2022-07-06 Thread Ken Brown
On 7/6/2022 11:57 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: However, discussing this shows how irrelevant the actual default value of FD_SETSIZE is. Correct, yet the comments in the header files (along with used values) should be consistent :-) I'll make the changes that Cor

Re: Typo in ?

2022-07-05 Thread Ken Brown
On 7/5/2022 10:13 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: Hi, There's some inconsistency between and : sys/select.h has this: --- /* * Select uses bit masks of file descriptors in longs. * These macros manipulate such bit fields (the filesystem macros

Re: [EXTERNAL] Re: Weird issue with file permissions

2022-07-02 Thread Ken Brown
On 7/2/2022 3:37 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: what your test program was actually doing. But you seem to be assuming that calling fchmod on a socket descriptor should affect the permissions on the socket file (assuming the socket is bound). Is that documented anywhere? POSIX

Re: Weird issue with file permissions

2022-07-02 Thread Ken Brown
On 7/2/2022 12:16 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: I forgot to mention that my "umask" is the standard 022... The man page says that for directories with the ACLs, it is ignored. So in my code bind() wouldn't have created the socket with 0777, and that's fine! Which is why I cal

Re: Weird issue with file permissions

2022-07-02 Thread Ken Brown
On 7/1/2022 11:23 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: That way I'm sure I won't have any surprises with permissions when working in /cygdrive/g/cygwin. Do you want to try that and see if it makes a difference? I have no problems with /cygdrive/g/cygwin -- my socket file gets create

Re: Weird issue with file permissions

2022-07-01 Thread Ken Brown
On 7/1/2022 6:11 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: Cygwin does not do this on a standard installation. Is it something you've done I did use the standard Setup and nothing else... My $HOME looks fine, too: $ cd $ pwd /home/ANTON $ getfacl . # file: . # owner: ANTON # group: Non

Re: Weird issue with file permissions

2022-07-01 Thread Ken Brown
On 7/1/2022 2:00 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: Lastly, I forgot to list all the involved directories as they look from under Cygwin with their permissions, if that's of any help: $ ls -ld ~ ~/.socket ~/subdir ~/subdir/.socket drwx--+ 1 ANTON None 0 Jul 1 13:36 /home/ANTON

Re: Weird issue with file permissions

2022-07-01 Thread Ken Brown
On 7/1/2022 2:00 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: getfacl does not work even for the .socket "file" in my home directory for which ~/sun works perfectly fine with permissions (and all subdirectories crated with mkdir under it). Also like I said, ~/sun also works perfectly fine in

Re: Weird issue with file permissions

2022-07-01 Thread Ken Brown
On 7/1/2022 1:46 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: Now, if I run this code in my Cygwin home directory (and any directory that I create using "mkdir..." under it), I am getting the expected results: $ ~/sun fstat mode = 140666 stat mode = 140666 $ ls -l .socket srw-rw-

Re: Bug in Control-d handling?

2022-06-20 Thread Ken Brown
On 6/20/2022 9:53 AM, Eliot Moss wrote: Good idea to wait for Corinna.  I did a smidge of research, looking through the Wikipedia page on the POSIX terminal interface.  It suggests that this part was largely borrowed from System-V, so that may explain what we see in newlib.  And looking up the PO

Re: Bug in Control-d handling?

2022-06-20 Thread Ken Brown
On 6/20/2022 6:22 AM, Takashi Yano wrote: On Mon, 20 Jun 2022 17:59:35 +0900 Takashi Yano wrote: Isn't this a bug of newlib? Try following code. #include int main() { printf("%d\n", getchar()); printf("%d\n", feof(stdin)); printf("%d\n", getchar()); return 0; }

Bug in Control-d handling?

2022-06-19 Thread Ken Brown
Consider the following program, which reads from standard input a line at a time and then echoes the input back to the terminal: $ cat cat_line.c #include int main () { char buf[BUFSIZ]; while (fgets (buf, BUFSIZ, stdin)) fputs (buf, stdout); } Run the program, type one or more chara

Re: shebang env sh stopped working with coreutils-8.32-1

2022-06-03 Thread Ken Brown
[Resending with CC.] On 6/2/2022 10:02 AM, Ken Brown wrote: On 6/2/2022 8:49 AM, Daniel Jeliński wrote: Thank you for posting your steps, they helped me solve this issue. Everything on my end was similar, except that instead of bash configure I used a custom script that was supposed to prepare

Re: shebang env sh stopped working with coreutils-8.32-1

2022-06-02 Thread Ken Brown
On 6/2/2022 8:49 AM, Daniel Jeliński wrote: Thank you for posting your steps, they helped me solve this issue. Everything on my end was similar, except that instead of bash configure I used a custom script that was supposed to prepare the environment. On closer inspection, it turned out that the

Re: shebang env sh stopped working with coreutils-8.32-1

2022-06-01 Thread Ken Brown
On 6/1/2022 9:29 AM, Daniel Jeliński wrote: You're right, I'm still on cygwin 3.2.0 because of issues with running make (see "GNU make losing jobserver tokens"). The original report on that issue (https://cygwin.com/pipermail/cygwin/2022-March/251095.html) described it as long-standing. Are

Re: shebang env sh stopped working with coreutils-8.32-1

2022-06-01 Thread Ken Brown
On 6/1/2022 8:33 AM, Daniel Jeliński wrote: Hi all, As the title says. To reproduce: - create a file (test.sh) with the following contents: #!/usr/bin/env sh echo success - make it executable (chmod a+x test.sh) - execute (./test.sh) With coreutils-8.26-2 the script prints "success". With core

Re: Unable to update PKI - p11-kit does not support 'extract' command

2022-06-01 Thread Ken Brown
On 6/1/2022 4:54 AM, Andrey Repin wrote: Greetings, All! My root CA key expired recently and I'm battling to update my infrastructure. The most unexpected issue so far is a change in Cygwin's p11-kit, that made update-ca-trust script unusable. Running `p11-kit extract …` immediately fails with

Re: Unable to execute Cygwin application within UDF format

2022-05-28 Thread Ken Brown
On 5/27/2022 8:36 AM, Takashi Yano wrote: diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc index 01b49468e..34c9e2bc7 100644 --- a/winsup/cygwin/cygheap.cc +++ b/winsup/cygwin/cygheap.cc @@ -183,6 +183,11 @@ init_cygheap::init_installation_root () if (p) p =

Re: sorry I meant to say libphp7.dll is missing

2022-05-26 Thread Ken Brown
On 5/26/2022 12:23 PM, Jim McNamara via Cygwin wrote: there is only libphp7.dll.a That's what you need for linking. The corresponding DLL is /usr/bin/cygphp7-7-3.dll, which is in the php package. Ken -- Problem reports: https://cygwin.com/problems.html FAQ: https://cyg

Re: missing php library dll

2022-05-26 Thread Ken Brown
On 5/26/2022 11:57 AM, Jim McNamara via Cygwin wrote: hi all- I have tracked down the problem and wondering if you had a suggestion to help me fix it. Is there any reason why the package on the mirror doesn't have library -lphp7? Is there a way I can get one or do something to solve this prob

Re: scons v4.3.0-1 outputs nothing on cygwin v2. 3.1

2022-05-15 Thread Ken Brown
On 5/15/2022 6:03 PM, Martin Ortuno wrote: $ ls -glo /usr/bin/python lrwxrwxrwx 1 13 Jun 3 2015 /usr/bin/python -> python2.7.exe This shows that you have a very old version of python2, going back to before the python versions were managed by the alternatives system. You can't expect to ha

Re: EMACS: failed to commit changes to dconf: The connection is closed

2022-05-14 Thread Ken Brown
On 5/14/2022 1:32 PM, Jim Reisert AD1C wrote: On Fri, May 13, 2022 at 8:05 PM Ken Brown wrote: Sorry, no idea. I can't reproduce it. Does it happen with emacs -Q? Is dconf-service running when you get this message? It's running on my system. It still happens with "e

Re: EMACS: failed to commit changes to dconf: The connection is closed

2022-05-13 Thread Ken Brown
On 5/13/2022 8:38 PM, Jim Reisert AD1C wrote: I'm running GNU Emacs 28.1 (build 2, x86_64-pc-cygwin, GTK+ Version 3.22.28, cairo version 1.17.4) of 2022-04-13 in an xterm in Cygwin X. I have a file open. If I click on File | Save As... I get several copies of the following message: (emac

[ANNOUNCEMENT] doxygen 1.9.4-1

2022-05-12 Thread Ken Brown via Cygwin-announce
of changes since the previous release. Ken Brown Cygwin's Doxygen maintainer -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

[ANNOUNCEMENT] harfbuzz 4.2.1-1

2022-05-05 Thread Ken Brown via Cygwin-announce
-1 * libharfbuzz-icu-devel-4.2.1-1 * girepository-HarfBuzz0.0-4.2.1-1 HarfBuzz is an OpenType text shaping engine. This is an update to the latest upstream release. Ken Brown Cygwin's harfbuzz maintainer -- Problem reports: https://cygwin.com/problems.html FAQ:

[ANNOUNCEMENT] xpdf 4.04-1

2022-05-04 Thread Ken Brown via Cygwin-announce
marily a bugfix release, but there are also a few new features. See https://forum.xpdfreader.com/viewtopic.php?f=1&t=42260 for more details. Ken Brown Cygwin's Xpdf maintainer -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Doc

[ANNOUNCEMENT] freetype2 2.12.1-1

2022-05-04 Thread Ken Brown via Cygwin-announce
of producing high-quality output (glyph images). This is an update to the latest upstream release. Ken Brown Cygwin's FreeType2 maintainer -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs

Re: [ANNOUNCEMENT] harfbuzz 4.2.0-1 (TEST)

2022-05-04 Thread Ken Brown
On 4/11/2022 4:13 PM, Ken Brown via Cygwin-announce wrote: The following packages have been uploaded to the Cygwin distribution as test releases: * harfbuzz-4.2.0-1 * libharfbuzz0-4.2.0-1 * libharfbuzz-devel-4.2.0-1 * libharfbuzz-gobject0-4.2.0-1 * libharfbuzz-gobject-devel-4.2.0-1

Re: GNU make losing jobserver tokens

2022-04-30 Thread Ken Brown
On 4/29/2022 5:10 AM, Takashi Yano wrote: On Thu, 28 Apr 2022 17:32:22 +0200 I tried to move sigproc_init() call from dll_crt0_0() to fork::child() for 64bit cygwin, however, that causes hang at cygwin startup. Am I missing somehting? I've never looked into the Cygwin startup code, so just ign

Re: cygdll 3.3.4 breaks cygpath.exe. mistyped commands result in fork bomb

2022-04-29 Thread Ken Brown
On 4/29/2022 2:25 PM, matthew patton via Cygwin wrote: --- Process 25852 loaded C:\Program Files\SentinelOne\Sentinel Agent 21.7.4.1043\InProcessClient64.dll at 7fff9d48 This looks like the problem that was reported here: https://cygwin.com/pipermail/cygwin/2022-February/250782.html

[Attn: mercurial maintainer] hg fails with python3.9

2022-04-28 Thread Ken Brown
/usr/bin/hg specifies /usr/bin/python3 in its shebang, but further down it has libdir = '../lib/python3.8/site-packages' This causes hg to fail as follows if /usr/bin/python3 points to python3.9: $ hg Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mercurial/policy

Re: GNU make losing jobserver tokens

2022-04-28 Thread Ken Brown
On 4/27/2022 10:13 AM, Takashi Yano wrote: On Fri, 1 Apr 2022 17:45:51 +0900 Takashi Yano wrote: I have tried to reproduce the issue by building OpenJDK from source, however, I could not. Instead, I encountered another issue. Building OpenJDK sometimes (rarely) failed with error such as:

[ANNOUNCEMENT] emacs 28.1-2 (64-bit only, TEST)

2022-04-16 Thread Ken Brown via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution as test releases. * emacs-28.1-2 * emacs-common-28.1-2 * emacs-basic-28.1-2 * emacs-w32-28.1-2 * emacs-gtk-28.1-2 * emacs-lucid-28.1-2 Emacs is a powerful, customizable, self-documenting, modeless text editor. Emacs contains

Re: [ANNOUNCEMENT] emacs 28.1-1 (TEST)

2022-04-13 Thread Ken Brown
On 4/6/2022 9:04 AM, Ken Brown via Cygwin-announce wrote: The following packages have been uploaded to the Cygwin distribution as test releases.  Note that there have been some packaging changes, so that the package names better reflect the package contents. * emacs-28.1-1 This is now a

[ANNOUNCEMENT] icu 71.1-1 (TEST)

2022-04-11 Thread Ken Brown via Cygwin-announce
portable and gives applications the same results on all platforms and between C/C++ and Java software. This is an update to the latest upstream release. See https://icu.unicode.org/download/71 for the changes since the previous release. Ken Brown Cygwin's ICU maintainer -- Problem re

[ANNOUNCEMENT] icu 70.1-1

2022-04-11 Thread Ken Brown via Cygwin-announce
applications the same results on all platforms and between C/C++ and Java software. This is an update to a recent upstream release. See https://icu.unicode.org/download/70 for the changes since the previous release. Ken Brown Cygwin's ICU maintainer -- Problem reports:

[ANNOUNCEMENT] ghostscript 9.56.0-1 (TEST)

2022-04-11 Thread Ken Brown via Cygwin-announce
written in C (rather than PostScript). Ken Brown Cygwin's Ghostscript maintainer -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubs

[ANNOUNCEMENT] harfbuzz 4.2.0-1 (TEST)

2022-04-11 Thread Ken Brown via Cygwin-announce
* libharfbuzz-icu0-4.2.0-1 * libharfbuzz-icu-devel-4.2.0-1 * girepository-HarfBuzz0.0-4.2.0-1 HarfBuzz is an OpenType text shaping engine. This is an update to the latest upstream release. Ken Brown Cygwin's harfbuzz maintainer -- Problem reports: https://cygwin.com/problems.htm

Re: [ANNOUNCEMENT] lcms2 2.13-1

2022-04-11 Thread Ken Brown
On 4/11/2022 3:58 PM, Ken Brown via Cygwin-announce wrote: The following packages have been uploaded to the Cygwin distribution: * lcms2-2.13-1 * liblcms2_2-2.13-1 * liblcms2-devel-2.13-1 Sorry this should be 2.13.1-1. Little CMS intends to be an Open Source small-footprint color management

[ANNOUNCEMENT] lcms2 2.13-1

2022-04-11 Thread Ken Brown via Cygwin-announce
-2.13 for a list of changes since the previous release. Ken Brown Cygwin's lcms2 maintainer -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.c

Re: [ANNOUNCEMENT] ghostscript 9.55.0-1 (TEST)

2022-04-11 Thread Ken Brown
On 10/13/2021 8:01 PM, Ken Brown via Cygwin-announce via Cygwin wrote: The following packages have been uploaded to the Cygwin distribution as test releases: * ghostscript-9.55.0-1 * libgs9-9.55.0-1 * libgs-devel-9.55.0-1 This has now been promoted from test to current. Ken -- Problem

[ANNOUNCEMENT] biber 2.17-1

2022-04-10 Thread Ken Brown via Cygwin-announce
. This is an update to the latest upstream release. It is designed to work with biblatex-3.17. The latter is contained in texlive-collection-bibtexextra, which has just been updated as part of TeX Live 2022. Ken Brown Cygwin's Biber maintainer -- Problem reports: https://cygwi

[ANNOUNCEMENT] TeX Live 2022

2022-04-10 Thread Ken Brown via Cygwin-announce
y. See /usr/share/doc/texlive-collection-basic/README.Cygwin for more details. Ken Brown Cygwin's TeX Live maintainer -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info:

Re: Possible xpdf packaging error?

2022-04-07 Thread Ken Brown
On 4/7/2022 3:03 PM, Eliot Moss wrote: But it's odd to have a man page for something in one package and the executable in another, no? Yes. The man page shouldn't be in the xpdf package. I'll fix that the next time I update xpdf. Ken -- Problem reports: https://cygwin.com/problems.ht

[ANNOUNCEMENT] emacs 28.1-1 (TEST)

2022-04-06 Thread Ken Brown via Cygwin-announce
need to have the cygserver service running. 7. The script /usr/bin/make-emacs-shortcut can be used to create a shortcut for starting emacs. See /usr/share/doc/emacs/README.Cygwin for details. Ken Brown Cygwin's Emacs maintainer -- Problem reports: https://cygwin.com/proble

Re: GNU make losing jobserver tokens

2022-03-21 Thread Ken Brown
On 3/21/2022 10:28 AM, Magnus Ihse Bursie wrote: Hi, I'm working for Oracle on the OpenJDK build team. We're using GNU make to build the JDK on all supported platforms. For Windows, we use Cygwin as our build environment, including the Cygwin version of GNU make. We have had a long-standing

[ANNOUNCEMENT] emacs-auctex 13.1-1

2022-03-05 Thread Ken Brown via Cygwin-announce
; to execute the installation procedure This alternative is in fact strongly recommended by the AUCTeX developers. One advantage is that you will receive intermediate bugfix releases between major AUCTeX releases conveniently. For example, version 13.1.1 is already available through ELPA. K

Re: cygpath not doing anything on a fresh install

2022-02-08 Thread Ken Brown
On 2/8/2022 9:37 AM, Antonio Petrelli wrote: Il giorno mar 8 feb 2022 alle ore 15:30 marco atzeri ha scritto: check if strace give some hints strace -o /tmp/strace.txt /usr/bin/cygpath --help The result is here: https://pastebin.com/n56RTAiu This looks suspicious: Process 2480 loaded

[ANNOUNCEMENT] lcms2 2.13-1

2022-02-06 Thread Ken Brown via Cygwin-announce
/ for a list of changes since the previous release. Ken Brown Cygwin's lcms2 maintainer -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubs

Re: [PATCH] fhandler_pipe: add sanity limit to handle loops

2022-01-13 Thread Ken Brown
On 1/13/2022 5:56 AM, Takashi Yano wrote: Ken Brown wrote: 2. You can use the ReturnLength parameter of NtQueryInformationProcess to see how big a buffer is needed. This might be more efficient than repeatedly doubling the buffer size. Even if ReturnLength is used, the first

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 an

Re: posix_spawn issues on i686

2022-01-11 Thread Ken Brown
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 issue seems to be the POSIX_SPAWN_RESETIDS flag

Re: Unable to open the clipboard

2022-01-03 Thread Ken Brown
On 1/3/2022 9:34 AM, Marco Atzeri wrote: Hi Guys, I noticed, from time to time, that on recent Cygwin $ uname -svr CYGWIN_NT-10.0 3.3.3(0.341/5/3) 2021-12-03 16:35 there seems to be a "failed race (?)" using the clipboard $ putclip < Announce_geos Unable to open the clipboard Hi Marco, The

Re: w3m displays blank help page

2021-12-29 Thread Ken Brown
On 12/29/2021 4:44 PM, Gary Johnson wrote: So, I have a workaround for the problem, but I'd really like a proper fix, and there may be other users with this problem. w3m currently has no maintainer. Would you like to take over? Ken -- Problem reports: https://cygwin.com/problems.html FA

Re: Can't load CSS mode in Emacs

2021-12-28 Thread Ken Brown
On 12/28/2021 3:37 PM, Jim Reisert AD1C wrote: I'm using the test version of Emacs 28.0.60. I can't seem to load css-mode (Cascading Style Sheets). I get the following error in the console window: 0 [main] emacs-X11 1297 child_info_fork::abort: address space needed by 'url-history-a9b2f

Re: Cygwin 32 doc build failure

2021-12-23 Thread Ken Brown
On 12/23/2021 12:35 PM, Brian Inglis wrote: Building cygwin 32 doc (with latest packages, git sources, after running winsup/autogen.sh) get the following doc build failure (not on cygwin 64 - all builds okay) - anyone seen this before and any clue where to look? $ ../configure && make ... Maki

Re: libprocps8 and missing free, prockill, pkill, pgrep, pmap, procps, tload, top, uptime, vmstat, w, and watch

2021-12-20 Thread Ken Brown
On 12/20/2021 12:02 PM, Ken Lobb wrote: I'm probably missing something that needs to be configured, but I'm trying to utilize uptime & vmstat and other performance/load utilities in Cygwin. I installed the libprocps8 package, but none of these utilities can be found. Did I miss something? procp

Re: setup-x86_64.exe does not start in win10 20H2

2021-12-10 Thread Ken Brown
On 12/10/2021 12:12 PM, Kutty, Rejeesh wrote: Google says it is part of the Beyond Trust stuff, for security? I couldn't find anything that tells me how to disable it. Is this DLL the problem? Could be. Is Beyond Trust something that you have control over? Can you uninstall it, or temporaril

Re: setup-x86_64.exe does not start in win10 20H2

2021-12-10 Thread Ken Brown
On 12/10/2021 9:39 AM, Kutty, Rejeesh wrote: I can't launch setup-x86_64.exe, but setup-x86 runs fine. [...] ModLoad: 7ffd`4371 7ffd`4374a000 C:\WINDOWS\SYSTEM32\privman64.dll What is this and why is it being loaded? Ken -- Problem reports: https://cygwin.com/problems.ht

Re: [ANNOUNCEMENT] gd 2.3.3-1 (TEST)

2021-12-09 Thread Ken Brown
On 9/15/2021 5:13 PM, Ken Brown via Cygwin-announce via Cygwin wrote: The following packages have been uploaded to the Cygwin distribution as test releases: * gd-2.3.3-1 * libgd3-2.3.3-1 * libgd-devel-2.3.3-1 These have now been promoted from test to current. Ken -- Problem reports

Re: [ANNOUNCEMENT] Updated: autoconf-15-1, autoconf2.7-2.71-1

2021-12-07 Thread Ken Brown
On 12/5/2021 3:50 AM, Achim Gratz wrote: Autoconf upstream has stated that the 2.7x releases are not fully backwards compatible. Cygwin therefore chose to provide a new autoconf2.7 package (keeping autoconf2.5 available) and modifying the wrapper script to allow packaging systems to set WANT_AUT

[GOLDSTAR] Re: [ANNOUNCEMENT] Updated: autoconf-15-1, autoconf2.7-2.71-1

2021-12-05 Thread Ken Brown
On 12/5/2021 3:50 AM, Achim Gratz wrote: Autoconf has been updated to the latest upstream release 2.71, see the packaging notes below. Additionally the automake wrapper has been updated to the latest upstream version 15 (with some modifications for Cygwin). Great work, thanks for doing this.

Re: Remmina: error while loading shared libraries: cygssh_threads-4.dll: cannot open shared object file: No such file or directory

2021-11-28 Thread Ken Brown via Cygwin
On 11/28/2021 3:50 PM, Verachten Bruno via Cygwin wrote: Hello there, I installed Remmina tonight, and got this error when launching it: "error while loading shared libraries: cygssh_threads-4.dll: cannot open shared object file: No such file or directory That DLL used to be provided by the li

Re: ssmtp-config fails on step 6

2021-11-20 Thread Ken Brown via Cygwin
On 11/19/2021 7:07 PM, Andrey Repin via Cygwin wrote: alternatives is known to make links to nonexistent objects. While this is possible on *NIX, you can only link to existing objects on Windows. You're talking about native Windows symlinks, not Cygwin symlinks. The latter can point to nonexi

Re: [ANNOUNCEMENT] New: unison2.48+4.04.2, unison2.48+4.08.1 [test]

2021-11-20 Thread Ken Brown via Cygwin
On 9/8/2020 4:57 PM, Andrew Schulman via Cygwin-announce wrote: [...] You can install any number of these packages side-by-side. Separate packages are needed because in order to synchronize your files, you have to run compatible versions of Unison on the client and server. Two Unison executables

Re: cygport build injecting /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/ paths

2021-11-12 Thread Ken Brown via Cygwin
On 11/12/2021 12:50 PM, Brian Inglis wrote: Got these errors trying to build latest ncurses on my system, so retried on scallywag and got same result, with no clue where that is coming from! There are no files in the tarball, repo, or build dirs containing 7.4.0 Those paths come from /usr/bin/

Re: Another pipe-related problem?

2021-11-11 Thread Ken Brown via Cygwin
On 11/10/2021 1:42 PM, Henry S. Thompson wrote: Ken Brown writes: The good news is that the bug doesn't seem to occur in XEmacs 21.4 (on 32-bit Cygwin). So one way to approach this would be to bisect the XEmacs git repo to find the commit that introduced the bug. You'd probably have

Re: New pipe code means a gold star is merited

2021-11-10 Thread Ken Brown via Cygwin
On 11/10/2021 1:45 PM, Henry S. Thompson via Cygwin wrote: for Ken Brown and Takashi Yano, don't you think? Even though we made XEmacs unusable?!? :) But seriously, it was a joint effort among the two of us and Corinna. Thanks. Ken -- Problem reports: https://cygwin.com/problems

Re: Another pipe-related problem?

2021-11-10 Thread Ken Brown via Cygwin
On 11/10/2021 12:23 PM, Henry S. Thompson wrote: Ken Brown via Cygwin writes: On 11/9/2021 9:53 PM, Ken Brown via Cygwin wrote: Back to the drawing board. It finally occurred to me to stop looking for a bug in fhandler_pipe::raw_read and instead see if something is in fact repeatedly

Re: Another pipe-related problem?

2021-11-10 Thread Ken Brown via Cygwin
On 11/9/2021 9:53 PM, Ken Brown via Cygwin wrote: Back to the drawing board. It finally occurred to me to stop looking for a bug in fhandler_pipe::raw_read and instead see if something is in fact repeatedly writing to the pipe, so that drain_signal_event_pipe never finishes. Putting a

Re: Another pipe-related problem?

2021-11-09 Thread Ken Brown via Cygwin
On 11/9/2021 5:20 PM, Ken Brown via Cygwin wrote: On 11/9/2021 5:16 PM, Ken Brown via Cygwin wrote: On 11/9/2021 9:11 AM, Ken Brown via Cygwin wrote: On 11/9/2021 5:55 AM, Henry S. Thompson wrote: As you may know, the XEmacs situation is complicated.  The old source repo (bitbucket.org/xemacs

Re: Another pipe-related problem?

2021-11-09 Thread Ken Brown via Cygwin
09:11:28 -0500 Ken Brown wrote: I'll have to reproduce the hang myself in order to test this (or maybe you could test it), but I now have a new guess: If the read call above keeps failing with EINTR, then we're in an infinite loop. This could happen because of the following code in fha

Re: Another pipe-related problem?

2021-11-09 Thread Ken Brown via Cygwin
On 11/9/2021 5:16 PM, Ken Brown via Cygwin wrote: On 11/9/2021 9:11 AM, Ken Brown via Cygwin wrote: On 11/9/2021 5:55 AM, Henry S. Thompson wrote: As you may know, the XEmacs situation is complicated.  The old source repo (bitbucket.org/xemacs) no longer exists.  There's a fork that&#x

Re: Another pipe-related problem?

2021-11-09 Thread Ken Brown via Cygwin
On 11/9/2021 9:11 AM, Ken Brown via Cygwin wrote: On 11/9/2021 5:55 AM, Henry S. Thompson wrote: As you may know, the XEmacs situation is complicated.  The old source repo (bitbucket.org/xemacs) no longer exists.  There's a fork that's still being maintained, but it's not wi

Re: Another pipe-related problem?

2021-11-09 Thread Ken Brown via Cygwin
On 11/9/2021 5:55 AM, Henry S. Thompson wrote: Ken Brown via Cygwin writes: On 11/8/2021 8:12 AM, Henry S. Thompson via Cygwin wrote: Running on Windows-10 21H1 With Cygwin 3.3.0 and 3.3.1 I get a hang every time I try to launch XEmacs: .. #6 0x00018013ffcc in read (fd=3, ptr

Re: Another pipe-related problem?

2021-11-08 Thread Ken Brown via Cygwin
On 11/8/2021 9:35 AM, Ken Brown via Cygwin wrote: On 11/8/2021 8:12 AM, Henry S. Thompson via Cygwin wrote: Running on Windows-10 21H1 With Cygwin 3.3.0 and 3.3.1 I get a hang every time I try to launch XEmacs: #0  0x7ffdf31cd474 in ntdll!ZwQueryTimer ()     from /c/Windows/SYSTEM32

Re: Another pipe-related problem?

2021-11-08 Thread Ken Brown via Cygwin
On 11/8/2021 8:12 AM, Henry S. Thompson via Cygwin wrote: Running on Windows-10 21H1 With Cygwin 3.3.0 and 3.3.1 I get a hang every time I try to launch XEmacs: #0 0x7ffdf31cd474 in ntdll!ZwQueryTimer () from /c/Windows/SYSTEM32/ntdll.dll #1 0x0001800479fa in cygwait (object=, tim

Re: 3.3.0: Possible regression in cygwin DLL (Win10); fixed in snapshot

2021-11-06 Thread Ken Brown via Cygwin
On 11/5/2021 4:08 PM, Ken Brown via Cygwin wrote: On 11/5/2021 3:41 PM, Takashi Yano via Cygwin wrote: What about setting pipe mode to byte by default? I have a vague recollection that this caused some other problem, but I'll have to review the email discussions from a few months ago.

Re: 3.3.0: Possible regression in cygwin DLL (Win10); fixed in snapshot

2021-11-05 Thread Ken Brown via Cygwin
Hi Takashi, On 11/5/2021 3:41 PM, Takashi Yano via Cygwin wrote: Thanks much for the detailed steps. I could reproduce the problem. It seems that the cause is the overhaul for the pipe implementation. I also found the workaround for this issue. Please try: export CYGWIN=pipe_byte Corinna, Ken,

Re: cat fifo hang [Re: [ANNOUNCEMENT] cygwin 3.3.0-0.2.6c1f49f83fde (TEST)]

2021-10-24 Thread Ken Brown via Cygwin
On 10/17/2021 6:15 PM, Ken Brown via Cygwin wrote: On 10/17/2021 4:52 PM, Chris Roehrig wrote:  Here's a script that pretty reliably hangs cat after some iterations. [...] Thanks!  I can reproduce the hang.  I'll look into it. I've done some debugging and have followed u

Re: emacs 28.0.60-1.f7e6c199bf (TEST)

2021-10-24 Thread Ken Brown via Cygwin
On 10/18/2021 3:15 PM, Jim Reisert AD1C wrote: Here is a macro I use quite frequently, with a line like this: # New Exception Call: PD0TEST/J The macro consists of: - CTRL-A - set mark - CTRL-F until you get to the start of the field after Call: - CTRL-W to delete the selected text - CTR

Re: Apache Fork Errors - Found on Windows Server 2019

2021-10-19 Thread Ken Brown via Cygwin
On 10/18/2021 9:43 PM, OwN-3m-All via Cygwin wrote: I upgraded both libharfbuzz0 and libfreetype6 to the latest version again, and the issues are back. I tested these previous versions for both, and they work: libharfbuzz0 2.7.4-1 and 2.8.1-1 work libfreetype6 2.10.4-1 and 2.10.4-2 work The la

[ANNOUNCEMENT] harfbuzz 2.9.0-2

2021-10-19 Thread Ken Brown via Cygwin-announce via Cygwin
the fork problems reported here: https://cygwin.com/pipermail/cygwin/2021-October/249610.html Ken Brown Cygwin's harfbuzz maintainer -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs

[ANNOUNCEMENT] freetype2 2.11.0-2

2021-10-19 Thread Ken Brown via Cygwin-announce via Cygwin
/cygwin/2021-October/249610.html Ken Brown Cygwin's FreeType2 maintainer -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Re: A Bug related to ImageTk in Python on Cygwin

2021-10-19 Thread Ken Brown via Cygwin
On 10/19/2021 6:11 AM, Friedrich Romstedt via Cygwin wrote: Hi, Some months ago (in August 2021) I tried using ImageTk in Python on Cygwin and stumbled over a dysfunction. To help tracking down the issue I wrote up an HTML document and uploaded it to https://github.com/friedrichromstedt/bughunt

<    1   2   3   4   5   6   7   8   9   10   >