jdk8 build failure on xubuntu 13.04 32 bit: make: the `-j' option requires a positive integral argument

Erik Joelsson erik.joelsson at oracle.com
Mon May 6 11:41:36 UTC 2013


On 2013-05-06 13:01, Weijun Wang wrote:
>
>
> On 5/6/13 3:35 PM, Erik Joelsson wrote:
>> I would be interested to see the spec.gmk generated in the build output
>> directory. Specifically the value of the JOBS variable.
>
> JOBS?=0
>
> I noticed the configure output includes
>
> checking for number of cores... 1
> checking for memory size... 1002 MB
> checking for appropriate number of jobs to run in parallel... 0
>
> This is a VirtualBox guest. Maybe the memory is too low for a build.
>
That looks like a bug in configure. Will file it.

Giving it a bit more memory will help though.

/Erik
> With Sergey's suggestion:
>
>> Try to run it with this option:
>> ./configure --with-jobs=1
>
> It becomes
>
> JOBS?=1
>
> and make is running now. Anyway, I think I should give it more memory.
>
> Thanks
> Max
>
>>
>> /Erik
>>
>> On 2013-05-05 15:34, Weijun Wang wrote:
>>> I just installed a Xubuntu 13.04 32 bit machine. Using 7u21 b13 as
>>> boot jdk, "bash configure" prompted me to install several packages but
>>> running make shows:
>>>
>>> -----START-----
>>> Building Java(TM) for target 'default' in configuration
>>> 'linux-x86-normal-server-release'
>>>
>>> ## Starting langtools
>>> make: the `-j' option requires a positive integral argument
>>> ...
>>> This program built for i686-pc-linux-gnu
>>> Report bugs to <bug-make at gnu.org>
>>> make: *** [langtools-only] Error 2
>>> -----END-----
>>>
>>> What's wrong here?
>>>
>>> Thanks
>>> Max



More information about the build-dev mailing list