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

Re: [ANNOUNCE] Git v2.50.0-rc1 - Test Failed

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 4, 2025, 15:17 UTC
Message-ID
<xmqqjz5rcz90.fsf@gitster.g>
In-Reply-To
<aEBPdFXpIca7lMls@teonanacatl.net>
Todd Zullinger <tmz@pobox.com> writes:
Show 26 quoted lines
> rsbecker@nexbridge.com wrote:
>>>I hit a new issue during the test phase.
>>>
>>>Makefile:200: recipe for target 'lib/tclIndex' failed
>>>
>>>Is there any way to suppress this? I don't think we need TCL - don't have it anyway
>>>on NonStop.
>> 
>> More info:
>> 
>> The actual more complete error is:
>> 
>> /usr/coreutils/bin/bash generate-git-gui.sh "git-gui.sh" "git-gui" ./GIT-GUI-BUILD-OPTIONS ./GIT-VERSION-FILE
>> /usr/coreutils/bin/bash generate-tclindex.sh . ./GIT-GUI-BUILD-OPTIONS 
>> usage: generate-tclindex.sh <BUILD_DIR> <BUILD_OPTIONS> <LIBFILE> [<LIBFILE>...]
>> Makefile:200: recipe for target 'lib/tclIndex' failed
>> 
>> This seems like a legit problem to be fixed rather than ignored.
>
> If you don't have TCL, are you not setting NO_TCLTK for your
> builds?
>
> I don't think that's changed in ages, but perhaps something
> has changed in the build process or your build system which
> now exposes that you aren't setting it, which then tries to
> build git-gui (and would surely try to build gitk as well).
Curious.
$ git diff --name-status v2.50.0-rc0 v2.50.0-rc1 -- git-gui/ gitk-git/
M	git-gui/.gitattributes
M	git-gui/.gitignore
A	git-gui/GIT-GUI-BUILD-OPTIONS.in
M	git-gui/GIT-VERSION-GEN
M	git-gui/Makefile
A	git-gui/generate-git-gui.sh
A	git-gui/generate-macos-app.sh
A	git-gui/generate-macos-wrapper.sh
A	git-gui/generate-tclindex.sh
A	git-gui/lib/meson.build
A	git-gui/meson.build
A	git-gui/po/meson.build
M	gitk-git/Makefile
M	gitk-git/gitk
$ git diff --stat v2.50.0-rc0 v2.50.0-rc1 -- git-gui/ gitk-git/
 git-gui/.gitattributes            |   1 +
 git-gui/.gitignore                |   2 +-
 git-gui/GIT-GUI-BUILD-OPTIONS.in  |   7 ++
 git-gui/GIT-VERSION-GEN           |  44 ++++++++----
 git-gui/Makefile                  | 115 ++++++++---------------------
 git-gui/generate-git-gui.sh       |  29 ++++++++
 git-gui/generate-macos-app.sh     |  30 ++++++++
 git-gui/generate-macos-wrapper.sh |  35 +++++++++
 git-gui/generate-tclindex.sh      |  32 +++++++++
 git-gui/lib/meson.build           |  74 +++++++++++++++++++
 git-gui/meson.build               | 148 ++++++++++++++++++++++++++++++++++++++
 git-gui/po/meson.build            |  38 ++++++++++
 gitk-git/Makefile                 |   2 +-
 gitk-git/gitk                     |  10 ++-
 14 files changed, 458 insertions(+), 109 deletions(-)

So the build procedure for git-gui (but not gitk) has changed rather extensively after we tagged the preview before -rc1? Honestly, I would have preferred to see a change with this impact go through the regular 'seen' to 'next' to 'master' way before -rc0, but that is water under the bridge.

We are in an exciting cycle X-<.
J6t?

I do not spot anything obviously wrong (and it is not expected that I would---we wouldn't have this code sent to me in the first place if this is something I can immediately notice). git-gui/Makefile sets ALL_LIBFILES to $(wildcard lib/*.tcl) and then does

    $(SHELL_PATH) generate-tclindex.sh . ./GIT-GUI-BUILD-OPTIONS $(ALL_LIBFILES)
So the error message in Becker's message, i.e.
> /usr/coreutils/bin/bash generate-tclindex.sh . ./GIT-GUI-BUILD-OPTIONS 
> usage: generate-tclindex.sh <BUILD_DIR> <BUILD_OPTIONS> <LIBFILE> [<LIBFILE>...]
> Makefile:200: recipe for target 'lib/tclIndex' failed

suggests that $(wildcard lib/*tcl) expanded to *nothing*, which sounds horribly wrong. They are source material and should exist in an unmodified checkout or a tarball extract.

Previous: Todd ZullingerNext: Johannes Sixt
Message 5 of 17 in “[ANNOUNCE] Git v2.50.0-rc1”
  1. Junio C HamanoJun 3, 2025
  2. rsbecker@nexbridge.comJun 3, 2025
  3. rsbecker@nexbridge.comJun 3, 2025
  4. Todd ZullingerJun 4, 2025
  5. Junio C HamanoJun 4, 2025
  6. Johannes SixtJun 4, 2025
  7. rsbecker@nexbridge.comJun 5, 2025
  8. Patrick SteinhardtJun 5, 2025
  9. rsbecker@nexbridge.comJun 5, 2025
  10. Johannes SixtJun 5, 2025
  11. Junio C HamanoJun 5, 2025
  12. [GIT PULL] git-gui: fix for: [ANNOUNCE] Git v2.50.0-rc1 - Test FailedJohannes Sixt, Jun 6, 2025
  13. [GIT PULL] git-gui: Sync with 2.50.1, Tcl >= 8.6, git >= 2.36Johannes Sixt, Jul 22, 2025
  14. rsbecker@nexbridge.comJun 5, 2025
  15. Junio C HamanoJun 5, 2025
  16. 'Todd Zullinger'Jun 5, 2025
  17. rsbecker@nexbridge.comJun 6, 2025

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.