You are not logged in.
I have an issue since 5-10 days when building android from source, when I have been able to build it for months.
At one point in the building process, make will stop with this error:
make: execvp: /bin/bash: Argument list too long
After some search, I found this error is thrown by execvp(), following the errors specified in man execve(2) : http://linux.die.net/man/2/execve/
The execvpe() function appears in glibc. My glibc is the one from core, 2.17-3, and has been reinstalled. Building AUR packages in general don't throw any error.
The android ROM I am building is very closed to the android open source, and build fine on another machine (Linux Mint). So I suspect the problem comes from my box.
The following line from android envsetup output puzzles me:
HOST_OS_EXTRA=Linux-3.8.4-1-ARCH-x86_64-with-glibc2.2.5
What is this glibc2.2.5 ??
I wonder if my issue comes from the toolchain I use or from my system. I tried several toolchains, so I would bet it is on my system.
I couldn't find any good and clean solution to this issue, even after long readings.
Thank you for any help.
Regards.
Last edited by gabx (2013-04-14 19:51:52)
Offline
I'm just guessing here, I know nothing about Android.
http://mirror.yongbok.net/linux/android … dumpvar.mk says
HOST_OS_EXTRA:=$(shell python -c "import platform; print(platform.platform())")
I'm using the stock Arch packages and I get
$ python -c "import platform; print(platform.platform())"
Linux-3.8.4-1-ARCH-i686-with-arch
You said you built the kernel, so maybe that's why: https://mailman.archlinux.org/pipermail … 33186.html
Offline
Thank you for the link. I know now where the glibc comes from.
I still hang with this error and no idea how to solve it. Android Kernel build fine, but then the ROM failed due to this issue.
Offline
a small tweak in the Makefile solved this issue.
A foreach macro was needed.
Last edited by gabx (2013-04-14 19:54:51)
Offline
a small tweak in the Makefile solved this issue.
A foreach macro was needed.
I'm having the same error: can you post the file you exactly modified and how?
Offline