Improved build system

Weijun Wang weijun.wang at oracle.com
Fri Nov 4 19:04:00 PDT 2011





On Nov 4, 2011, at 11:40 PM, Fredrik Öhrström <fredrik.ohrstrom at oracle.com> wrote:

> It is the default Ubuntu Java package.
> 
> Just install the openjdk package and you will get iced tea.
> The configure script should remind you what the package name is,
> if you make sure that you have no java in the path.

I'll try it on a separate machine.

> 
> By the way. You do not have your source and build directory
> on NFS do you? The javacserver uses file system locking
> to establish a single server. And locking does not work
> very well over nfs. (Also building is much slower, if it works.)

No. Everything is on my own disk.

-Max

> 
> //Fredrik
> ----- weijun.wang at oracle.com skrev:
> 
>> I don't have an IcedTea. Do I need to build one?
>> 
>> -Max
>> 
>> 
>> 
>> On Nov 4, 2011, at 10:26 PM, Fredrik Öhrström
>> <fredrik.ohrstrom at oracle.com> wrote:
>> 
>>> 
>>> Ok, could you please try just:
>>> 
>>> ./configure
>>> 
>>> and use the default iced-tea?
>>> 
>>> //Fredrik
>>> 
>>> ----- weijun.wang at oracle.com skrev:
>>> 
>>>> On 11/04/2011 08:19 PM, Fredrik Öhrström wrote:
>>>>> 
>>>>> Please send me the build.log file....
>>>> 
>>>> Attached.
>>>> 
>>>>> 
>>>>> You can also try:
>>>>> 
>>>>> ./configure --with-boot-jdk=$J6 --disable-javac-multi-core
>>>> --disable-javac-deps --disable-javac-server
>>>> 
>>>> This works.
>>>> 
>>>> -Max
>>>> 
>>>>> 
>>>>> ----- weijun.wang at oracle.com skrev:
>>>>> 
>>>>>> I just tried this on my Ubuntu 11.04 64-bit system:
>>>>>> 
>>>>>> 1. Clone http://hg.openjdk.java.net/build-infra/jdk7
>>>>>> 2. get_source.sh
>>>>>> 3. Download ccache 3.1.6 source and build it
>>>>>> 4. Download the 3 files in common/config and mv one of them
>>>>>> 5. ./configure --with-boot-jdk=$J6
>>>>>> 6. make
>>>>>> 
>>>>>> and soon see an error
>>>>>> 
>>>>>> Compiling 10 files in package com/sun/source/util
>>>>>> 
>>>> 
>> /space/repos/build-infra/jdk7/langtools/src/share/classes/com/sun/mirror/util/TypeVisitor.java:52:
>>>>>> 
>>>>>> error: duplicate class: com.sun.mirror.util.TypeVisitor
>>>>>> public interface TypeVisitor {
>>>>>>        ^
>>>>>> 
>>>>>> -Max



More information about the build-infra-dev mailing list