Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make[2]: /bin/sh: Argument list too long #289

Open
zoujiaying1995 opened this issue Jul 29, 2024 · 1 comment
Open

make[2]: /bin/sh: Argument list too long #289

zoujiaying1995 opened this issue Jul 29, 2024 · 1 comment

Comments

@zoujiaying1995
Copy link

I am encountering an Argument list too long error during the build process. The error occurs while running make and appears to be related to a script or command being passed too many arguments. Below is the relevant portion of the build output:

Consolidate compiler generated dependencies of target f07bfc66-958c-4a15-99c0-260e4e7375dd.plugin
Consolidate compiler generated dependencies of target xtest
[  5%] Built target f07bfc66-958c-4a15-99c0-260e4e7375dd.plugin
[100%] Built target xtest
make[2]: /bin/sh: Argument list too long
make[2]: *** [package/pkg-generic.mk:294: /path/to/build/optee_test_ext-1.0/.stamp_built] Error 127
make[1]: *** [Makefile:23: _all] Error 2
make[1]: Leaving directory '/path/to/buildroot'
make: *** [common.mk:336: buildroot] Error 2

Steps to Reproduce

$ repo init -u https://github.com/OP-TEE/manifest.git -m qemu_v8.xml -b 4.0.0
$ repo sync
$ cd build
$ make toolchains
$ make run

Any guidance on how to resolve this issue would be greatly appreciated. Thank you!

@jforissier
Copy link
Contributor

Hi @zoujiaying1995,

This problem was fixed in 4.3.0. See OP-TEE/build#745.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants