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

Re: Built Git 2.27.0 from sources on macOS Catalina fails on "make profile"

From
Jeff King <peff@peff.net>
Date
Jul 1, 2020, 15:37 UTC
Message-ID
<20200701153726.GC6726@coredump.intra.peff.net>
In-Reply-To
<618374D7-60E1-4942-B29F-4F2EA261996F@gmail.com>
On Wed, Jul 01, 2020 at 03:17:05PM +0200, Fabio Frumento wrote:
> now I'm struggling during the ```make profile``` step
> [...]
> I'm a little surprised as presumed, since 2.27.0 is an official
> release, all the tests should pass without any issue.

They generally do (not just for releases but for every commit that hits master). However, we've sometimes seen weird test failures from "make profile" (which in my experience isn't all that well maintained).

That said, "make profile" passes for me on v2.27.0, on Linux. It's possible that a test is racy (the profiler often slows things down, exacerbating races), but I can't seem to get t0410 to fail with our usual stress-test to find races.

If you don't care about profile-optimized builds, then I'd suggest skipping "make profile".

If you want to look further into the test failure, probably it would help to re-run the test with more verbose settings. E.g.:

  [wait for this to fail, which would leave the problematic version of
   git in the build directory]
  $ make profile
  $ cd t
  $ ./t0410-partial-clone.sh -v -i -x
then we could see what's failing.
> How to file a bug to the Git developers?
I think you just did.
-Peff
Previous: Fabio FrumentoNext: Fabio Frumento
Message 2 of 5 in “Built Git 2.27.0 from sources on macOS Catalina fails on "make profile"”
  1. Fabio FrumentoJul 1, 2020
  2. Jeff KingJul 1, 2020
  3. Fabio FrumentoJul 1, 2020
  4. Jeff KingJul 1, 2020
  5. Fabio FrumentoJul 1, 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.