You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Tim Ellison <t....@gmail.com> on 2010/05/17 18:14:05 UTC

[build] Windows build failure (was: Re: [general] Code Freeze for Milestone 5.0M14 and 6.0M2)

On 14/May/2010 23:48, Mark Hindess wrote:
> Please test the java5 and java6 federated build and report your results
> to help prepare for our releases.

A fresh checkout on Windows Java 5 branch fails to compile for me.  It
cannot find 'lcms.h'

<snip>

-compile-java:
     [echo] Compiling awt classes

-class-patternset:

-build-jar:
[hy.jar.bin] Building jar: D:\Harmony5\target\hdk\jdk\jre\lib\boot\awt.jar
[hy.jar.src] Building jar:
D:\Harmony5\target\hdk\jdk\jre\lib\boot\awt-src.jar

-build-native-common:
     [echo] Making "" in src/main/native/lcmm/windows
     [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo
-FIsehmap.h -D_X86_=1  -DWIN32 -D_WIN32 -W3 -D_WIN95
-D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400
-Zi -Od -WX -GF -Gs -MD -Zm400   -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_SECURE_NO_WARNINGS  -D_SCL_SECURE_NO_DEPRECATE  -D_DLL -D_MT -
D_WINSOCKAPI_  /ID:\Harmony5\target\hdk\include
/ID:\Harmony5\target\hdk\jdk\include /I. -DHY_NO_THR -DHY_ZIP_API
/I..\shared\
/ID:\Harmony5\target\hdk\..\depends\libs\windows.x86\lcms-1.19\include
/I..\shared\include -Fo..\shared\cmmerror.obj ..\shared\cmmerror.c
     [exec] cmmerror.c
     [exec]
d:\Harmony5\classlib\modules\awt\src\main\native\lcmm\shared\cmmapi.h(22)
: fatal error C1083: Cannot open include file: 'lcms.h': No such file or
directory
     [exec] NMAKE : fatal error U1077: 'cl' : return code '0x2'
     [exec] Stop.

BUILD FAILED
D:\Harmony5\build.xml:414: The following error occurred while executing
this line:
D:\Harmony5\classlib\build.xml:181: The following error occurred while
executing this line:
D:\Harmony5\classlib\make\properties.xml:545: The following error
occurred while executing this line:
D:\Harmony5\classlib\make\properties.xml:557: The following error
occurred while executing this line:
D:\Harmony5\classlib\modules\awt\build.xml:230: The following error
occurred while executing this line:
D:\Harmony5\classlib\make\properties.xml:582: exec returned: 2

Total time: 2 minutes 33 seconds

Re: [build] Windows build failure

Posted by Mark Hindess <ma...@googlemail.com>.
In message <4B...@googlemail.com>, Oliver Deakin writes:
>
> On 18/05/2010 00:18, Mark Hindess wrote:
> > In message<20...@d12av03.megacenter.de.ibm.com>,
> > Mark Hindess writes:
> >    
> >> In message<4B...@googlemail.com>, Oliver Deakin writes:
> >>      
> >>> Looking at the compile lines, this include path doesn't look right:
> >>>     /ID:\Harmony5\target\hdk\..\depends\libs\windows.x86\lcms-1.19\includ
> e
> >>>
> >>> I can see lcms.h in
> >>> classlib\depends\libs\windows.x86\lcms-1.19\include but not
> >>> anywhere under the target directory.
> >>>        
> >> Hmm... I'll take a look.  I think the awt build needs to pass
> >> the dependencies directories explicitly rather than relying on a
> >> rather fragile relationship between the depends directory and hdk
> >> directory.
> >
> > I've appended a patch below.  I'm testing it now.  I'd like a second
> > committer to confirm that I can commit it please.
> 
> That works for me - the classlib build completes with that patch 
> applied. I'm +1 to applying it.

Thanks.  Committed in r945584.
-Mark.



Re: [build] Windows build failure

Posted by Oliver Deakin <ol...@googlemail.com>.
On 18/05/2010 00:18, Mark Hindess wrote:
> In message<20...@d12av03.megacenter.de.ibm.com>,
> Mark Hindess writes:
>    
>> In message<4B...@googlemail.com>, Oliver Deakin writes:
>>      
>>> Looking at the compile lines, this include path doesn't look right:
>>>     /ID:\Harmony5\target\hdk\..\depends\libs\windows.x86\lcms-1.19\include
>>>
>>> I can see lcms.h in classlib\depends\libs\windows.x86\lcms-1.19\include
>>> but not anywhere under the target directory.
>>>        
>> Hmm... I'll take a look.  I think the awt build needs to pass the
>> dependencies directories explicitly rather than relying on a rather
>> fragile relationship between the depends directory and hdk directory.
>>      
> I've appended a patch below.  I'm testing it now.  I'd like a second
> committer to confirm that I can commit it please.
>    

That works for me - the classlib build completes with that patch 
applied. I'm +1 to applying it.

Regards,
Oli

> Regards,
> -Mark.
>
> Index: classlib/modules/awt/src/main/native/gl/windows/makefile
> ===================================================================
> --- classlib/modules/awt/src/main/native/gl/windows/makefile	(revision 945404)
> +++ classlib/modules/awt/src/main/native/gl/windows/makefile	(working copy)
> @@ -16,7 +16,7 @@
>   APPVER = 5.0 # Need WINVER=0x0500 to get HMONITOR defined.
>   !include<$(HY_HDK)\build\make\defines.mak>
>
> -PNG_DIR=$(HY_HDK)\..\depends\libs\$(HY_PLATFORM)\libpng-$(HY_PNG_VER)\# avoid continuation
> +PNG_DIR=$(HY_PNG_DIR)\# avoid continuation
>
>   LIBBASE=gl
>   DLLNAME=$(DLLPATH)$(LIBBASE).dll
> Index: classlib/modules/awt/src/main/native/lcmm/windows/makefile
> ===================================================================
> --- classlib/modules/awt/src/main/native/lcmm/windows/makefile	(revision 945404)
> +++ classlib/modules/awt/src/main/native/lcmm/windows/makefile	(working copy)
> @@ -15,7 +15,7 @@
>
>   !include<$(HY_HDK)\build\make\defines.mak>
>
> -LCMS_DIR=$(HY_HDK)\..\depends\libs\$(HY_PLATFORM)\lcms-$(HY_LCMS_VER)\# avoid continuation
> +LCMS_DIR=$(HY_LCMS_DIR)\# avoid continuation
>
>   LIBBASE=lcmm
>   DLLNAME=$(DLLPATH)$(LIBBASE).dll
> Index: classlib/modules/awt/src/main/native/jpegdecoder/windows/makefile
> ===================================================================
> --- classlib/modules/awt/src/main/native/jpegdecoder/windows/makefile	(revision 945404)
> +++ classlib/modules/awt/src/main/native/jpegdecoder/windows/makefile	(working copy)
> @@ -15,7 +15,7 @@
>
>   !include<$(HY_HDK)\build\make\defines.mak>
>
> -JPEG_DIR=$(HY_HDK)\..\depends\libs\$(HY_PLATFORM)\jpeg-$(HY_JPEG_VER)\# avoid continuation
> +JPEG_DIR=$(HY_JPEG_DIR)\# avoid continuation
>
>   LIBBASE=jpegdecoder
>   DLLNAME=$(DLLPATH)$(LIBBASE).dll
> Index: classlib/modules/awt/build.xml
> ===================================================================
> --- classlib/modules/awt/build.xml	(revision 945404)
> +++ classlib/modules/awt/build.xml	(working copy)
> @@ -229,19 +229,22 @@
>       <target name="-build-native-common" unless="skip.native.build">
>           <make dir="src/main/native/lcmm/${hy.os.family}">
>               <make-elements>
> -<env key="HY_LCMS_VER" value="${lcms.ver}" />
> +<env key="HY_LCMS_DIR" value="${lcms.dir}" />
>               </make-elements>
>           </make>
>
> +<pathconvert targetos="windows" property="jpeg.dir.win">
> +<path location="${jpeg.dir}" />
> +</pathconvert>
>           <make dir="src/main/native/jpegdecoder/${hy.os.family}">
>               <make-elements>
> -<env key="HY_JPEG_VER" value="${jpeg.ver}" />
> +<env key="HY_JPEG_DIR" value="${jpeg.dir.win}" />
>               </make-elements>
>           </make>
>
>           <make dir="src/main/native/gl/${hy.os.family}">
>               <make-elements>
> -<env key="HY_PNG_VER" value="${png.ver}" />
> +<env key="HY_PNG_DIR" value="${png.dir}" />
>               </make-elements>
>           </make>
>
> Index: classlib/modules/imageio/src/main/native/pngencoder/windows/makefile
> ===================================================================
> --- classlib/modules/imageio/src/main/native/pngencoder/windows/makefile	(revision 945404)
> +++ classlib/modules/imageio/src/main/native/pngencoder/windows/makefile	(working copy)
> @@ -15,7 +15,7 @@
>
>   !include<$(HY_HDK)\build\make\defines.mak>
>
> -PNG_DIR=$(HY_HDK)\..\depends\libs\$(HY_PLATFORM)\libpng-$(HY_PNG_VER)\# avoid continuation
> +PNG_DIR=$(HY_PNG_DIR)\# avoid continuation
>
>   LIBBASE=pngencoder
>   DLLNAME=$(DLLPATH)$(LIBBASE).dll
> Index: classlib/modules/imageio/src/main/native/jpegencoder/windows/makefile
> ===================================================================
> --- classlib/modules/imageio/src/main/native/jpegencoder/windows/makefile	(revision 945404)
> +++ classlib/modules/imageio/src/main/native/jpegencoder/windows/makefile	(working copy)
> @@ -15,7 +15,7 @@
>
>   !include<$(HY_HDK)\build\make\defines.mak>
>
> -JPEG_DIR=$(HY_HDK)\..\depends\libs\$(HY_PLATFORM)\jpeg-$(HY_JPEG_VER)\# avoid continuation
> +JPEG_DIR=$(HY_JPEG_DIR)\# avoid continuation
>
>   LIBBASE=jpegencoder
>   DLLNAME=$(DLLPATH)$(LIBBASE).dll
> Index: classlib/modules/imageio/build.xml
> ===================================================================
> --- classlib/modules/imageio/build.xml	(revision 945404)
> +++ classlib/modules/imageio/build.xml	(working copy)
> @@ -135,15 +135,18 @@
>       </target>
>
>       <target name="-build-native" unless="skip.native.build">
> +<pathconvert targetos="windows" property="jpeg.dir.win">
> +<path location="${jpeg.dir}" />
> +</pathconvert>
>           <make dir="src/main/native/jpegencoder/${hy.os.family}">
>               <make-elements>
> -<env key="HY_JPEG_VER" value="${jpeg.ver}" />
> +<env key="HY_JPEG_DIR" value="${jpeg.dir.win}" />
>               </make-elements>
>           </make>
>
>           <make dir="src/main/native/pngencoder/${hy.os.family}">
>               <make-elements>
> -<env key="HY_PNG_VER" value="${png.ver}" />
> +<env key="HY_PNG_DIR" value="${png.dir}" />
>               </make-elements>
>           </make>
>       </target>
>
>
>
>    

-- 
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


Re: [build] Windows build failure

Posted by Mark Hindess <ma...@googlemail.com>.
In message <20...@d12av03.megacenter.de.ibm.com>,
Mark Hindess writes:
>
> In message <4B...@googlemail.com>, Oliver Deakin writes:
> >
> > Looking at the compile lines, this include path doesn't look right:
> >    /ID:\Harmony5\target\hdk\..\depends\libs\windows.x86\lcms-1.19\include
> > 
> > I can see lcms.h in classlib\depends\libs\windows.x86\lcms-1.19\include 
> > but not anywhere under the target directory.
>
> Hmm... I'll take a look.  I think the awt build needs to pass the
> dependencies directories explicitly rather than relying on a rather
> fragile relationship between the depends directory and hdk directory.

I've appended a patch below.  I'm testing it now.  I'd like a second
committer to confirm that I can commit it please.
Regards,
-Mark.

Index: classlib/modules/awt/src/main/native/gl/windows/makefile
===================================================================
--- classlib/modules/awt/src/main/native/gl/windows/makefile	(revision 945404)
+++ classlib/modules/awt/src/main/native/gl/windows/makefile	(working copy)
@@ -16,7 +16,7 @@
 APPVER = 5.0 # Need WINVER=0x0500 to get HMONITOR defined.
 !include <$(HY_HDK)\build\make\defines.mak>
 
-PNG_DIR=$(HY_HDK)\..\depends\libs\$(HY_PLATFORM)\libpng-$(HY_PNG_VER)\# avoid continuation
+PNG_DIR=$(HY_PNG_DIR)\# avoid continuation
 
 LIBBASE=gl
 DLLNAME=$(DLLPATH)$(LIBBASE).dll
Index: classlib/modules/awt/src/main/native/lcmm/windows/makefile
===================================================================
--- classlib/modules/awt/src/main/native/lcmm/windows/makefile	(revision 945404)
+++ classlib/modules/awt/src/main/native/lcmm/windows/makefile	(working copy)
@@ -15,7 +15,7 @@
 
 !include <$(HY_HDK)\build\make\defines.mak>
 
-LCMS_DIR=$(HY_HDK)\..\depends\libs\$(HY_PLATFORM)\lcms-$(HY_LCMS_VER)\# avoid continuation
+LCMS_DIR=$(HY_LCMS_DIR)\# avoid continuation
 
 LIBBASE=lcmm
 DLLNAME=$(DLLPATH)$(LIBBASE).dll
Index: classlib/modules/awt/src/main/native/jpegdecoder/windows/makefile
===================================================================
--- classlib/modules/awt/src/main/native/jpegdecoder/windows/makefile	(revision 945404)
+++ classlib/modules/awt/src/main/native/jpegdecoder/windows/makefile	(working copy)
@@ -15,7 +15,7 @@
 
 !include <$(HY_HDK)\build\make\defines.mak>
 
-JPEG_DIR=$(HY_HDK)\..\depends\libs\$(HY_PLATFORM)\jpeg-$(HY_JPEG_VER)\# avoid continuation
+JPEG_DIR=$(HY_JPEG_DIR)\# avoid continuation
 
 LIBBASE=jpegdecoder
 DLLNAME=$(DLLPATH)$(LIBBASE).dll
Index: classlib/modules/awt/build.xml
===================================================================
--- classlib/modules/awt/build.xml	(revision 945404)
+++ classlib/modules/awt/build.xml	(working copy)
@@ -229,19 +229,22 @@
     <target name="-build-native-common" unless="skip.native.build">
         <make dir="src/main/native/lcmm/${hy.os.family}">
             <make-elements>
-                <env key="HY_LCMS_VER" value="${lcms.ver}" />
+                <env key="HY_LCMS_DIR" value="${lcms.dir}" />
             </make-elements>
         </make>
 
+        <pathconvert targetos="windows" property="jpeg.dir.win">
+            <path location="${jpeg.dir}" />
+        </pathconvert>
         <make dir="src/main/native/jpegdecoder/${hy.os.family}">
             <make-elements>
-                <env key="HY_JPEG_VER" value="${jpeg.ver}" />
+                <env key="HY_JPEG_DIR" value="${jpeg.dir.win}" />
             </make-elements>
         </make>
 
         <make dir="src/main/native/gl/${hy.os.family}">
             <make-elements>
-                <env key="HY_PNG_VER" value="${png.ver}" />
+                <env key="HY_PNG_DIR" value="${png.dir}" />
             </make-elements>
         </make>
         
Index: classlib/modules/imageio/src/main/native/pngencoder/windows/makefile
===================================================================
--- classlib/modules/imageio/src/main/native/pngencoder/windows/makefile	(revision 945404)
+++ classlib/modules/imageio/src/main/native/pngencoder/windows/makefile	(working copy)
@@ -15,7 +15,7 @@
 
 !include <$(HY_HDK)\build\make\defines.mak>
 
-PNG_DIR=$(HY_HDK)\..\depends\libs\$(HY_PLATFORM)\libpng-$(HY_PNG_VER)\# avoid continuation
+PNG_DIR=$(HY_PNG_DIR)\# avoid continuation
 
 LIBBASE=pngencoder
 DLLNAME=$(DLLPATH)$(LIBBASE).dll
Index: classlib/modules/imageio/src/main/native/jpegencoder/windows/makefile
===================================================================
--- classlib/modules/imageio/src/main/native/jpegencoder/windows/makefile	(revision 945404)
+++ classlib/modules/imageio/src/main/native/jpegencoder/windows/makefile	(working copy)
@@ -15,7 +15,7 @@
 
 !include <$(HY_HDK)\build\make\defines.mak>
 
-JPEG_DIR=$(HY_HDK)\..\depends\libs\$(HY_PLATFORM)\jpeg-$(HY_JPEG_VER)\# avoid continuation
+JPEG_DIR=$(HY_JPEG_DIR)\# avoid continuation
 
 LIBBASE=jpegencoder
 DLLNAME=$(DLLPATH)$(LIBBASE).dll
Index: classlib/modules/imageio/build.xml
===================================================================
--- classlib/modules/imageio/build.xml	(revision 945404)
+++ classlib/modules/imageio/build.xml	(working copy)
@@ -135,15 +135,18 @@
     </target>
     
     <target name="-build-native" unless="skip.native.build">
+        <pathconvert targetos="windows" property="jpeg.dir.win">
+            <path location="${jpeg.dir}" />
+        </pathconvert>
         <make dir="src/main/native/jpegencoder/${hy.os.family}">
             <make-elements>
-                <env key="HY_JPEG_VER" value="${jpeg.ver}" />
+                <env key="HY_JPEG_DIR" value="${jpeg.dir.win}" />
             </make-elements>
         </make>
 
         <make dir="src/main/native/pngencoder/${hy.os.family}">
             <make-elements>
-                <env key="HY_PNG_VER" value="${png.ver}" />
+                <env key="HY_PNG_DIR" value="${png.dir}" />
             </make-elements>
         </make>
     </target>



Re: [build] Windows build failure

Posted by Mark Hindess <ma...@googlemail.com>.
Hmm... I'll take a look.  I think the awt build needs to pass the
dependencies directories explicitly rather than relying on a rather
fragile relationship between the depends directory and hdk directory.

-Mark.

In message <4B...@googlemail.com>, Oliver Deakin writes:
>
> Looking at the compile lines, this include path doesn't look right:
>    /ID:\Harmony5\target\hdk\..\depends\libs\windows.x86\lcms-1.19\include
> 
> I can see lcms.h in classlib\depends\libs\windows.x86\lcms-1.19\include 
> but not anywhere under the target directory.
> 
> 
> On 17/05/2010 17:28, Oliver Deakin wrote:
> > On 17/05/2010 17:14, Tim Ellison wrote:
> >> On 14/May/2010 23:48, Mark Hindess wrote:
> >>> Please test the java5 and java6 federated build and report your results
> >>> to help prepare for our releases.
> >> A fresh checkout on Windows Java 5 branch fails to compile for me.  It
> >> cannot find 'lcms.h'
> >
> > I see the same failure in my workspace, but haven't yet tracked down 
> > the cause.
> >
> > Regards,
> > Oliver
> >
> >> <snip>
> >>
> >> -compile-java:
> >>       [echo] Compiling awt classes
> >>
> >> -class-patternset:
> >>
> >> -build-jar:
> >> [hy.jar.bin] Building jar: 
> >> D:\Harmony5\target\hdk\jdk\jre\lib\boot\awt.jar
> >> [hy.jar.src] Building jar:
> >> D:\Harmony5\target\hdk\jdk\jre\lib\boot\awt-src.jar
> >>
> >> -build-native-common:
> >>       [echo] Making "" in src/main/native/lcmm/windows
> >>       [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo
> >> -FIsehmap.h -D_X86_=1  -DWIN32 -D_WIN32 -W3 -D_WIN95
> >> -D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400
> >> -Zi -Od -WX -GF -Gs -MD -Zm400   -D_CRT_SECURE_NO_DEPRECATE
> >> -D_CRT_SECURE_NO_WARNINGS  -D_SCL_SECURE_NO_DEPRECATE  -D_DLL -D_MT -
> >> D_WINSOCKAPI_  /ID:\Harmony5\target\hdk\include
> >> /ID:\Harmony5\target\hdk\jdk\include /I. -DHY_NO_THR -DHY_ZIP_API
> >> /I..\shared\
> >> /ID:\Harmony5\target\hdk\..\depends\libs\windows.x86\lcms-1.19\include
> >> /I..\shared\include -Fo..\shared\cmmerror.obj ..\shared\cmmerror.c
> >>       [exec] cmmerror.c
> >>       [exec]
> >> d:\Harmony5\classlib\modules\awt\src\main\native\lcmm\shared\cmmapi.h(22) 
> >>
> >> : fatal error C1083: Cannot open include file: 'lcms.h': No such file or
> >> directory
> >>       [exec] NMAKE : fatal error U1077: 'cl' : return code '0x2'
> >>       [exec] Stop.
> >>
> >> BUILD FAILED
> >> D:\Harmony5\build.xml:414: The following error occurred while executing
> >> this line:
> >> D:\Harmony5\classlib\build.xml:181: The following error occurred while
> >> executing this line:
> >> D:\Harmony5\classlib\make\properties.xml:545: The following error
> >> occurred while executing this line:
> >> D:\Harmony5\classlib\make\properties.xml:557: The following error
> >> occurred while executing this line:
> >> D:\Harmony5\classlib\modules\awt\build.xml:230: The following error
> >> occurred while executing this line:
> >> D:\Harmony5\classlib\make\properties.xml:582: exec returned: 2
> >>
> >> Total time: 2 minutes 33 seconds
> >>
> >
> 
> -- 
> Oliver Deakin
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number 7415
> 98.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
> 



Re: [build] Windows build failure

Posted by Oliver Deakin <ol...@googlemail.com>.
Looking at the compile lines, this include path doesn't look right:
   /ID:\Harmony5\target\hdk\..\depends\libs\windows.x86\lcms-1.19\include

I can see lcms.h in classlib\depends\libs\windows.x86\lcms-1.19\include 
but not anywhere under the target directory.


On 17/05/2010 17:28, Oliver Deakin wrote:
> On 17/05/2010 17:14, Tim Ellison wrote:
>> On 14/May/2010 23:48, Mark Hindess wrote:
>>> Please test the java5 and java6 federated build and report your results
>>> to help prepare for our releases.
>> A fresh checkout on Windows Java 5 branch fails to compile for me.  It
>> cannot find 'lcms.h'
>
> I see the same failure in my workspace, but haven't yet tracked down 
> the cause.
>
> Regards,
> Oliver
>
>> <snip>
>>
>> -compile-java:
>>       [echo] Compiling awt classes
>>
>> -class-patternset:
>>
>> -build-jar:
>> [hy.jar.bin] Building jar: 
>> D:\Harmony5\target\hdk\jdk\jre\lib\boot\awt.jar
>> [hy.jar.src] Building jar:
>> D:\Harmony5\target\hdk\jdk\jre\lib\boot\awt-src.jar
>>
>> -build-native-common:
>>       [echo] Making "" in src/main/native/lcmm/windows
>>       [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo
>> -FIsehmap.h -D_X86_=1  -DWIN32 -D_WIN32 -W3 -D_WIN95
>> -D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400
>> -Zi -Od -WX -GF -Gs -MD -Zm400   -D_CRT_SECURE_NO_DEPRECATE
>> -D_CRT_SECURE_NO_WARNINGS  -D_SCL_SECURE_NO_DEPRECATE  -D_DLL -D_MT -
>> D_WINSOCKAPI_  /ID:\Harmony5\target\hdk\include
>> /ID:\Harmony5\target\hdk\jdk\include /I. -DHY_NO_THR -DHY_ZIP_API
>> /I..\shared\
>> /ID:\Harmony5\target\hdk\..\depends\libs\windows.x86\lcms-1.19\include
>> /I..\shared\include -Fo..\shared\cmmerror.obj ..\shared\cmmerror.c
>>       [exec] cmmerror.c
>>       [exec]
>> d:\Harmony5\classlib\modules\awt\src\main\native\lcmm\shared\cmmapi.h(22) 
>>
>> : fatal error C1083: Cannot open include file: 'lcms.h': No such file or
>> directory
>>       [exec] NMAKE : fatal error U1077: 'cl' : return code '0x2'
>>       [exec] Stop.
>>
>> BUILD FAILED
>> D:\Harmony5\build.xml:414: The following error occurred while executing
>> this line:
>> D:\Harmony5\classlib\build.xml:181: The following error occurred while
>> executing this line:
>> D:\Harmony5\classlib\make\properties.xml:545: The following error
>> occurred while executing this line:
>> D:\Harmony5\classlib\make\properties.xml:557: The following error
>> occurred while executing this line:
>> D:\Harmony5\classlib\modules\awt\build.xml:230: The following error
>> occurred while executing this line:
>> D:\Harmony5\classlib\make\properties.xml:582: exec returned: 2
>>
>> Total time: 2 minutes 33 seconds
>>
>

-- 
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


Re: [build] Windows build failure

Posted by Oliver Deakin <ol...@googlemail.com>.
On 17/05/2010 17:14, Tim Ellison wrote:
> On 14/May/2010 23:48, Mark Hindess wrote:
>    
>> Please test the java5 and java6 federated build and report your results
>> to help prepare for our releases.
>>      
> A fresh checkout on Windows Java 5 branch fails to compile for me.  It
> cannot find 'lcms.h'
>    

I see the same failure in my workspace, but haven't yet tracked down the 
cause.

Regards,
Oliver

> <snip>
>
> -compile-java:
>       [echo] Compiling awt classes
>
> -class-patternset:
>
> -build-jar:
> [hy.jar.bin] Building jar: D:\Harmony5\target\hdk\jdk\jre\lib\boot\awt.jar
> [hy.jar.src] Building jar:
> D:\Harmony5\target\hdk\jdk\jre\lib\boot\awt-src.jar
>
> -build-native-common:
>       [echo] Making "" in src/main/native/lcmm/windows
>       [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo
> -FIsehmap.h -D_X86_=1  -DWIN32 -D_WIN32 -W3 -D_WIN95
> -D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400
> -Zi -Od -WX -GF -Gs -MD -Zm400   -D_CRT_SECURE_NO_DEPRECATE
> -D_CRT_SECURE_NO_WARNINGS  -D_SCL_SECURE_NO_DEPRECATE  -D_DLL -D_MT -
> D_WINSOCKAPI_  /ID:\Harmony5\target\hdk\include
> /ID:\Harmony5\target\hdk\jdk\include /I. -DHY_NO_THR -DHY_ZIP_API
> /I..\shared\
> /ID:\Harmony5\target\hdk\..\depends\libs\windows.x86\lcms-1.19\include
> /I..\shared\include -Fo..\shared\cmmerror.obj ..\shared\cmmerror.c
>       [exec] cmmerror.c
>       [exec]
> d:\Harmony5\classlib\modules\awt\src\main\native\lcmm\shared\cmmapi.h(22)
> : fatal error C1083: Cannot open include file: 'lcms.h': No such file or
> directory
>       [exec] NMAKE : fatal error U1077: 'cl' : return code '0x2'
>       [exec] Stop.
>
> BUILD FAILED
> D:\Harmony5\build.xml:414: The following error occurred while executing
> this line:
> D:\Harmony5\classlib\build.xml:181: The following error occurred while
> executing this line:
> D:\Harmony5\classlib\make\properties.xml:545: The following error
> occurred while executing this line:
> D:\Harmony5\classlib\make\properties.xml:557: The following error
> occurred while executing this line:
> D:\Harmony5\classlib\modules\awt\build.xml:230: The following error
> occurred while executing this line:
> D:\Harmony5\classlib\make\properties.xml:582: exec returned: 2
>
> Total time: 2 minutes 33 seconds
>
>    

-- 
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU