| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org ECC9C385770B |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
| s=default; t=1687526840; | |
| bh=lildVDPHKkto/N0/Ua+bhUnjfZayoiFaUdw2L0p1M+0=; | |
| h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: | |
| List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
| From; | |
| b=U6dEuKJ8omPOzQdwuDv5hmoEVVm/iMbu+zY1Kbgw5EY8geplm17TPPndB4EcGCo7u | |
| GWT64hRYluNth+oFQLGz8dzy04oKXMSHsfnQ7jw8Svx7txDyhB/rUrQt9PWwt6asQI | |
| j+5aLXuHy5nVf/RVpjL6yo7Kc1WPfAZnjCeJUVtI= | |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org C61D3385842B |
| X-Authority-Analysis: | v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=64959d8c |
| a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 | |
| a=IkcTkHD0fZMA:10 a=vKebfVIyAAAA:8 a=wAMzdsG3wpxkN83IyTcA:9 a=QEXdDO2ut3YA:10 | |
| a=yD5foFrTM6EA:10 a=n2eEs4sum_sr8PAT1Mgn:22 | |
| Message-ID: | <11affc98-6cde-d84a-ac07-a83d8901a385@Shaw.ca> |
| Date: | Fri, 23 Jun 2023 07:26:35 -0600 |
| MIME-Version: | 1.0 |
| User-Agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 |
| Thunderbird/102.12.0 | |
| Subject: | Re: git submodule + gettext / envsubst |
| To: | cygwin AT cygwin DOT com |
| References: | <000101d9a5a8$8b78d160$a26a7420$@uni-bremen.de> |
| <CA+kUOamhXV2Y1ncOtLbu1+zQ_sSMhKRrZSdgNmZNnoBj8N2YEw AT mail DOT gmail DOT com> | |
| <5ec6f2b3-bcb9-9a9c-095b-0d4cb45c9089 AT dronecode DOT org DOT uk> | |
| Organization: | Inglis |
| In-Reply-To: | <5ec6f2b3-bcb9-9a9c-095b-0d4cb45c9089@dronecode.org.uk> |
| X-CMAE-Envelope: | MS4xfPIoC0UL2/g3S4MhWi3v10T8w3Eek76CPF6iot7pMQoWFp6t/kdymLUlZx+hPbYVh9bzCbwNusUSKJ/qgpBdT2M4sseiCZhFaHG4FnG9nCe1fqcMUDEU |
| vBRxbkvCr4aIqmios6cMLWsmRkpQVA31NrMjWP3gj3iDRWrLSnDTQnYU9cD6G3GvGw1gkWKTwzq8DA== | |
| X-Spam-Status: | No, score=-3.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, |
| DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, | |
| SPF_HELO_NONE, SPF_PASS, TXREP, | |
| T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 | |
| X-Spam-Checker-Version: | SpamAssassin 3.4.6 (2021-04-09) on |
| server2.sourceware.org | |
| X-BeenThere: | cygwin AT cygwin DOT com |
| X-Mailman-Version: | 2.1.29 |
| List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
| List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
| <mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
| List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
| List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
| <mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
| From: | Brian Inglis via Cygwin <cygwin AT cygwin DOT com> |
| Reply-To: | cygwin AT cygwin DOT com |
| Cc: | Brian Inglis <Brian DOT Inglis AT Shaw DOT ca> |
| Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com |
| Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
| X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 35NDRgCi016451 |
On 2023-06-23 06:35, Jon Turney via Cygwin wrote:
> On 23/06/2023 11:11, Adam Dinwoodie via Cygwin wrote:
>> 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…
>
> perhaps git.cygport needs DEPS_PATH="/usr/libexec/git-core" or something like
> that (so that executables files in that directory are included in the automatic
> dependency check)
>
> [1] https://cygwin.github.io/cygport/pkg_info_cygpart.html#DEPS_PATH
Most git binaries link to gettext's libintl8 /usr/bin/cygintl-8.dll but a number
of Git shell scripts:
/usr/libexec/git-core/git-bisect
/usr/libexec/git-core/git-filter-branch
/usr/libexec/git-core/git-merge-octopus
/usr/libexec/git-core/git-merge-one-file
/usr/libexec/git-core/git-merge-resolve
/usr/libexec/git-core/git-mergetool
/usr/libexec/git-core/git-quiltimport
/usr/libexec/git-core/git-request-pull
/usr/libexec/git-core/git-submodule
/usr/libexec/git-core/git-web--browse
each source:
. git-sh-setup in /usr/libexec/git-core/
which sources:
. "$(git --exec-path)/git-sh-i18n" in /usr/libexec/git-core/
which sources:
. gettext.sh in /usr/bin/
which defines shell functions which run the gettext binaries:
/usr/bin/gettext
/usr/bin/ngettext
so not easily detectable, probably needing cygport REQUIRES=gettext.
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |