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

RE: [BUG] Re: Git 2.35.0-rc0

From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Jan 11, 2022, 03:51 UTC
Message-ID
<010d01d8069e$8d330480$a7990d80$@nexbridge.com>
In-Reply-To
<Ydzyv8ZCEpDDRBXT@nand.local>
On January 10, 2022 10:00 PM, Taylor Blau wrote:
Show 20 quoted lines
> On Mon, Jan 10, 2022 at 09:57:57PM -0500, rsbecker@nexbridge.com
> wrote:
> > > 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.
> >
> > There is no provision in reftable/block.c to avoid using uncompress2,
> > so the knob will not help. Our zlibc is not that recent (as in it does
> > not have uncompress2) and we cannot make the 2.35.0 timeframe to
> > upgrade it. The current zlib seems to require gcc and is very
> > difficult to port at this stage. This is a blocker situation.
> 
> NO_UNCOMPRESS2 does not avoid calling uncompress2, but instead compiles
> a copy-and-pasted implementation in compat/ so that the function is available.
> 
> Looking through it, I can't imagine that it wouldn't compile just fine even on
> NonStop.
> 
> Have you tried building with NO_UNCOMPRESS2?
The patch for NonStop to make this compile is as follows. Test is running - will be 2 days:
diff --git a/config.mak.uname b/config.mak.uname
index a3a779327f..9b3e9bff5f 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -576,6 +576,7 @@ ifeq ($(uname_S),NONSTOP_KERNEL)
        NO_SETENV = YesPlease
        NO_UNSETENV = YesPlease
        NO_MKDTEMP = YesPlease
+       NO_UNCOMPRESS2 = YesPlease
        # Currently libiconv-1.9.1.
        OLD_ICONV = UnfortunatelyYes
        NO_REGEX = NeedsStartEnd

Could we get that into rc1?

I now have a different issue:

make -C t/ all
make[1]: Entering directory '/home/git/git/t'
rm -f -r 'test-results'
/usr/coreutils/bin/bash: /usr/bin/perl: Argument list too long

Is there anyway to move to xargs? I am not sure why /usr/bin/perl is having issues with the build.

Regards,
Randall
Previous: rsbecker@nexbridge.comNext: rsbecker@nexbridge.com
Message 6 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.