"/bin/sh: Syntax error: "(" unexpected" building kernel

Fox Mulder Quakeman1 at gmx.net
Wed Jan 7 22:50:03 CET 2009


The error message looks like your kernel name is just too long.
"2.6.28-GTA03_origin/my-andy-tracking_03a07f0da5734683-g03a07f0-dirty"
is 69 characters and it seems that only 64 are allowed. :)
Maybe you should just select a shorter local branch name.

Ciao,
     Rainer

Tarandeep Gill wrote:
> Ok. I found out what was wrong, as someone has already pointed in this
> mailing list, I had to make a local branch. But now I get the
> following error:
> --------------------------------------------------------------------------------------------
> scripts/kconfig/conf -s arch/arm/Kconfig
>   CHK     include/linux/version.h
>   GEN     /home/taran/Openmoko/linux-2.6/GTA03/Makefile
>   CHK     include/linux/utsrelease.h
> "2.6.28-GTA03_origin/my-andy-tracking_03a07f0da5734683-g03a07f0-dirty"
> exceeds 64 characters
> make[1]: *** [include/linux/utsrelease.h] Error 1
> make: *** [sub-make] Error 2
> make: INTERNAL: Exiting with 6 jobserver tokens available; should be 5!
> --------------------------------------------------------------------------------------------
> 
> 
>  - Tarandeep
> 
> On Wed, Jan 7, 2009 at 4:34 PM, Tarandeep Gill <taran.iota at gmail.com> wrote:
>> I am receiving the same error, and even changing bin/sh to bin/bash
>> does not help.
>>
>> This is what I get:
>>
>> ------------------------------------------------------------------------------------------
>> scripts/kconfig/conf -s arch/arm/Kconfig
>>  CHK     include/linux/version.h
>>  UPD     include/linux/version.h
>> /bin/sh: Syntax error: "(" unexpected
>> make[1]: *** [include/config/kernel.release] Error 2
>> make: *** [sub-make] Error 2
>> make: INTERNAL: Exiting with 6 jobserver tokens available; should be 5!
>> ------------------------------------------------------------------------------------------
>>
>> Any help would be appreciated!
>>
>>  - Tarandeep
>>
>> On Mon, Dec 8, 2008 at 1:07 AM, Asheesh Laroia <openmoko at asheesh.org> wrote:
>>> On Mon, 8 Dec 2008, Rui Castro wrote:
>>>
>>>> Hi,
>>>>
>>>> I've been trying to compile openmoko kernel and I can't even start
>>>> because of this dummy error:
>>>> -----------------------------------------------------------------------------------------
>>>> $ ./build dummy
>>>> scripts/kconfig/conf -s arch/arm/Kconfig
>>>>
>>>> scripts/kconfig/conf -s arch/arm/Kconfig
>>>> CHK     include/linux/version.h
>>>> /bin/sh: Syntax error: "(" unexpected
>>> The script probably has bashisms.  Set /bin/sh to /bin/bash and you'll do
>>> fine.
>>>
>>> See "My production system has broken and I just want to get it back up!"
>>> at https://wiki.ubuntu.com/DashAsBinSh .
>>>
>>> -- Asheesh.
>>>
>>> --
>>> The Tree of Learning bears the noblest fruit, but noble fruit tastes bad.
>>>
>>> _______________________________________________
>>> Openmoko community mailing list
>>> community at lists.openmoko.org
>>> http://lists.openmoko.org/mailman/listinfo/community
>>>
> 
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 




More information about the community mailing list