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

Re: Request for Help - Too many perl arguments as of 2.43.0-rc0

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Nov 4, 2023, 06:36 UTC
Message-ID
<CAPig+cQpxRQnhffR8EWWRhqJPmOeOuCE3qsuMcnDyuMLLbTH8Q@mail.gmail.com>
In-Reply-To
<00c401da0ea1$b61899c0$2249cd40$@nexbridge.com>
On Fri, Nov 3, 2023 at 6:04 PM <rsbecker@nexbridge.com> wrote:
Show 13 quoted lines
> On November 3, 2023 5:51 PM, Eric Sunshine wrote:
> >On Fri, Nov 3, 2023 at 5:31 PM <rsbecker@nexbridge.com> wrote:
> >> /usr/coreutils/bin/bash: /usr/bin/perl: Argument list too long
> >> Makefile:125: recipe for target 'test-lint-shell-syntax' failed
> >
> >This is a separate issue from chainlint (though, it too will likely suffer the same
> >problem). In this case, it's trying to run the check-non-portable-shell.pl script and
> >the command-line is too long.
> >Unfortunately, unlike chainlint for which there is a knob to disble it, there is no direct
> >knob to disable `test-lint-shell-syntax`. You may be able to skip all the shell-script
> >linting by setting TEST_LINT to an empty value.
>
> That worked. I wonder whether it might be useful to set up a knob for this.

I don't see an urgent need for it. Unlike the actual tests themselves run by `make test` which may catch platform-specific problems in Git itself, the purpose of the "linting" checks is not to catch platform-specific problems, but rather to help test authors by identifying mistakes in the tests which might make them fragile. So, disabling linting on a particular platform isn't going to cause `make test` to miss some important Git problem specific to that platform.

Also, in the longer term, as you suggested, `xargs` is likely a more fruitful solution.

Previous: rsbecker@nexbridge.comNext: Junio C Hamano
Message 6 of 12 in “Request for Help - Too many perl arguments as of 2.43.0-rc0”
  1. rsbecker@nexbridge.comNov 3, 2023
  2. Eric SunshineNov 3, 2023
  3. rsbecker@nexbridge.comNov 3, 2023
  4. Eric SunshineNov 3, 2023
  5. rsbecker@nexbridge.comNov 3, 2023
  6. Eric SunshineNov 4, 2023
  7. Junio C HamanoNov 4, 2023
  8. Eric SunshineNov 4, 2023
  9. Jeff KingNov 4, 2023
  10. rsbecker@nexbridge.comNov 4, 2023
  11. Eric SunshineNov 5, 2023
  12. Jeff KingNov 5, 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.