git submodule + gettext / envsubst

Adam Dinwoodie adam@dinwoodie.org
Fri Jun 23 10:11:33 GMT 2023


On Fri, 23 Jun 2023 at 08:59, Andreas Heckel via Cygwin wrote:
>
> 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?

This sounds like a missing dependency in Cygwin's Git package. I'm
slightly surprised – the package is included in the build
requirements, and cygport is normally pretty good at detecting runtime
dependencies in this sort of circumstance – but I'll get it fixed as
soon as I manage to get a new Git release out.

That's going to happen Any Day Now, although it has been Any Day Now
for a few months at this point thanks to a variety of other life
issues taking priority…

Adam


More information about the Cygwin mailing list