git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git submodule add broken (2.11.0-rc1): Cannot open git-sh-i18n

From
Stefan Beller <sbeller@google.com>
Date
Nov 7, 2016, 17:56 UTC
Message-ID
<CAGZ79kYbrDu=9Hw+SBnubSHKOc8HmGPb721ZJQxGWW2egqmuDg@mail.gmail.com>
In-Reply-To
<CA+dzEBmP2aUit00ukJyQeg=iqUJJLVaovafo2gngf9MvEqZDPA@mail.gmail.com>
    $ git --version
    git version 1.8.5.6
    $ if [ "$LATEST_GIT" = "1" ]; then
    ...
         export PATH="/tmp/git:$PATH"
     fi
    ....
    make -j 8
    ...
    $ git --version
    git version 2.11.0-rc0

So you compile 2.11.0-rc0 yourself, but you do not install it, instead the $PATH is pointed to /tmp/git instead, however the later calls fail with:

    Can't open /home/travis/libexec/git-core/git-sh-i18n
which is where 1.8.5.6 is installed.

So you're running into an internationalization problem between 2 very different versions of Git (1.8 seems to be ancient)

Not sure if i can offer advice except from "Don't do that, instead install Git properly". ;)

Thanks, Stefan

Previous: Anthony SottileNext: Stefan Beller
Message 2 of 4 in “git submodule add broken (2.11.0-rc1): Cannot open git-sh-i18n”
  1. Anthony SottileNov 7, 2016
  2. Stefan BellerNov 7, 2016
  3. Stefan BellerNov 7, 2016
  4. Junio C HamanoNov 8, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.