[Buildbot-devel] VC8 and VC9 errors and lack of logs

Rishi Verma rishi_verma at apple.com
Fri Dec 3 19:03:35 UTC 2010


Hi Benoit,

It is odd that I was getting VC8 still, I even checked and double checked the default env and the one being set by buildbot, and VC9 was first in the path with no mention of VC8.  I ended up hardcoding the command with a path.

I also noticed that the environment for VC9 was not correct.  VC8 included the Platform SDK however, with VC9 this is no longer the case, so I had to make some adjustments accordingly.

Cheers,
Rishi


On Dec 2, 2010, at 12:58 AM, Benoît Allard wrote:

> Rishi Verma wrote:
>> Hi All,
>> I played with this some more and discovered a few things.  Since I had /UseEnv enabled, devenv was choking on it, changing the command to devenv.com fixed that issue and actually produced output for stdio, warnings and errors.
>> The VC9 builds still seem to fail, setting the command to devenv.com made it easier to figure out, which clearly showed that it was running the wrong version of Visual Studio, it was still running VC8 devenv and therefore could not use my newer solution file.  Any work arounds to the VC9 issue, besides rewriting environment setup step?
>> Cheers,
>> Rishi
> 
> Hi Rishi,
> 
> It looks strange to me that the wrong Visual Studio is being called ... I guess the reason for that is that both directory are in your $PATH, and VC8 at first. Can you figure out why does your VC8 devenv is in your path during the vc9 step ? As the environment setup step for VC9 should only add path that are relative to the VC9 install dir ...
> 
> A solution for you though would be to call directly the right devenv, specifying it absolutely.
> 
> Regarding the .com/.exe difference, It is the second time in one month I see discussion on this list about that, I'll try to generate a patch soon for that.
> 
> Regards,
> Benoit





More information about the devel mailing list