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

[BUG] Installing git-gui (2.27.0)

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
Jun 8, 2020, 14:02 UTC
Message-ID
<00dd01d63d9d$65f5dda0$31e198e0$@nexbridge.com>
Hi,

This is what I found when trying to install the whole git package on the NonStop TNS/E platform:

 DEST /usr/local/share/git-gui/lib
    INSTALL 644 tclIndex
install: cannot stat 'lib/tclIndex': No such file or directory
Makefile:293: recipe for target 'install' failed

I’m not sure why we are only hitting this now at 2.27.0. We don’t use git-gui anyway on this platform as it has no GUI interface. It looks like the install script runs auto_mkindex that actually does nothing in our case, so lib/tclIndex is not built.

This does block the install from completing successfully. To bypass, I added the following:

index f10caedaa7..943febaf75 100644
--- a/git-gui/Makefile
+++ b/git-gui/Makefile
@@ -256,6 +256,7 @@ lib/tclIndex: $(ALL_LIBFILES) GIT-GUI-VARS
          $(foreach p,$(PRELOAD_FILES),source $p\;) \
          auto_mkindex lib $(patsubst lib/%,%,$(sort $(ALL_LIBFILES))) \
        | $(TCL_PATH) $(QUIET_2DEVNULL); then : ok; \
+        echo >>$@ ; \
        else \
         echo >&2 "    * $(TCL_PATH) failed; using unoptimized loading"; \
         rm -f $@ ; \

Regards,
Randall

-- Brief whoami:
 NonStop developer since approximately 211288444200000000
 UNIX developer since approximately 421664400
-- In my real life, I talk too much.
Next: Pratyush Yadav
Message 1 of 3 in “[BUG] Installing git-gui (2.27.0)”
  1. Randall S. BeckerJun 8, 2020
  2. Pratyush YadavJun 23, 2020
  3. Randall S. BeckerJun 23, 2020

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.