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

Re: [BUG] Re: Git 2.35.0-rc0

From
Taylor Blau <me@ttaylorr.com>
Date
Jan 11, 2022, 02:52 UTC
Message-ID
<Ydzw+RqR6IfbT/oM@nand.local>
In-Reply-To
<00fd01d80691$c87e3ad0$597ab070$@nexbridge.com>
On Mon, Jan 10, 2022 at 09:20:15PM -0500, rsbecker@nexbridge.com wrote:
Show 11 quoted lines
> Hi All,
>
> Git 2.35.0-rc0 is not portable:
>
> uncompress2(uncompressed + block_header_skip, &dst_len,
>                    ^
> "/home/ituglib/randall/jenkins/.jenkins/workspace/Git_Pipeline/reftable/bloc
> k.c", line 213: error(114):
>           identifier "uncompress2" is undefined
>
> This is not a POSIX compliant call.

uncompress2() isn't a POSIX thing, it's part of zlib IIUC. The new caller is in the reftable code, which provides a build knob NO_UNCOMPRESS2 that you can use if your version of zlib does not have uncompress2().

uncompress2() was added to zlib back in 37281ac (Add uncompress2() function, which returns the input size used., 2016-11-15), which first appeared in version 1.2.9.

If your system doesn't have a modern-ish zlib, you may try building with that knob, or upgrading your system's copy of zlib. And if NonStop doesn't have a modern zlib available at all, we should modify the NonStop section of config.mak.uname.

Thanks, Taylor

Previous: rsbecker@nexbridge.comNext: rsbecker@nexbridge.com
Message 2 of 13 in “[BUG] Re: Git 2.35.0-rc0”
  1. rsbecker@nexbridge.comJan 11, 2022
  2. Taylor BlauJan 11, 2022
  3. rsbecker@nexbridge.comJan 11, 2022
  4. Taylor BlauJan 11, 2022
  5. rsbecker@nexbridge.comJan 11, 2022
  6. rsbecker@nexbridge.comJan 11, 2022
  7. rsbecker@nexbridge.comJan 11, 2022
  8. Taylor BlauJan 11, 2022
  9. rsbecker@nexbridge.comJan 11, 2022
  10. Junio C HamanoJan 12, 2022
  11. Taylor BlauJan 12, 2022
  12. Ævar Arnfjörð BjarmasonJan 13, 2022
  13. Junio C HamanoJan 13, 2022

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.