Re: [BUG] Re: Git 2.35.0-rc0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 10, 2022 at 09:20:15PM -0500, rsbecker@xxxxxxxxxxxxx wrote:
> 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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux