depot/extract: make: execvp: bash: Argument list too long

Christian Helmuth christian.helmuth at genode-labs.com
Tue Jun 8 09:29:44 CEST 2021


Hello Roman,

On Mon, Jun 07, 2021 at 21:48:31 CEST, Roman Iten wrote:
> After some more debugging, I understand now what the actual problem is:
> 
> The arguments for the `make`-command assembled by the rule
> `checked_ports_exists` can get quite long for many archives even though
> it doesn't contain any duplicates. As a workaround for the CI pipeline,
> I can just disable this check. Do you think it's worth creating a proper
> fix that works without passing all input as command line parameter?

I did not encounter this issue before despite I use meta pkgs
sometimes. Does this happen only with PREPARE_PORTS=1?

In my opinion a proper fix that prevents exceeding command line
arguments is much appreciated and could serve as valuable blueprint in
other places too. It sounds like the issue needs a mechanism similar
to the xargs tool.

Regards
-- 
Christian Helmuth
Genode Labs

https://www.genode-labs.com/ · https://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth



More information about the users mailing list