Andy Durant
Andy Durant
Hi Mark, thanks for the info. I updated my fork from master before work on these PRs, so it should be current, I last contributed quite a while ago.
Also affected by: https://github.com/ansible-ThoTeam/nexus3-oss/blob/0c6c4a4f4331a4b19287d4f488552778825bfd41/tasks/process_repos_list.yml#L443-L448
I commented out those resolutions, and haven't re-introduced them yet. But doing so did resolve the hang, so it's definitely the regex that is causing the problem.
I've been using this PR as the basis for what I'm running on my Pi Zero W. For the Zero I needed to make some more changes (not using rpi-3...
Related to https://github.com/msys2/msys2-runtime/issues/59
I can't share the full result, but may be able to share a cut down version. I'm not currently working on the same project though, so won't be any time...
Sorry @sschuberth, the project I was working on tailed off, and I was avoiding using the regex when I was last working on it. If I pick it up again...
I've done some testing locally, and found forcing `use_posix_semantics = 0` in [`rename2`](https://github.com/msys2/msys2-runtime/blob/9acb704afe9d9d8a090f2391e2bb88add63997c6/winsup/cygwin/syscalls.cc#L2437) makes the rename calls successful. The output from [`NtSetInformationFile`](https://github.com/msys2/msys2-runtime/blob/9acb704afe9d9d8a090f2391e2bb88add63997c6/winsup/cygwin/syscalls.cc#L2616) is `STATUS_INVALID_PARAMETER` otherwise. strace for failed mv: https://pastebin.com/QtP0w4QH...
Given `NtSetInformationFile` is returning the error, but there doesn't seem to be a problem with the call, it seems like a bug in the lower level calls. There are related...
@schwaerz the fixes have been in cygwin/master for a while, but have only gone into version 3.5+. The current release of MSYS2 is from 3.4.10.