Improved build system
Kelly O'Hair
kelly.ohair at oracle.com
Fri Nov 4 12:08:43 PDT 2011
You would be amazed at how many people still use NFS partitions to build in. :^(
-kto
On Nov 4, 2011, at 11:43 AM, Jonathan Gibbons wrote:
> For Max's issue, I agree. But if NFS is generally discouraged, as you imply, then you should get at least a warning if you try and use it, independent of Max's response.
>
> -- Jon
>
>
>
> On 11/04/2011 11:18 AM, Fredrik Öhrström wrote:
>>> Does the build, can the build, check for NFS, and report an error?
>>>
>>> Jon
>>
>> You are right, if it is relevant to check for NFS, then it is a test that really should be done in configure.
>>
>> But we have to wait for Weijun's answer to see if nfs is involved or not.
>>
>> //Fredrik
>>
>> ----- fredrik.ohrstrom at oracle.com skrev:
>>
>>> 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.
>>>
>>> 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.)
>>>
>>> //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