On Fri, Mar 22, 2013 at 4:00 PM, arnaud gaboury <arnaud.gaboury@xxxxxxxxx>wrote: > > > > On Fri, Mar 22, 2013 at 3:54 PM, Leonidas Spyropoulos <artafinde@xxxxxxxxx > > wrote: > >> On 22 Mar 2013 14:50, "arnaud gaboury" <arnaud.gaboury@xxxxxxxxx> wrote: >> > >> > On Fri, Mar 22, 2013 at 3:32 PM, Leonidas Spyropoulos >> > <artafinde@xxxxxxxxx>wrote: >> > >> > > On 22 Mar 2013 14:29, "arnaud gaboury" <arnaud.gaboury@xxxxxxxxx> >> wrote: >> > > > >> > > > Dear List, >> > > > >> > > > I have an issue since 5-10 days when building android from source, >> as >> > > when >> > > > I have been building it for months with no problem. >> > > > >> > > > 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). >> > > > >> > > > The execvpe() function appears in glibc. My glibc is the one from >> core, >> > > > 2.17-3, and has been reinstalled. Building AUR packages don't give >> 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 think it's the glibc version of the box that compiled the kernel. >> > > >> > > > >> > > > Thank you for any help. >> > > > >> > > > Regards. >> > > >> > >> > >> > I built the Kernel !! Android Kernel built with no issue. Only the >> android >> > ROM building is broken >> >> I was referring to your host kernel not the android kernel of the ROM. >> What is the command 'uname -a' says? >> > > Linux magnolia 3.8.4-1-ARCH #1 SMP PREEMPT Wed Mar 20 22:10:25 CET 2013 > x86_64 GNU/Linux > > [gabx@magnolia:~]$ sudo pacman -Q | grep glibc > [sudo] password for gabx: > glibc 2.17-3 > lib32-glibc 2.17-2 > > Just one thought. Can this error comes form the android-eabi toolchain used to build android instead of my system? It could be more logical, as the ROM is built by an arm toolchain.