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

Re: CMakeLists.txt from contrib/buildsystems fails to build on Mac

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Feb 8, 2023, 11:57 UTC
Message-ID
<230208.86sffgz7i1.gmgdl@evledraar.gmail.com>
In-Reply-To
<BFC8139A-0A9A-4E84-BC0B-D6EE5F469F82@gmail.com>
On Wed, Feb 08 2023, Ilya Kantor wrote:
> May that be because of some changes in MacOs Ventura? 
> Or is the CMakeLists.txt "dead and forgotten"? ;)
>
> P.S. The regular "make" route works.

You should just use "make", the "cmake" build method is currently in some limbo. See my https://lore.kernel.org/git/221227.86pmc4vrk3.gmgdl@evledraar.gmail.com/ for a recent overview/questions about it.

Since I wrote that 0949eba7fd0 (diagnose: another dup2() leak, 2022-12-06) landed on git.git's master, so we don't run it ourselves in CI, even for Windows (which it was intended for).

As noted in previous exchanges I wouldn't mind fixing it up to work on more platforms, but Junio wasn't enthusiastic about those patches & dropped them.

Alternatively I think the best thing to do is to "git rm" it from git.git, and leave it to git-for-windows. From what I understood from Johannes he preferred that plan.

Or rather, that GFW would be fixing it up, but then I don't see why it should be in git.git, which as your message shows just leads to confusion about why this component is in git.git's tree.

Previous: Ilya KantorNext: Phillip Wood
Message 2 of 5 in “CMakeLists.txt from contrib/buildsystems fails to build on Mac”
  1. Ilya KantorFeb 8, 2023
  2. Ævar Arnfjörð BjarmasonFeb 8, 2023
  3. Phillip WoodFeb 8, 2023
  4. Ilya KantorFeb 8, 2023
  5. Junio C HamanoFeb 8, 2023

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.