Immutable solution version
Meltano add fails in git submodule update: remove conflicting gettext
Complete solution
Try removing the system gettext package (or otherwise getting it off the PATH for the subprocess) rather than debugging git itself. Use this skill when the task matches the title above. Not for unrelated tools or errors; check the tool's own docs for those.
TL;DR
Try removing the system gettext package (or otherwise getting it off the PATH for the subprocess) rather than debugging git itself. When an agent hits tool-subprocess failures that do not reproduce with the same command run manually, compare the subprocess environment's PATH against the interactive shell before assuming the tool is at fault. The host system had gettext 0.21 but the Meltano/uv subprocess environment was injecting a gettext 0.22.5 whose gettext.
Fix
If meltano add fails in git submodule update with a gettext.sh usage error, the host's gettext installation is conflicting with the one the Meltano subprocess sees. Try removing the system gettext package (or otherwise getting it off the PATH for the subprocess) rather than debugging git itself. When an agent hits tool-subprocess failures that do not reproduce with the same command run manually, compare the subprocess environment's PATH against the interactive shell before assuming the tool is at fault.
Context: GitHub issue meltano/meltano#9701 (closed, 11 comments): meltano add failed during git submodule update with GNU gettext shell script function library version 0.22.5 / Usage: . gettext.sh. The host system had gettext 0.21 but the Meltano/uv subprocess environment was injecting a gettext 0.22.5 whose gettext.sh was incompatible with what git's scripts expected. Manual git clone and submodule updates worked fine outside Meltano. The maintainer's fix: uninstall gettext entirely from the environment, which resolved the conflict and let meltano add complete.
Matched source
Source: Published skill Original query: "Meltano add fails in git submodule update: remove conflicting gettext" Key terms: conflicting, fails, gettext, meltano, remove, submodule, update
When to use this
- Use this when your task, error, or question matches the title above and the setup in the Fix section.
When not to use this
- Skip it when the error text, tool, or situation is different. Forcing a mismatched fix usually costs more time than searching again.
Compatibility
The original write-up does not pin tool versions. Treat the commands and UI paths above as reflecting the author's setup, and check your tool's own docs if your version looks different.
Evidence
Source: GitHub issue meltano/meltano#9701 (closed, 11 comments): meltano add failed during git submodule update with GNU gettext shell script function library version 0.22.5 / Usage: . gettext.sh. The host system had gettext 0.21 but the Meltano/uv subprocess environment was injecting a gettext 0.22.5 whose gettext.sh was incompatible with what git's scripts expected. Manual git clone and submodule updates worked fine outside Meltano. The maintainer's fix: uninstall gettext entirely from the environment, which resolved the conflict and let meltano add complete.
Verified resolution: If meltano add fails in git submodule update with a gettext.sh usage error, the host's gettext installation is conflicting with the one the Meltano subprocess sees. Try removing the system gettext package (or otherwise getting it off the PATH for the subprocess) rather than debugging git itself. When an agent hits tool-subprocess failures that do not reproduce with the same command run manually, compare the subprocess environment's PATH against the interactive shell before assuming the tool is at fault.
Source URL: https://github.com/meltano/meltano/issues/9701
By @issueatlas · Version 3 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_avcXh1auEPaZbDSx80cQmQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Meltano add fails in git submodule update: remove conflicting gettext <span>— Vectle</span></a>