Re: Patch for recent Python versions

2025-04-27 Thread Lee via Cygwin
On Sun, Apr 27, 2025 at 4:52 AM Kevin Schnitzius via Cygwin wrote: > > On Sunday, April 27, 2025 at 04:20:23 AM EDT, Lee via Cygwin > wrote: > > > On Sat, Apr 26, 2025 at 10:38 PM Keith Thompson wrote: > >> > >> I see that Cygwin only supports Python 3.9.16 (or 3.9.18 as a test > >> version), w

Re: Patch for recent Python versions

2025-04-27 Thread Kevin Schnitzius via Cygwin
On Sunday, April 27, 2025 at 04:20:23 AM EDT, Lee via Cygwin wrote: > On Sat, Apr 26, 2025 at 10:38 PM Keith Thompson  wrote: >> >> I see that Cygwin only supports Python 3.9.16 (or 3.9.18 as a test >> version), which is a couple of years old. > >$ python3 --version >Python 3.12.9 That's eithe

Re: Patch for recent Python versions

2025-04-27 Thread Lee via Cygwin
On Sat, Apr 26, 2025 at 10:38 PM Keith Thompson wrote: > > I see that Cygwin only supports Python 3.9.16 (or 3.9.18 as a test > version), which is a couple of years old. $ python3 --version Python 3.12.9 $ uname -a CYGWIN_NT-10.0-19045 i3668 3.6.0-1.x86_64 2025-03-18 17:01 UTC x86_64 Cygwin Lee

Re: cygutils 1.4.17-2: lssparse -H does not print hole at offset 0 if more data exists

2025-04-27 Thread Mark Geisert via Cygwin
Hi Roland, On 4/25/2025 11:16 AM, Roland Mainz via Cygwin wrote: [...] FYI I updated http://svn.nrubsig.org/svn/people/gisburn/code/sparsefiles/lssparse.c to pass the Solaris/Illumos "cstyle" rules, e.g. the source now conforms UNIX C formatting rules (no functional changes, this was just to fo

Re: Windows 10 Home and sshfs

2025-04-26 Thread Brian Inglis via Cygwin
On 2025-04-26 15:25, Mark Geisert via Cygwin wrote: Hi Brian, On 4/26/2025 12:51 PM, Brian Inglis via Cygwin wrote: On 2025-04-25 12:04, David Christensen via Cygwin wrote: On 4/24/25 22:01, Mark Geisert via Cygwin wrote: OK, that looks to be the real problem.  What does cygcheck -c cygf

Re: Windows 10 Home and sshfs

2025-04-26 Thread Mark Geisert via Cygwin
Hi Brian, On 4/26/2025 12:51 PM, Brian Inglis via Cygwin wrote: On 2025-04-25 12:04, David Christensen via Cygwin wrote: On 4/24/25 22:01, Mark Geisert via Cygwin wrote: OK, that looks to be the real problem.  What does cygcheck -c cygfuse display? ..mark 2025-04-25 11:02:33 admin@dq6

Re: Windows 10 Home and sshfs

2025-04-26 Thread Brian Inglis via Cygwin
On 2025-04-25 12:04, David Christensen via Cygwin wrote: On 4/24/25 22:01, Mark Geisert via Cygwin wrote: OK, that looks to be the real problem.  What does cygcheck -c cygfuse display? ..mark 2025-04-25 11:02:33 admin@dq67sw ~ $ cygcheck -c cygfuse Cygwin Package Information Package

Re: tfind missing a const qualifier.

2025-04-25 Thread Mark Geisert via Cygwin
Hi Collin, On 4/23/2025 8:28 PM, Collin Funk via Cygwin wrote: Hi, While testing gnulib I noticed that tfind on cygwin is defined like: void *tfind (const void *, void **, int (*) (const void *, const void *)); But POSIX requires [1] (*): void *tfind (const void *

Re: cygutils 1.4.17-2: lssparse -H does not print hole at offset 0 if more data exists

2025-04-25 Thread Roland Mainz via Cygwin
On Sun, Apr 6, 2025 at 9:53 AM Mark Geisert via Cygwin wrote: > > Hi Roland, > > On 4/5/2025 7:56 AM, Roland Mainz via Cygwin wrote: > > On Wed, Apr 2, 2025 at 4:01 PM Christian Franke via Cygwin > > wrote: > >> > >> Testcase for a minor issue: > >> > >> $ > sparse_file > >> > >> $ chattr +S spar

Re: Windows 10 Home and sshfs

2025-04-25 Thread David Christensen via Cygwin
On 4/24/25 22:01, Mark Geisert via Cygwin wrote: OK, that looks to be the real problem.  What does     cygcheck -c cygfuse display? ..mark 2025-04-25 11:02:33 admin@dq67sw ~ $ cygcheck -c cygfuse Cygwin Package Information Package VersionStatus cygfuse 3.2.0-3

Re: Overwriting /etc/fstab to simplify drivenames

2025-04-25 Thread Andrey Repin via Cygwin
gt;> #none /cygdrive cygdrive binary,posix=0,user 0 0 >> none /mnt cygdrive noacl,binary,nouser,posix=0 0 0 >> W:/ /run bind acl,binary,nouser,posix=0 0 0 >> none /tmp usertemp binary,user,posix=0 0 0 Also, I would strongly advise against what you are doing (Re: your othe

Re: Overwriting /etc/fstab to simplify drivenames

2025-04-24 Thread Fergus Daly via Cygwin
>> Inelegant but it seems to work Thank you! The qualifier some_fs is new to me and very useful/effective. I reduced the syntax to c: /c some_fs binary 0 0 d: /d some_fs binary 0 0 .. .. l: /l some_fs binary 0 0 with (so far) no glitches. -- Problem reports: https://cygwin.com/problems.html

Re: Windows 10 Home and sshfs

2025-04-24 Thread Mark Geisert via Cygwin
Hi David, On 4/24/2025 2:44 PM, David Christensen via Cygwin wrote: On 4/23/25 23:50, Mark Geisert via Cygwin wrote: If you haven't tried running sshfs from an elevated shell, try that. Other than this, no further ideas yet. ..mark Thank you for the follow-up. My previous posts appear to

Re: Windows 10 Home and sshfs

2025-04-24 Thread David Christensen via Cygwin
On 4/23/25 23:50, Mark Geisert via Cygwin wrote: If you haven't tried running sshfs from an elevated shell, try that. Other than this, no further ideas yet. ..mark Thank you for the follow-up. My previous posts appear to be incomplete because I was logging in via SSH from Debian GNU/Linux.

Re: Windows 10 Home and sshfs

2025-04-23 Thread Mark Geisert via Cygwin
On 4/22/2025 10:09 PM, David Christensen via Cygwin wrote: On 4/22/25 22:05, Mark Geisert via Cygwin wrote: Welp, that's no help at all.  Let me try to reproduce the problem on my Win10 system using the same, recent, WinFSP you have.  This may take some time.  I appreciate your reporting the pr

Re: posix_spawn

2025-04-23 Thread Mark Geisert via Cygwin
Hi Camm, On 4/23/2025 12:46 PM, Camm Maguire via Cygwin wrote: Greetings! Trying to isolate this as you suggest. On first attempt, copying the exact same strings and calls into a main() function succeeds. I am near stumped, and can only guess that the addresses returned by malloc on _init of

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-23 Thread Mark Geisert via Cygwin
On 4/23/2025 3:59 AM, Christian Franke via Cygwin wrote: Mark Geisert via Cygwin wrote: Drat, typo alert: It looks to me like that 'if' statement should read    if (mbstowcs (*wcs_path, *mbs_path, len) ...     if (mbstowcs (*wcspath, mbs_path, len) ... Use 'len + 1', otherwise the result

Re: Permission issues in multiple packages

2025-04-23 Thread Andrew Schulman via Cygwin
On Wed, 23 Apr 2025 21:25:07 +0100, Jon Turney via Cygwin wrote: >On 22/04/2025 22:06, Andrew Schulman via Cygwin wrote: >> On Wed, 23 Apr 2025 03:48:19 +0900, ggl329 via Cygwin >> wrote: >> >>> Hi all, >>> >>> As Jon mentioned in the following mail, something may go wrong in the VM >>> for bu

Re: Permission issues in multiple packages

2025-04-23 Thread Jon Turney via Cygwin
On 22/04/2025 22:06, Andrew Schulman via Cygwin wrote: On Wed, 23 Apr 2025 03:48:19 +0900, ggl329 via Cygwin wrote: Hi all, As Jon mentioned in the following mail, something may go wrong in the VM for building packages. https://cygwin.com/pipermail/cygwin/2025-April/257948.html Many files/d

Re: Permission issues in multiple packages

2025-04-23 Thread Ken Brown via Cygwin
On 4/22/2025 5:06 PM, Andrew Schulman via Cygwin wrote: On Wed, 23 Apr 2025 03:48:19 +0900, ggl329 via Cygwin wrote: Hi all, As Jon mentioned in the following mail, something may go wrong in the VM for building packages. https://cygwin.com/pipermail/cygwin/2025-April/257948.html Many files/

Re: Overwriting /etc/fstab to simplify drivenames

2025-04-23 Thread Kevin Schnitzius via Cygwin
On Wednesday, April 23, 2025 at 10:08:52 AM EDT, Fergus Daly via Cygwin wrote: > For years I have overwritten the content of the default /etc/fstab with the > one-liner > none / cygdrive binary 0 0 > thus allowing drivenames of the style /d/ instead of /cygdrive/d/ > which syntax is (2nd) shor

Re: posix_spawn

2025-04-23 Thread Camm Maguire via Cygwin
Greetings! Trying to isolate this as you suggest. On first attempt, copying the exact same strings and calls into a main() function succeeds. I am near stumped, and can only guess that the addresses returned by malloc on _init of the file_actions and attr structures is triggering something. Sug

Re: sqlite 3.49.1-1 package bug changing return types signedness

2025-04-23 Thread Matthias Andree via Cygwin
Greetings, I haven't heard back from the issue I've documented below, or from Jan Nijtmans, and it still needs attention. The changes I've documented below actually introduce integer overflow and maybe memory violating conditions in applications that work fine on other operating systems, as

Re: Cannot install git-svn

2025-04-23 Thread Christian Franke via Cygwin
Wiktor S. via Cygwin wrote: Hi,recently it become impossible to install git-svn because of Perl dependency:Problem 1/1nothing provides perl5_036 needed by subversion-perl-1.14.2-1Solution 1/1 (default)  - do not ask to install git-svn-2.45.1-1-- Wiktor Sywula setup.ini: ... @ git-svn ... dep

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-23 Thread Christian Franke via Cygwin
Mark Geisert via Cygwin wrote: Drat, typo alert: It looks to me like that 'if' statement should read    if (mbstowcs (*wcs_path, *mbs_path, len) ...     if (mbstowcs (*wcspath, mbs_path, len) ... Use 'len + 1', otherwise the result would possibly be not null terminated. POSIX says: "The a

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-22 Thread Mark Geisert via Cygwin
Drat, typo alert: It looks to me like that 'if' statement should read   if (mbstowcs (*wcs_path, *mbs_path, len) ... if (mbstowcs (*wcspath, mbs_path, len) ... ..mark -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-22 Thread Mark Geisert via Cygwin
Hi Christian, On 4/12/2025 9:37 AM, Christian Franke via Cygwin wrote: ggl329 via Cygwin wrote: Hi all, I've encountered a possible bug in cygstart. It seems to abort when a URI is passed to it. $ cygcheck -dc | grep cygutils cygutils    1.4.17-3 $ cygstart https:

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 22:05, Mark Geisert via Cygwin wrote: Welp, that's no help at all.  Let me try to reproduce the problem on my Win10 system using the same, recent, WinFSP you have.  This may take some time.  I appreciate your reporting the problem and helping me debug. Thanks & Regards, ..mark Th

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
Hi David, On 4/22/2025 9:55 PM, David Christensen via Cygwin wrote: That's completely normal.  Hmm.  Time for the big gun... strace. Run the following command, then *attach* its output file to your next reply; don't compress, just attach. strace -o sshfs.trace sshfs -h The output file is

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
On 4/22/2025 9:32 PM, David Christensen via Cygwin wrote: On 4/22/25 21:30, Mark Geisert via Cygwin wrote: Then it's odd they don't appear in the ldd output.  How about trying cygcheck /usr/bin/sshfs.exe i.e., no options on cygcheck.  What does that output? ..mark 2025-04-22 20:48:27 ad

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
That's completely normal.  Hmm.  Time for the big gun... strace. Run the following command, then *attach* its output file to your next reply; don't compress, just attach.     strace -o sshfs.trace sshfs -h The output file is sshfs.trace in the directory you run sshfs from. Thanks much, ..mark

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 21:30, Mark Geisert via Cygwin wrote: Then it's odd they don't appear in the ldd output.  How about trying     cygcheck /usr/bin/sshfs.exe i.e., no options on cygcheck.  What does that output? ..mark 2025-04-22 20:48:27 admin@dq67sw ~ $ cygcheck /usr/bin/sshfs.exe C:\cygwin64\bin\

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
On 4/22/2025 9:08 PM, David Christensen via Cygwin wrote: On 4/22/25 21:01, Mark Geisert via Cygwin wrote: Now we're getting somewhere!  One or more of the following packages are missing from your Cygwin system.  Use the Cygwin Setup program to add them if not already installed: libiconv2

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 21:01, Mark Geisert via Cygwin wrote: Now we're getting somewhere!  One or more of the following packages are missing from your Cygwin system.  Use the Cygwin Setup program to add them if not already installed:     libiconv2     libintl8     libgcc1 (you likely already have this)

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
On 4/22/2025 8:50 PM, David Christensen via Cygwin wrote: On 4/22/25 20:35, Mark Geisert via Cygwin wrote: On 4/22/2025 8:18 PM, David Christensen via Cygwin wrote: 2025-04-22 20:07:20 admin@dq67sw ~ $ sshfs dpchrist@samba:/var/local/samba/dpchrist /samba/dpchrist 2025-04-22 20:07:38 admin@dq6

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 20:35, Mark Geisert via Cygwin wrote: On 4/22/2025 8:18 PM, David Christensen via Cygwin wrote: 2025-04-22 20:07:20 admin@dq67sw ~ $ sshfs dpchrist@samba:/var/local/samba/dpchrist /samba/dpchrist 2025-04-22 20:07:38 admin@dq67sw ~ $ echo $? 127 The 127 exit code indicates sshfs its

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
On 4/22/2025 8:18 PM, David Christensen via Cygwin wrote: On 4/22/25 19:31, Mark Geisert via Cygwin wrote: A peculiarity of Cygwin sshfs on Windows is that the directory being mounted on ('/samba' in your case) must not exist before starting sshfs. If that doesn't help, please do echo $?

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 19:31, Mark Geisert via Cygwin wrote: Hi David, I have run the WinFsp installer, leaving component selections at default: WinFsp Core -> Will be installed on local hard drive Looks good. When I use Cygwin sshfs(1) to mount the file server dire

Re: posix_spawn

2025-04-22 Thread Mark Geisert via Cygwin
Hi Camm, On 4/22/2025 12:31 PM, Camm Maguire via Cygwin-apps wrote: Greetings! posix_spawnp is returning 10, or ECHILD, on the following call. At least on my first reading (:-)), ECHILD is not one of the documented errors for fork, vfork, or clone referenced by the Linux manpage for posix_spaw

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
Hi David, On 4/22/2025 6:58 PM, David Christensen via Cygwin wrote: cygwin: I have SOHO network with a FreeBSD file server: 2025-04-22 18:55:28 toor@f5 ~ # freebsd-version ; uname -a 13.4-RELEASE-p4 FreeBSD f5.tracy.holgerdanske.com 13.4-RELEASE-p3 FreeBSD 13.4-RELEASE- p3 GENERIC amd64 I

Re: Permission issues in multiple packages

2025-04-22 Thread Andrew Schulman via Cygwin
On Wed, 23 Apr 2025 03:48:19 +0900, ggl329 via Cygwin wrote: >Hi all, > >As Jon mentioned in the following mail, something may go wrong in the VM for >building packages. >https://cygwin.com/pipermail/cygwin/2025-April/257948.html > >Many files/directories don't have permissions for non-privilege

Re: Permission issues in multiple packages

2025-04-22 Thread Andrew Schulman via Cygwin
On Wed, 23 Apr 2025 03:48:19 +0900, ggl329 via Cygwin wrote: >Hi all, > >As Jon mentioned in the following mail, something may go wrong in the VM for >building packages. >https://cygwin.com/pipermail/cygwin/2025-April/257948.html > >Many files/directories don't have permissions for non-privilege

Re: posix_spawn

2025-04-22 Thread Camm Maguire via Cygwin
Greetings! posix_spawnp is returning 10, or ECHILD, on the following call. At least on my first reading (:-)), ECHILD is not one of the documented errors for fork, vfork, or clone referenced by the Linux manpage for posix_spawnp. Suggestions? Take care,

Re: posix_spawn

2025-04-22 Thread Camm Maguire via Cygwin
Greetings, and thanks so much! Mark Geisert via Cygwin-apps writes: > On 4/19/2025 1:42 PM, Camm Maguire via Cygwin-apps wrote: >> Greetings! >> posix_spawn is returning non-zero without setting errno: >>massert(!posix_spawnp(&pid, *p1, &file_actions, &attr, (void >> *)p1, environ)); >> Is

Re: Cygwin SSHD session unable to access cloud/OneDrive files

2025-04-22 Thread Shaddy Baddah via Cygwin
Hi, On 8/04/2025 9:14 pm, Corinna Vinschen via Cygwin wrote: On Apr 4 16:23, Shaddy Baddah via Cygwin wrote: On 4/04/2025 10:02 am, Shaddy Baddah via Cygwin wrote: Hi, On 4/04/2025 4:49 am, ASSI via Cygwin wrote: Shaddy Baddah via Cygwin writes: If I connect an SSH session via the "native"

Re: git testsuite "t1004-read-tree-m-u-wf.sh" test hang with Cygwin 3.7.0 ...

2025-04-21 Thread Takashi Yano via Cygwin
On Mon, 21 Apr 2025 21:54:03 +0200 Roland Mainz via Cygwin wrote: > Hi! > > > > Running the git testsuite I got a hang of the > "t1004-read-tree-m-u-wf.sh" test in Cygwin 3.7 - the same test worked > AFAIK OK with Cygwin 3.5.x. > > My guess: |wait_sig()| and |_sigfe()| are involved, maybe

Re: child_info_fork::abort: cygpng16-16.dll

2025-04-21 Thread Jim Reisert AD1C via Cygwin
On Thu Apr 10 18:50:59 GMT 2025, ASSI wrote: > It seems that you are using the test version of Emacs that uses native > compilation. If so, then please actually read the announcement: > https://inbox.sourceware.org/cygwin-announce/2e4a21c3-3e94-4771-acf2-7e56e5fce...@cornell.edu/ > If that is

Re: Missing .pod file for 'diagnostics' pragma in CygwinPerl package?

2025-04-21 Thread Soren via Cygwin
On Fri, Apr 18, 2025 at 11:15 AM David Dyck wrote: > glad you found the solution > I very much want perl working well on cygwin > ... > > ( I guess I had perl_pods package installed already ) > > Yes. Soren (somia...@gmail.com) wrote earlier: > ... >> > Compilation failed in require. >> > B

Re: Rust for cygwin (was Re: Deadlock when calling pthread_key_create in the destructor of a pthread_key)

2025-04-21 Thread Jeremy Drake via Cygwin
On Sun, 20 Apr 2025, Takashi Yano via Cygwin wrote: > Is there any other blocker to build Rust for cygwin? https://github.com/rust-lang/rust/issues/137819 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwi

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-21 Thread Mark Geisert via Cygwin
Hi Christian, On 4/12/2025 9:37 AM, Christian Franke via Cygwin wrote: ggl329 via Cygwin wrote: Hi all, I've encountered a possible bug in cygstart. It seems to abort when a URI is passed to it. $ cygcheck -dc | grep cygutils cygutils    1.4.17-3 $ cygstart https:

Re: posix_spawn

2025-04-21 Thread Mark Geisert via Cygwin
On 4/19/2025 1:42 PM, Camm Maguire via Cygwin-apps wrote: Greetings! posix_spawn is returning non-zero without setting errno: massert(!posix_spawnp(&pid, *p1, &file_actions, &attr, (void *)p1, environ)); Is this intended to be supported? Is it known to be working or not working elsewhere

Re: /dev/null regression in Cygwin 3.6.1

2025-04-20 Thread Takashi Yano via Cygwin
On Sun, 20 Apr 2025 19:15:42 +0200 Bruno Haible wrote: > Hi, > > Takashi Yano wrote: > > > > Thanks for the new testcase. I think the issue has been fixed in: > > > > cygwin-3.7.0-0.68.g37c49decc835 (Test) > > > > > > Thanks. > > > > > > > Please test. > > > > > > Sorry, I don't know how to bui

Re: /dev/null regression in Cygwin 3.6.1

2025-04-20 Thread Bruno Haible via Cygwin
Hi, Takashi Yano wrote: > > > Thanks for the new testcase. I think the issue has been fixed in: > > > cygwin-3.7.0-0.68.g37c49decc835 (Test) > > > > Thanks. > > > > > Please test. > > > > Sorry, I don't know how to build Cygwin from git. I can only test > > releases. > > Now, cygwin-3.7.0-0.68

Re: Rust for cygwin

2025-04-19 Thread Yuyi Wang via Cygwin
Takashi Yano wrote: > Is there any other blocker to build Rust for cygwin? Thank you all for your admirable work on porting LLVM. Recently I have tried to build cargo targeting cygwin, and found that it needs libgit2. It seems that the libgit2 of cygwin is unmaintained. I will send requests if som

Re: Rust for cygwin (was Re: Deadlock when calling pthread_key_create in the destructor of a pthread_key)

2025-04-19 Thread Jeremy Drake via Cygwin
On Sun, 20 Apr 2025, Takashi Yano via Cygwin wrote: > On Mon, 24 Mar 2025 14:41:19 +0800 > Yuyi Wang wrote: > > > I mean it is some kind of cross compiler. > > > > Yes. Rustc is a cross compiler powered by LLVM. > > > > > ...is it possible to build Rust compiler itself by the cross-compiler? > > >

Rust for cygwin (was Re: Deadlock when calling pthread_key_create in the destructor of a pthread_key)

2025-04-19 Thread Takashi Yano via Cygwin
On Mon, 24 Mar 2025 14:41:19 +0800 Yuyi Wang wrote: > > I mean it is some kind of cross compiler. > > Yes. Rustc is a cross compiler powered by LLVM. > > > ...is it possible to build Rust compiler itself by the cross-compiler? > > Theoretically yes. Actually once a GitHub user @Ookiineko succeed

Re: /dev/null regression in Cygwin 3.6.1

2025-04-19 Thread Takashi Yano via Cygwin
On Tue, 15 Apr 2025 11:33:55 +0200 Bruno Haible wrote: > Takashi Yano wrote: > > Thanks for the new testcase. I think the issue has been fixed in: > > cygwin-3.7.0-0.68.g37c49decc835 (Test) > > Thanks. > > > Please test. > > Sorry, I don't know how to build Cygwin from git. I can only test > rel

Re: Missing .pod file for 'diagnostics' pragma in CygwinPerl package?

2025-04-18 Thread Brian Inglis via Cygwin
On 2025-04-17 19:34, Soren via Cygwin wrote: Hello Again, Cygwinistas; On Thu, Apr 17, 2025 at 1:07 PM I wrote: Hello Cygwinstas, I've got a question about the cygwin perl package installed with cygwin setup. I'm having a failure in some perl code not written by me but rather in a CPAN modu

Re: Packages needed to create a virtual environment in Python 3.9

2025-04-18 Thread Mercurio, Steven W-CTR (FAA) via Cygwin
hon312 pkg provided in Cygwin installs without ay issues From: Cygwin on behalf of David Dyck via Cygwin Sent: Friday, April 18, 2025 8:16 AM To: Philippe Baril Lecavalier Cc: cygwin@cygwin.com Subject: Re: Packages needed to create a virtual environment in

Re: Packages needed to create a virtual environment in Python 3.9

2025-04-18 Thread David Dyck via Cygwin
thank you P.B. Lecavalier! I greatly appreciate your response! Perhaps this can guide the cygwin packaging in te future I was missing ` python-setuptools-wheel` but I had installed the ` python-setuptools-wheel` Now I have success $ python3 -m ensurepip Looking in links: /tmp/tmpy457n2k6 Requir

Re: Packages needed to create a virtual environment in Python 3.9

2025-04-18 Thread Philippe Baril Lecavalier via Cygwin
Try these, seemingly not pulled from installing python39: python-setuptools-wheel python-pip-wheel I confirm the issue with a fresh install with python3{8,9}. pip is provided, but `ensurepip` gives that error. I think it should be the opposite on a basic python install: No pip package sho

Re: Missing .pod file for 'diagnostics' pragma in CygwinPerl package?

2025-04-17 Thread Soren via Cygwin
Hello Again, Cygwinistas; On Thu, Apr 17, 2025 at 1:07 PM I wrote: > > Hello Cygwinstas, > > I've got a question about the cygwin perl package installed with cygwin > setup. I'm having a failure in some perl code not written by me but rather in > a CPAN module I am seeking to install. This failu

Re: Packages needed to create a virtual environment in Python 3.9

2025-04-17 Thread David Dyck via Cygwin
I ran into this error today ( I was trying to use https://github.com/raulgotor/linkerscope.git ) but even with an empty folder I get error message even after I install " python-pip-wheel" from setup $ mkdir /tmp/pip-test ; cd /tmp/pip-test ; python3.9 -m venv venv mkdir /tmp/pip-test ; cd /tmp

Re: Perl stopped working

2025-04-17 Thread Kevin Schnitzius via Cygwin
On Thursday, April 17, 2025 at 11:54:44 AM EDT, Michael via Cygwin wrote: > perl > perl -v > perl -e 'print "Hello Perl\n"' > same result for all 3 of them (equal to 'echo ""'). Are you sure? echo $? Kevin -- Problem reports: https://cygwin.com/problems.html FAQ: https:/

Re: Perl stopped working

2025-04-17 Thread Brian Inglis via Cygwin
WJFFM! $ perl --version This is perl 5, version 40, subversion 1 (v5.40.1) built for x86_64-cygwin-threads-multi (with 3 registered patches, see perl -V for more detail) Copyright 1987-2025, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General

Re: Perl stopped working

2025-04-17 Thread René Berber via Cygwin
On 4/17/2025 9:52 AM, Michael via Cygwin wrote: After running cygwin-setup and updating all cygwin-packages, perl no longer seems to work (or maybe a coincidence). Executing "perl" without any argument normally let perl wait for input from stdin/keyboard. But it immediately returns to the pro

Re: Perl stopped working

2025-04-17 Thread David Dyck via Cygwin
try echo 'print "Hello Perl\n"' | perl perhaps you're thinking of pythons REPL ? I sort of like perl -de 1 to interact with perl On Thu, Apr 17, 2025 at 8:53 AM Michael via Cygwin wrote: > After running cygwin-setup and updating all cygwin-packages, perl no > longer seems to work (or maybe a

Re: /dev/null regression in Cygwin 3.6.1

2025-04-15 Thread Brian Inglis via Cygwin
On 2025-04-15 06:58, Takashi Yano via Cygwin wrote: On Tue, 15 Apr 2025 06:43:33 -0600 Brian Inglis via Cygwin wrote: On 2025-04-15 03:33, Bruno Haible via Cygwin wrote: Takashi Yano wrote: Thanks for the new testcase. I think the issue has been fixed in: cygwin-3.7.0-0.68.g37c49decc835 (Test

Re: /dev/null regression in Cygwin 3.6.1

2025-04-15 Thread Takashi Yano via Cygwin
On Tue, 15 Apr 2025 21:58:19 +0900 Takashi Yano via Cygwin wrote: > On Tue, 15 Apr 2025 06:43:33 -0600 > Brian Inglis via Cygwin wrote: > > On 2025-04-15 03:33, Bruno Haible via Cygwin wrote: > > > Takashi Yano wrote: > > >> Thanks for the new testcase. I think the issue has been fixed in: > > >

Re: /dev/null regression in Cygwin 3.6.1

2025-04-15 Thread Takashi Yano via Cygwin
On Tue, 15 Apr 2025 06:43:33 -0600 Brian Inglis via Cygwin wrote: > On 2025-04-15 03:33, Bruno Haible via Cygwin wrote: > > Takashi Yano wrote: > >> Thanks for the new testcase. I think the issue has been fixed in: > >> cygwin-3.7.0-0.68.g37c49decc835 (Test) > > > > Thanks. > > > >> Please test.

Re: /dev/null regression in Cygwin 3.6.1

2025-04-15 Thread Brian Inglis via Cygwin
On 2025-04-15 03:33, Bruno Haible via Cygwin wrote: Takashi Yano wrote: Thanks for the new testcase. I think the issue has been fixed in: cygwin-3.7.0-0.68.g37c49decc835 (Test) Thanks. Please test. Hi Takashi, Could you please deploy your CI test build so Bruno can select it from a mirror

Re: diffutils : version 3.12-1 or 3.11-1?

2025-04-15 Thread Brian Inglis via Cygwin
d not request a test version (of anything) - so I overwrote 3.12 with 3.11 on the mismatched platform and everything is consistent within setup.ini and between platforms. It really doesn't matter at all - but, just for information, was 3.12 offered as current and then recently re-assessed as test?

Re: mksetupini aborts if run by a normal user

2025-04-15 Thread ggl329 via Cygwin
Hi Jon, On 2025/04/14 0:39, Jon Turney wrote: I've rebuilt the package as calm-20250329-2, which I think has the correct permissions. In my environment, mksetupini works again. I confirmed that all directories/files have right permissions (rx/r) Thank you so much! -- ggl...@gmail.com --

Re: /dev/null regression in Cygwin 3.6.1

2025-04-15 Thread Bruno Haible via Cygwin
Takashi Yano wrote: > Thanks for the new testcase. I think the issue has been fixed in: > cygwin-3.7.0-0.68.g37c49decc835 (Test) Thanks. > Please test. Sorry, I don't know how to build Cygwin from git. I can only test releases. Bruno -- Problem reports: https://cygwin.com/problems.ht

Re: /dev/null regression in Cygwin 3.6.1

2025-04-15 Thread Takashi Yano via Cygwin
On Mon, 14 Apr 2025 15:03:16 +0200 Bruno Haible wrote: > Here's a smaller reproducer. > > foo.c > #include > #include > #include > > int main () > { > HANDLE h = (HANDLE) _get_osfhandle (0); > fprintf (stderr, "h = 0x%08x\n", h); >

RE: [EXTERNAL] Re: /dev/null regression in Cygwin 3.6.1

2025-04-14 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> (correct me if I'm wrong), READING from /dev/null is > undefined and may result in undetermined behavior. That's an incorrect recollection of facts, unfortunately. Reading from /dev/null should result in an immediate EOF (0 returned from read()). > But "< /dev/null" literally means "don't read

Re: /dev/null regression in Cygwin 3.6.1

2025-04-14 Thread Jeremy Drake via Cygwin
On Mon, 14 Apr 2025, Bruno Haible via Cygwin wrote: > Especially since this commit modified select.cc, removing a comment > /* TODO: Buffer really full or non-Cygwin reader? */ > and here we are exactly in that case: a non-Cygwin process reading from > Cygwin's /dev/null. That's Cygwin's select

Re: /dev/null regression in Cygwin 3.6.1

2025-04-14 Thread Bruno Haible via Cygwin
Here's a smaller reproducer. foo.c #include #include #include int main () { HANDLE h = (HANDLE) _get_osfhandle (0); fprintf (stderr, "h = 0x%08x\n", h); fprintf (stderr, "FileType is CHAR ? %d\n", GetFileType (h) == FILE_TYPE_CHA

Re: /dev/null regression in Cygwin 3.6.1

2025-04-14 Thread Andrey Repin via Cygwin
Greetings, Bruno Haible! > In Gnulib, we have a unit test that compiles the program below as a > native Windows program (either with mingw or with MSVC), that exercises > the Gnulib select() function > >

Re: /dev/null regression in Cygwin 3.6.1

2025-04-14 Thread Takashi Yano via Cygwin
Hi Bruno, On Sat, 12 Apr 2025 15:21:12 +0200 Bruno Haible wrote: > Hi, > > In Gnulib, we have a unit test that compiles the program below as a > native Windows program (either with mingw or with MSVC), that exercises > the Gnulib select() function > >

Re: mksetupini aborts if run by a normal user

2025-04-13 Thread Jon Turney via Cygwin
On 13/04/2025 08:02, Brian Inglis via Cygwin wrote: On 2025-04-12 08:59, ggl329 via Cygwin wrote: Hi Jon, Thanks for updating calm package. Usually, I work as a normal user. (i.e., not as root or an administrator) In this case, mksetupini aborts with a permission error. It is because Python li

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-13 Thread Andrey Repin via Cygwin
Greetings, Jeremy Drake! > On Fri, 11 Apr 2025, Andrey Repin via Cygwin wrote: >> Though, I'm using takecommand's free runtime (TCC-RT), which has an explicit >> START /ELEVATED command, and I'm using a wrapper for such tasks. > cygutils' > cygstart -a runas /bin/bash ... ? runas is not necessa

Re: mksetupini aborts if run by a normal user

2025-04-13 Thread Brian Inglis via Cygwin
On 2025-04-12 08:59, ggl329 via Cygwin wrote: Hi Jon, Thanks for updating calm package. Usually, I work as a normal user. (i.e., not as root or an administrator) In this case, mksetupini aborts with a permission error. It is because Python library files do not have permission to normal users. C

Re: Cygwin fork error

2025-04-12 Thread Siva kumar via Cygwin
This issue was resolved after a pc restart, thanx. On Sun, 13 Apr 2025 at 09:07, Siva kumar wrote: > Hi all, > My Cygwin was working perfectly until yesterday. I installed Python 3.13 > and pip and Ansible through Win powershell. I think this corrupted cygwin. > Now Cygwin is giving fork errors

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-12 Thread Christian Franke via Cygwin
ggl329 via Cygwin wrote: Hi all, I've encountered a possible bug in cygstart. It seems to abort when a URI is passed to it. $ cygcheck -dc | grep cygutils cygutils    1.4.17-3 $ cygstart https://www.google.com *** buffer overflow detected ***: terminated Aborted P

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Jeremy Drake via Cygwin
On Fri, 11 Apr 2025, Andrey Repin via Cygwin wrote: > Though, I'm using takecommand's free runtime (TCC-RT), which has an explicit > START /ELEVATED command, and I'm using a wrapper for such tasks. cygutils' cygstart -a runas /bin/bash ... ? -- Problem reports: https://cygwin.com/problems.

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Brian Inglis via Cygwin
On 2025-04-11 14:11, Backwoods BC wrote: On Fri, Apr 11, 2025 at 9:32 AM Brian Inglis via Cygwin wrote: On 2025-04-11 10:21, Mark Liam Brown via Cygwin wrote: Greetings! How can I modify a Cygwin bash script so it runs in elevated Administrator mode when someone double-clicks it in Windows E

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Brian Inglis via Cygwin
On 2025-04-11 10:46, Mark Liam Brown via Cygwin wrote: On Fri, Apr 11, 2025 at 6:32 PM Brian Inglis via Cygwin wrote: On 2025-04-11 10:21, Mark Liam Brown via Cygwin wrote: Greetings! How can I modify a Cygwin bash script so it runs in elevated Administrator mode when someone double-clicks i

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Backwoods BC via Cygwin
On Fri, Apr 11, 2025 at 9:32 AM Brian Inglis via Cygwin wrote: > > On 2025-04-11 10:21, Mark Liam Brown via Cygwin wrote: > > Greetings! > > > > How can I modify a Cygwin bash script so it runs in elevated > > Administrator mode when someone double-clicks it in Windows Explorer? > > Use a Run as a

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Andrey Repin via Cygwin
Greetings, Mark Liam Brown! > How can I modify a Cygwin bash script so it runs in elevated > Administrator mode when someone double-clicks it in Windows Explorer? Add a block that runs an admin only command and check for exit code. The `net session` or `openfiles` commands are a good candidate fo

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Mark Liam Brown via Cygwin
On Fri, Apr 11, 2025 at 6:32 PM Brian Inglis via Cygwin wrote: > > On 2025-04-11 10:21, Mark Liam Brown via Cygwin wrote: > > Greetings! > > > > How can I modify a Cygwin bash script so it runs in elevated > > Administrator mode when someone double-clicks it in Windows Explorer? > > Use a Run as a

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Brian Inglis via Cygwin
On 2025-04-11 10:21, Mark Liam Brown via Cygwin wrote: Greetings! How can I modify a Cygwin bash script so it runs in elevated Administrator mode when someone double-clicks it in Windows Explorer? Use a Run as admin shortcut? -- Take care. Thanks, Brian Inglis Calgary, Alberta, C

Re: ctrl-c issues in 3.6.1?

2025-04-10 Thread Takashi Yano via Cygwin
On Thu, 10 Apr 2025 10:39:02 -0700 (PDT) Jeremy Drake wrote: > On Thu, 10 Apr 2025, Takashi Yano via Cygwin wrote: > > > On Wed, 9 Apr 2025 16:41:18 -0700 (PDT) > > Jeremy Drake wrote: > > > I've been doing some building with cmake 4.0.0 and ninja 1.12.1 (of > > > llvm/clang, we've got something t

Re: child_info_fork::abort: cygpng16-16.dll

2025-04-10 Thread ASSI via Cygwin
Jim Reisert AD1C via Cygwin writes: > On one of my computers (but not the other), I get this error when I > try to start Emacs 29.4 in an xterm: > > 0 [main] emacs-gtk 2079 child_info_fork::abort: > \??\D:\Cygwin\bin\cygpng16-16.dll: Loaded to different address: > parent(0xCB) != child(0x

Re: On dropping Capability SIDs

2025-04-10 Thread Corinna Vinschen via Cygwin
On Apr 10 19:29, Lluís Batlle i Rossell via Cygwin wrote: > On Thu, Apr 10, 2025 at 12:17:13PM +0200, Corinna Vinschen wrote: > > I pushed a patch which skips not only Capability SIDs, but also AzureAD > > SIDs, IIS APPPOOL SIDs and Samba-generated SIDs. > > https://sourceware.org/cgit/newlib-cygwi

Re: pthread_atfork vs dlopen/dlclose

2025-04-10 Thread Corinna Vinschen via Cygwin
On Apr 10 11:03, Jeremy Drake via Cygwin wrote: > On Thu, 10 Apr 2025, Corinna Vinschen via Cygwin wrote: > > > > It seems glibc takes care of this implicit deregistration in > > > __cxa_finalize, after calling __cxa_atexit functions, it unregisters any > > > at_quick_exit or pthread_atfork callba

Re: pthread_atfork vs dlopen/dlclose

2025-04-10 Thread Jeremy Drake via Cygwin
On Thu, 10 Apr 2025, Corinna Vinschen via Cygwin wrote: > > It seems glibc takes care of this implicit deregistration in > > __cxa_finalize, after calling __cxa_atexit functions, it unregisters any > > at_quick_exit or pthread_atfork callbacks from the DSO being unloaded. > > > > https://sourcewar

Re: ctrl-c issues in 3.6.1?

2025-04-10 Thread Jeremy Drake via Cygwin
On Thu, 10 Apr 2025, Takashi Yano via Cygwin wrote: > On Wed, 9 Apr 2025 16:41:18 -0700 (PDT) > Jeremy Drake wrote: > > I've been doing some building with cmake 4.0.0 and ninja 1.12.1 (of > > llvm/clang, we've got something that seems to mostly work for a cygwin > > target), and I'm noticing after

Re: On dropping Capability SIDs

2025-04-10 Thread Lluís Batlle i Rossell via Cygwin
On Thu, Apr 10, 2025 at 12:17:13PM +0200, Corinna Vinschen wrote: > I pushed a patch which skips not only Capability SIDs, but also AzureAD > SIDs, IIS APPPOOL SIDs and Samba-generated SIDs. > https://sourceware.org/cgit/newlib-cygwin/commit/?id=e04891d67ac7 > > Please give the next test release c

Re: nano update (8.0) : "set smooth" now gives error

2025-04-10 Thread Philippe Baril Lecavalier via Cygwin
The same question was raised here: https://superuser.com/questions/1784162/nano-where-are-morespace-and-smooth-settings-gone Short answer, it is now default behavior, option was retired. I suppose it means adapt config file accordingly, because apparently won't just ignore mystery options (no "non

  1   2   3   4   5   6   7   8   9   10   >