[Buildbot-commits] [Buildbot] #1754: VC9 compile step assumes PlatformSDK is installed

Buildbot nobody at buildbot.net
Thu Jan 6 16:52:21 UTC 2011


#1754: VC9 compile step assumes PlatformSDK is installed
----------------------+--------------------
Reporter:  philippem  |       Owner:
    Type:  defect     |      Status:  new
Priority:  major      |   Milestone:  0.8.+
 Version:  0.8.3      |  Resolution:
Keywords:  windows    |
----------------------+--------------------
Changes (by dustin):

 * keywords:   => windows
 * milestone:  undecided => 0.8.+


Old description:

> - buildbot slave 0.8.3 on xp, using VC9 compile step.
> - devenv fails with a warning/error, because the VC9 compile step sets
> the LIB path to a directory that would be created if you had installed
> the v2.0 platform sdk (not sure the exact version, there are several).
> - I don't have any of the platform sdks installed on the buildslave.
> - to work around this, I created the empty directories c:\program
> files\microsoft visual studio 9.0\SDK\v2.0\lib and c:\program
> files\microsoft visual studio 9.0\VC\PlatformSDK\lib, and the compile
> passed.
>
> It would be good if the buildbot compile step either (a) did not make
> this assumption or (b) was robust enough to deal with its absence
>
> build step:
>

> f5.addStep(VC9(projectfile="IXXX\\AutomatedTests\\AutomatedTests.sln",
> config="Debug", mode="build"))
>

> error messages in build step output:
>
> 'devenv.com' 'IXXX\\INDMA.sln' '/Build' 'Debug'
>  in dir c:\buildbot\trunk-continuous\build (timeout 1200 secs)
>  watching logfiles {}
>  argv: ['devenv.com', 'INgrooves\\INDMA.sln', '/Build', 'Debug']
>  environment:
>   ALLUSERSPROFILE=C:\Documents and Settings\All Users
>   APPDATA=C:\Documents and Settings\automatedqa\Application Data
>   CLIENTNAME=NSL-MMARCANO
>   CLUSTERLOG=C:\WINDOWS\Cluster\cluster.log
>   COMMONPROGRAMFILES=C:\Program Files\Common Files
>   COMPUTERNAME=YAMTESTING
>   COMSPEC=C:\WINDOWS\system32\cmd.exe
>   FP_NO_HOST_CHECK=NO
>   INCLUDE=C:\Program Files\Microsoft Visual Studio
> 9.0\VC\INCLUDE;C:\Program Files\Microsoft Visual Studio
> 9.0\VC\ATLMFC\include;C:\Program Files\Microsoft Visual Studio
> 9.0\VC\PlatformSDK\include;
>   LIB=C:\Program Files\Microsoft Visual Studio 9.0\VC\LIB;C:\Program
> Files\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program
> Files\Microsoft Visual Studio 9.0\VC\PlatformSDK\lib;C:\Program
> Files\Microsoft Visual Studio 9.0\SDK\v2.0\lib;
>   LOGONSERVER=\\YAMTESTING
>   NUMBER_OF_PROCESSORS=2
>   OS=Windows_NT
>   PATH=C:\Program Files\Microsoft Visual Studio
> 9.0\Common7\IDE;C:\Program Files\Microsoft Visual Studio
> 9.0\VC\BIN;C:\Program Files\Microsoft Visual Studio
> 9.0\Common7\Tools;C:\Program Files\Microsoft Visual Studio
> 9.0\Common7\Tools\bin;C:\Program Files\Microsoft Visual Studio
> 9.0\VC\PlatformSDK\bin;C:\Program Files\Microsoft Visual Studio
> 9.0\SDK\v2.0\bin;C:\Program Files\Microsoft Visual Studio
> 9.0\VC\VCPackages;C:\Program Files\CollabNet\Subversion
> Client;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL
> Server\90\Tools\binn\;C:\Program Files\Microsoft SQL
> Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL
> Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program
> Files\TortoiseSVN\bin;C:\Python25;C:\Program Files\Microsoft SQL
> Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL
> Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL
> Server\100\DTS\Binn\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\flex\flex_sdk_4.0.0.13875\bin;c:\xunit-1.6.1;
>   PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
>   PROCESSOR_ARCHITECTURE=x86
>   PROCESSOR_IDENTIFIER=x86 Family 6 Model 26 Stepping 5, GenuineIntel
>   PROCESSOR_LEVEL=6
>   PROCESSOR_REVISION=1a05
>   PROGRAMFILES=C:\Program Files
>   PWD=c:\buildbot\trunk-continuous\build
>   SESSIONNAME=RDP-Tcp#1
>   SYSTEMDRIVE=C:
>   SYSTEMROOT=C:\WINDOWS
>   TEMP=C:\DOCUME~1\AUTOMA~1\LOCALS~1\Temp
>   TMP=C:\DOCUME~1\AUTOMA~1\LOCALS~1\Temp
>   USERDOMAIN=YAMTESTING
>   USERNAME=automatedqa
>   USERPROFILE=C:\Documents and Settings\automatedqa
>   VS100COMNTOOLS=C:\Program Files\Microsoft Visual Studio
> 10.0\Common7\Tools\
>   VS90COMNTOOLS=C:\Program Files\Microsoft Visual Studio
> 9.0\Common7\Tools\
>   WINDIR=C:\WINDOWS
>  closing stdin
>  using PTY: False
>
> Microsoft (R) Visual Studio Version 9.0.30729.1.
> Copyright (C) Microsoft Corp. All rights reserved.
> 1>------ Build started: Project: FluorineFx-3.5, Configuration: Debug Any
> CPU ------
> 1>FluorineFx-3.5 -> c:\buildbot\trunk-
> continuous\build\INgrooves\FluorineFx\bin\Debug\FluorineFx.dll
> 2>------ Build started: Project: INPlugin, Configuration: Debug Any CPU
> ------
> 2>INPlugin -> c:\buildbot\trunk-
> continuous\build\INgrooves\INPlugin\bin\Debug\INPlugin.dll
> 3>------ Build started: Project: CommonCore, Configuration: Debug Any CPU
> ------
> 3>c:\WINDOWS\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /unsafe+
> /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:TRACE;DEBUG;EN
> /reference:c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll
> /reference:c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll
> /reference:c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll
> /reference:c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll
> /reference:c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll
> /debug+ /debug:full /optimize- /out:obj\Debug\CommonCore.dll
> /resource:obj\Debug\INgrooves.Common.Images.resources
> /resource:obj\Debug\INgrooves.Common.Strings.resources
> /resource:Images\ingrooves_generic.gif,INgrooves.Common.Images.ingrooves_generic.gif
> /resource:Images\onedigital_generic.gif,INgrooves.Common.Images.onedigital_generic.gif
> /target:library /warnaserror+ Bits.cs Chars.cs CommonCore.cs
> Containers\Container.cs Database\IDBBase.cs Images.cs
> Properties\AssemblyInfo.cs Strings.cs
> error CS1668: Warning as Error: Invalid search path 'C:\Program
> Files\Microsoft Visual Studio 9.0\VC\PlatformSDK\lib' specified in 'LIB
> environment variable' -- 'The system cannot find the path specified. '
> error CS1668: Warning as Error: Invalid search path 'C:\Program
> Files\Microsoft Visual Studio 9.0\SDK\v2.0\lib' specified in 'LIB
> environment variable' -- 'The system cannot find the path specified. '

New description:

 * buildbot slave 0.8.3 on xp, using VC9 compile step.
  * devenv fails with a warning/error, because the VC9 compile step sets
 the LIB path to a directory that would be created if you had installed the
 v2.0 platform sdk (not sure the exact version, there are several).
  * I don't have any of the platform sdks installed on the buildslave.
  * to work around this, I created the empty directories c:\program
 files\microsoft visual studio 9.0\SDK\v2.0\lib and c:\program
 files\microsoft visual studio 9.0\VC\PlatformSDK\lib, and the compile
 passed.

 It would be good if the buildbot compile step either (a) did not make this
 assumption or (b) was robust enough to deal with its absence

 build step:

 {{{
 f5.addStep(VC9(projectfile="IXXX\\AutomatedTests\\AutomatedTests.sln",
 config="Debug", mode="build"))
 }}}

 error messages in build step output:

 {{{
 'devenv.com' 'IXXX\\INDMA.sln' '/Build' 'Debug'
  in dir c:\buildbot\trunk-continuous\build (timeout 1200 secs)
  watching logfiles {}
  argv: ['devenv.com', 'INgrooves\\INDMA.sln', '/Build', 'Debug']
  environment:
   ALLUSERSPROFILE=C:\Documents and Settings\All Users
   APPDATA=C:\Documents and Settings\automatedqa\Application Data
   CLIENTNAME=NSL-MMARCANO
   CLUSTERLOG=C:\WINDOWS\Cluster\cluster.log
   COMMONPROGRAMFILES=C:\Program Files\Common Files
   COMPUTERNAME=YAMTESTING
   COMSPEC=C:\WINDOWS\system32\cmd.exe
   FP_NO_HOST_CHECK=NO
   INCLUDE=C:\Program Files\Microsoft Visual Studio
 9.0\VC\INCLUDE;C:\Program Files\Microsoft Visual Studio
 9.0\VC\ATLMFC\include;C:\Program Files\Microsoft Visual Studio
 9.0\VC\PlatformSDK\include;
   LIB=C:\Program Files\Microsoft Visual Studio 9.0\VC\LIB;C:\Program
 Files\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program Files\Microsoft
 Visual Studio 9.0\VC\PlatformSDK\lib;C:\Program Files\Microsoft Visual
 Studio 9.0\SDK\v2.0\lib;
   LOGONSERVER=\\YAMTESTING
   NUMBER_OF_PROCESSORS=2
   OS=Windows_NT
   PATH=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program
 Files\Microsoft Visual Studio 9.0\VC\BIN;C:\Program Files\Microsoft Visual
 Studio 9.0\Common7\Tools;C:\Program Files\Microsoft Visual Studio
 9.0\Common7\Tools\bin;C:\Program Files\Microsoft Visual Studio
 9.0\VC\PlatformSDK\bin;C:\Program Files\Microsoft Visual Studio
 9.0\SDK\v2.0\bin;C:\Program Files\Microsoft Visual Studio
 9.0\VC\VCPackages;C:\Program Files\CollabNet\Subversion
 Client;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
 Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL
 Server\90\Tools\binn\;C:\Program Files\Microsoft SQL
 Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL
 Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program
 Files\TortoiseSVN\bin;C:\Python25;C:\Program Files\Microsoft SQL
 Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL
 Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL
 Server\100\DTS\Binn\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\flex\flex_sdk_4.0.0.13875\bin;c:\xunit-1.6.1;
   PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
   PROCESSOR_ARCHITECTURE=x86
   PROCESSOR_IDENTIFIER=x86 Family 6 Model 26 Stepping 5, GenuineIntel
   PROCESSOR_LEVEL=6
   PROCESSOR_REVISION=1a05
   PROGRAMFILES=C:\Program Files
   PWD=c:\buildbot\trunk-continuous\build
   SESSIONNAME=RDP-Tcp#1
   SYSTEMDRIVE=C:
   SYSTEMROOT=C:\WINDOWS
   TEMP=C:\DOCUME~1\AUTOMA~1\LOCALS~1\Temp
   TMP=C:\DOCUME~1\AUTOMA~1\LOCALS~1\Temp
   USERDOMAIN=YAMTESTING
   USERNAME=automatedqa
   USERPROFILE=C:\Documents and Settings\automatedqa
   VS100COMNTOOLS=C:\Program Files\Microsoft Visual Studio
 10.0\Common7\Tools\
   VS90COMNTOOLS=C:\Program Files\Microsoft Visual Studio
 9.0\Common7\Tools\
   WINDIR=C:\WINDOWS
  closing stdin
  using PTY: False

 Microsoft (R) Visual Studio Version 9.0.30729.1.
 Copyright (C) Microsoft Corp. All rights reserved.
 1>------ Build started: Project: FluorineFx-3.5, Configuration: Debug Any
 CPU ------
 1>FluorineFx-3.5 -> c:\buildbot\trunk-
 continuous\build\INgrooves\FluorineFx\bin\Debug\FluorineFx.dll
 2>------ Build started: Project: INPlugin, Configuration: Debug Any CPU
 ------
 2>INPlugin -> c:\buildbot\trunk-
 continuous\build\INgrooves\INPlugin\bin\Debug\INPlugin.dll
 3>------ Build started: Project: CommonCore, Configuration: Debug Any CPU
 ------
 3>c:\WINDOWS\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /unsafe+
 /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:TRACE;DEBUG;EN
 /reference:c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll
 /reference:c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll
 /reference:c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll
 /reference:c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll
 /reference:c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll
 /debug+ /debug:full /optimize- /out:obj\Debug\CommonCore.dll
 /resource:obj\Debug\INgrooves.Common.Images.resources
 /resource:obj\Debug\INgrooves.Common.Strings.resources
 /resource:Images\ingrooves_generic.gif,INgrooves.Common.Images.ingrooves_generic.gif
 /resource:Images\onedigital_generic.gif,INgrooves.Common.Images.onedigital_generic.gif
 /target:library /warnaserror+ Bits.cs Chars.cs CommonCore.cs
 Containers\Container.cs Database\IDBBase.cs Images.cs
 Properties\AssemblyInfo.cs Strings.cs
 error CS1668: Warning as Error: Invalid search path 'C:\Program
 Files\Microsoft Visual Studio 9.0\VC\PlatformSDK\lib' specified in 'LIB
 environment variable' -- 'The system cannot find the path specified. '
 error CS1668: Warning as Error: Invalid search path 'C:\Program
 Files\Microsoft Visual Studio 9.0\SDK\v2.0\lib' specified in 'LIB
 environment variable' -- 'The system cannot find the path specified. '
 }}}

--

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1754#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list