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

Re: win+Meson test failures due to ps/build-meson-fixes-0130 topic?

From
Jeff King <peff@peff.net>
Date
Feb 26, 2025, 08:20 UTC
Message-ID
<20250226082002.GA30633@coredump.intra.peff.net>
In-Reply-To
<20250226074653.GA27455@coredump.intra.peff.net>
On Wed, Feb 26, 2025 at 02:46:53AM -0500, Jeff King wrote:
> I'd imagine that if I did a complete "rm -rf build && meson setup build"
> it would work. But it's pretty lousy to have to do that preemptively
> during a bisection.
Looks like this runs even deeper. On my Linux machine:
  $ git checkout origin/next
  $ meson setup build
  [...ok...]
  $ meson compile -C build
  [...ok...]
  $ git checkout origin/master
  $ meson compile -C build
  [...]
  ../meson.build:215:35: ERROR: The `!=` operator of array does not accept objects of type str ()
  FAILED: build.ninja
  /usr/bin/meson --internal regenerate /home/peff/compile/git .
  ninja: error: rebuilding 'build.ninja': subcommand failed
  $ rm -rf build
  $ meson setup build
  $ meson compile -C build
  [...ok again...]

I'm hoping you can tell me I'm holding it wrong, and there's some way to do an incremental build when crossing these sorts of boundaries (without blowing away all of the build products).

I do at least use ccache which makes the "rm -rf" case a little less painful.

-Peff
Previous: Jeff KingNext: Patrick Steinhardt
Message 6 of 10 in “win+Meson test failures due to ps/build-meson-fixes-0130 topic?”
  1. Junio C HamanoFeb 25, 2025
  2. Patrick SteinhardtFeb 26, 2025
  3. Jeff KingFeb 26, 2025
  4. Patrick SteinhardtFeb 26, 2025
  5. Jeff KingFeb 26, 2025
  6. Jeff KingFeb 26, 2025
  7. Patrick SteinhardtFeb 26, 2025
  8. Jeff KingFeb 26, 2025
  9. Junio C HamanoFeb 26, 2025
  10. Patrick SteinhardtFeb 26, 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.