Hi,

I recently faced some error messages when using git submodules. I found, that 
Cygwin's git works nicely on its own. But when I have MSYS binary paths in my 
environment, Cygwin's git finds the msys gettext and envsubst binary and tries 
to use it, resulting in error messages (see below). I did solve the issue, by 
installing Cygwin's gettext (which git does not seem to be requiring).
I write, because I found it somewhat odd, that Cygwin's git is not dependent on 
gettext, but uses it, if it finds it somewhere in the path environment. Just to 
emphasize, in my Cygwin environment all Cygwin paths come first. So it was only 
using the wrong msys binary, because there was none in Cygwin.
Is this behaviour expected and intended or could it be mitigated during 
installation somehow?

Just for completeness: I am using Cygwin and msys updated to the latest 
versions.
The original error message:

$ git submodule update
      0 [main] gettext (10868) child_copy: cygheap read copy failed, 
0x800000000..0x80002A310, done 0, windows pid 10868, Win32 error 6
   1248 [main] gettext 583 C:\msys64\usr\bin\gettext.exe: *** fatal error - 
couldn't create signal pipe, Win32 error 5
      0 [main] envsubst (4800) child_copy: cygheap read copy failed, 
0x800000000..0x80002A378, done 0, windows pid 4800, Win32 error 6
    604 [main] envsubst 584 C:\msys64\usr\bin\envsubst.exe: *** fatal error - 
couldn't create signal pipe, Win32 error 5
      0 [main] envsubst (2160) child_copy: cygheap read copy failed, 
0x800000000..0x80002A378, done 0, windows pid 2160, Win32 error 6
   1016 [main] envsubst 1385 C:\msys64\usr\bin\envsubst.exe: *** fatal error - 
couldn't create signal pipe, Win32 error 5




Cheers,
Andreas


-- 
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

Reply via email to