OpenJDK build dependencies

Volker Simonis volker.simonis at gmail.com
Tue Sep 22 06:25:06 UTC 2015


You are using ccache which is not supported under windows.

Just disable ccache with --disable-ccache in your configure line
(actually this should happen automatically under Windows) and
everything should be fine :)

Regards,
Volker


On Tue, Sep 22, 2015 at 7:25 AM, Ganesh <emailgane at yahoo.co.in> wrote:
> On 9/22/2015 2:59 AM, Erik Joelsson wrote:
>>
>> Hello,
>>
>> On 2015-09-21 11:50, Ganesh wrote:
>>>
>>>
>>> Do we require following dependencies to build OpenJDK 8 in Windows. The
>>> OpenJDK 8 build readme didn't mention about these dependecies but OpenJDK 7
>>> requires these. Please confirm. I have installed complete Visual Studio 2010
>>> professional.
>>>
>>> Windows 7 SDK
>>> Direct X 9
>>> Apache Ant
>>>
>> None of the above are needed for JDK 8.
>>>
>>> While building i am getting the below error.
>>>
>>> Could not start process!  Failed with error 2: The system cannot find the
>>> file specified.
>>>
>>> make[2]: ***
>>> [/cygdrive/c/work/openjdk/openjdk-8u/build/windows-x86_64-normal-server-release/jdk/objs/libfdlibm/e_acos.obj]
>>> Error 1
>>> make[1]: *** [libs-only] Error 2
>>> /cygdrive/c/work/openjdk/openjdk-8u//make/Main.gmk:115: recipe for target
>>> 'jdk-only' failed
>>> make: *** [jdk-only] Error 2
>>>
>> Could you rerun with "make JOBS=1 LOG=debug" so we can see the failing
>> command line? This looks like you are missing a tool in cygwin, but I can't
>> be sure what.
>>
>> /Erik
>>>
>>>
>>> Regards
>>> Ganesh
>>
>>
> No Luck.. I checked all the binaries like tee, grep, cat are available from
> Cygwin. Below is the error description..
>
> /usr/bin/cp -fP
> '/cygdrive/c/work/openjdk/openjdk-8u/jdk/src/share/lib/net.properties'
> '/cygdrive/c/work/openjdk/openjdk-8u/build/windows-x86_64-normal-server-release/jdk/lib/net.properties'
> (/cygdrive/c/work/openjdk/openjdk-8u/build/windows-x86_64-normal-server-release/fixpath.exe
> -c CCACHE_COMPRESS=1  CCACHE_SLOPPINESS=time_macros /usr/bin/ccache
> /cygdrive/c/progra~2/micros~2.0/vc/bin/amd64/cl -nologo -Zi -MD -Zc:wchar_t-
> -W3 -wd4800 -D_STATIC_CPPLIB -D_DISABLE_DEPRECATE_STATIC_CPPLIB
> -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
> -DWIN32 -DIAL -D_AMD64_ -Damd64 -D_LITTLE_ENDIAN -DWINDOWS -DNDEBUG
> -DARCH='"amd64"' -Damd64 -DRELEASE='"1.8.0-internal"'
> -I/cygdrive/c/work/openjdk/openjdk-8u/build/windows-x86_64-normal-server-release/jdk/include
> -I/cygdrive/c/work/openjdk/openjdk-8u/build/windows-x86_64-normal-server-release/jdk/include/windows
> -I/cygdrive/c/work/openjdk/openjdk-8u/jdk/src/share/javavm/export
> -I/cygdrive/c/work/openjdk/openjdk-8u/jdk/src/windows/javavm/export
> -I/cygdrive/c/work/openjdk/openjdk-8u/jdk/src/share/native/common
> -I/cygdrive/c/work/openjdk/openjdk-8u/jdk/src/windows/native/common
> -I/cygdrive/c/work/openjdk/openjdk-8u/build/windows-x86_64-normal-server-release/jdk/gensrc_headers
> -I/cygdrive/c/work/openjdk/openjdk-8u/jdk/src/share/native/java/lang/fdlibm/include
> -Od  -DTHIS_FILE='"e_acos.c"' -c -showIncludes
> -Fd/cygdrive/c/work/openjdk/openjdk-8u/build/windows-x86_64-normal-server-release/jdk/objs/libfdlibm/e_acos.pdb
> -Fm/cygdrive/c/work/openjdk/openjdk-8u/build/windows-x86_64-normal-server-release/jdk/objs/libfdlibm/e_acos.map
> -Fo/cygdrive/c/work/openjdk/openjdk-8u/build/windows-x86_64-normal-server-release/jdk/objs/libfdlibm/e_acos.obj
> /cygdrive/c/work/openjdk/openjdk-8u/jdk/src/share/native/java/lang/fdlibm/src/e_acos.c
> ; echo $? >
> /cygdrive/c/work/openjdk/openjdk-8u/build/windows-x86_64-normal-server-release/jdk/objs/libfdlibm/e_acos.d.exitvalue)
> | /usr/bin/tee
> /cygdrive/c/work/openjdk/openjdk-8u/build/windows-x86_64-normal-server-release/jdk/objs/libfdlibm/e_acos.d.raw
> | /usr/bin/grep -v "^Note: including file:" && exit `cat
> /cygdrive/c/work/openjdk/openjdk-8u/build/windows-x86_64-normal-server-release/jdk/objs/libfdlibm/e_acos.d.exitvalue`
> Could not start process!  Failed with error 2: The system cannot find the
> file specified.
>
> make[2]: ***
> [/cygdrive/c/work/openjdk/openjdk-8u/build/windows-x86_64-normal-server-release/jdk/objs/libfdlibm/e_acos.obj]
> Error 1
> make[2]: Leaving directory `/cygdrive/c/work/openjdk/openjdk-8u/jdk/make'
> make[1]: *** [libs-only] Error 2
> make[1]: Leaving directory `/cygdrive/c/work/openjdk/openjdk-8u/jdk/make'
>
> make: *** [jdk-only] Error 2
>
> -Ganesh
>



More information about the build-dev mailing list