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

Roman Iten roman.iten at gapfruit.com
Mon Jun 7 21:48:31 CEST 2021


On 07.06.21 17:00, Roman Iten wrote:
> Now that the number of archives became too large and `depot/extract`
> complains: `make: execvp: bash: Argument list too long`.
> 
> Apparently, the aggregated argument list passed to `make` contains every
> archive including all dependencies. Duplicates (packages and
> dependencies that are build for x86_64 as well as arm_v7a, etc.) are not
> removed.

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?

Cheers,
Roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.genode.org/pipermail/users/attachments/20210607/f9ca7a21/attachment.sig>


More information about the users mailing list