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, 19:53 UTC
Message-ID
<Yd3gJ6C3jU7ZZskc@nand.local>
In-Reply-To
<010d01d8069e$8d330480$a7990d80$@nexbridge.com>
On Mon, Jan 10, 2022 at 10:51:39PM -0500, rsbecker@nexbridge.com wrote:
Show 9 quoted lines
> 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.

Tracing through t/Makefile, I am _pretty_ sure that this Perl invocation comes from the test-lint-shell-syntax recipe.

I wonder if something like this would do the trick?
--- 8< ---
diff --git a/t/Makefile b/t/Makefile
index 46cd5fc527..d959119133 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -90,7 +90,7 @@ test-lint-executable:
 		echo >&2 "non-executable tests:" $$bad; exit 1; }

 test-lint-shell-syntax:
-	@'$(PERL_PATH_SQ)' check-non-portable-shell.pl $(T) $(THELPERS) $(TPERF)
+	@echo $(T) $(THELPERS) $(TPERF) | xargs '$(PERL_PATH_SQ)' check-non-portable-shell.pl

 test-lint-filenames:
 	@# We do *not* pass a glob to ls-files but use grep instead, to catch

--- >8 ---

Thanks,
Taylor
Previous: rsbecker@nexbridge.comNext: rsbecker@nexbridge.com
Message 8 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.