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

Re: What's cooking in git.git (May 2024, #04; Thu, 9)

From
Torsten Bögershausen <tboegi@web.de>
Date
May 10, 2024, 06:32 UTC
Message-ID
<20240510063230.GA27291@tb-raspi4>
In-Reply-To
<xmqq5xvmschw.fsf@gitster.g>
On Thu, May 09, 2024 at 06:04:59PM -0700, Junio C Hamano wrote:
Show 36 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
> > * cw/git-std-lib (2024-02-28) 4 commits
> >  - SQUASH??? get rid of apparent debugging crufts
> >  - test-stdlib: show that git-std-lib is independent
> >  - git-std-lib: introduce Git Standard Library
> >  - pager: include stdint.h because uintmax_t is used
> >
> >  Split libgit.a out to a separate git-std-lib tor easier reuse.
> >
> >  Expecting a reroll.
> >  source: <cover.1696021277.git.jonathantanmy@google.com>
>
> Just a heads-up.  The topic is pushed out of 'seen', as it seems to
> be hated by osx-* jobs when linking programs.  As the topic has been
> expecting a reroll for some time, it is not ultra urgent to fix
> this, but before resurrecting it, we may want to look into it.
>
> https://github.com/git/git/actions/runs/9023837489
>
> is an example run where we see error messages like:
>
> ld: warning: ignoring duplicate libraries: 'git-std-lib.a', 'libgit.a', 'reftable/libreftable.a', 'xdiff/lib.a'
>
> and
>
> ld: Undefined symbols:
>     _git_config_get_bool, referenced from:
>         _precompose_string_if_needed in git-std-lib.a[11](precompose_utf8.o)
>
> in both clang and gcc jobs.
>
> We did not see these breakages before, and we do not see these
> breakages in today's 'seen' with this topic excluded.  I haven't
> tried to include this but excluding tb/precompose-getcwd topic
> instead, which I suspect might also work.

I think that including tb/precompose-getcwd should be fine. As a side note: Thanks for cleaning that up.

I tried to reproduce the breakage, but could not. The github log says: 2024-05-09T21:33:21.8856440Z ++ CI_COMMIT=0c244ffcb1ec0d507d71e244817a3d1972acde59 (But that commit is probably gone).

Trying to compile
  commit 0ebed321d488910d7b34953df0e3bc9d5d74ba70 (HEAD, junio/cw/git-std-lib)
  Author: Junio C Hamano <gitster@pobox.com>
  Date:   Wed Feb 28 12:42:51 2024 -0800
    SQUASH??? get rid of apparent debugging crufts
Did not bring up the problems here, compiling worked.
The problem on the github run is that
  LINK t/unit-tests/bin/t-ctype
failed because of missing symbols which should be provided by
compat/precompose_utf8.c

I am not an expert on the libification effort. Someone could wildly speculate that this very version of "seen" did have merge conflicts, that led to compat/precompose_utf8.o missing somewhere in the Makefile(s)

Previous: Junio C HamanoNext: Patrick Steinhardt
Message 3 of 7 in “What's cooking in git.git (May 2024, #04; Thu, 9)”
  1. Junio C HamanoMay 9, 2024
  2. Junio C HamanoMay 10, 2024
  3. Torsten BögershausenMay 10, 2024
  4. Patrick SteinhardtMay 10, 2024
  5. Junio C HamanoMay 10, 2024
  6. Patrick SteinhardtMay 10, 2024
  7. Justin ToblerMay 10, 2024

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.