stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov" <Farid_Zari...@epam.com>
Subject RE: Build failure with ICC on windows
Date Wed, 11 Apr 2007 10:02:29 GMT
> -----Original Message-----
> From: Andrew Black [mailto:ablack@roguewave.com] 
> Sent: Tuesday, April 10, 2007 8:42 PM
> To: stdcxx-dev@incubator.apache.org
> Subject: Re: Build failure with ICC on windows
> 
> A problem that I am seeing with the resulting behavior is 
> that the build_icc-9.1.bat script is not being generated 
> after this change was committed, resulting in the attached 
> (gziped) log.

  As I see, the build_icc-9.1.bat is not being generated due to
exception during running the script:
--------------
Writing solution on disk...
Converting solution icc-9.1.sln to ICC.
Conversion finished with code 2
Converting solution icc-9.1_ex.sln to ICC.
Conversion finished with code 2
Converting solution icc-9.1_tst.sln to ICC.
Conversion finished with code 2
Converting solution icc-9.1_loc.sln to ICC.
Conversion finished with code 2
Converting solution icc-9.1_tstloc.sln to ICC.
D:\bman5\builds\33408492\source-buildspace\etc\config\windows\generate.w
sf(89, 6) (null): The handle is invalid. 
--------------

  The exception thrown in line:
    WScript.Echo(msg);

  In the previous log (from
http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200704.mbo
x/%3c46153466.90202@roguewave.com%3e):
--------------
Converting solution to ICC.
Conversion finished with code 2
Generating build.bat...
D:\bman5\builds\33400248\source-buildspace\etc\config\windows\generate.w
sf(196, 6) (null): The handle is invalid. 
--------------

  The exception thrown in line:
    WScript.Echo("Solution was generated successfully. See " +
resLogPath + " for details.");

  That is strange error because of the previous calls WScript.Echo()
were successful.
I've asked the Google and found the one similar problem with
WScript.Echo(), but there has no answer:
http://groups.google.com.ua/group/microsoft.public.scripting.jscript/bro
wse_thread/thread/7d0eb00d02e97a13/2d6d1e8ce8fade40?lnk=st&q=WScript.Ech
o+The+handle+is+invalid.&rnum=8&hl=ru#2d6d1e8ce8fade40

  I cannot reproduce that error. I can add try/catch, to hide this
exception, but it's just workaround...

  For the beginning let's try to replace WScript.Echo() with
WScript.StdOut.WriteLine():
http://svn.apache.org/viewvc?view=rev&rev=527435

Farid.

Mime
View raw message