Skip to content

addon build failures on Windows machines #1622

Closed
@joyeecheung

Description

Refs: nodejs/reliability#19

Reason Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
Type BUILD_FAILURE
Failed PR 7 (nodejs/node#24796, nodejs/node#24803, nodejs/node#24737, nodejs/node#24727, nodejs/node#24814, nodejs/node#20640, nodejs/node#24733)
Appeared test-azure_msft-win10-x64-5, test-rackspace-win2012r2-x64-12
First CI https://ci.nodejs.org/job/node-test-pull-request/19147/
Last CI https://ci.nodejs.org/job/node-test-pull-request/19190/
Example
Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (c:\workspace\node-test-binary-windows\deps\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Windows_NT 10.0.10240

Reason Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 3762504530
Type BUILD_FAILURE
Failed PR 7 (nodejs/node#24775, nodejs/node#24796, nodejs/node#24803, nodejs/node#20640, nodejs/node#23423, nodejs/node#24733, nodejs/ecmascript-modules#18)
Appeared test-azure_msft-win2016-x64-6
First CI https://ci.nodejs.org/job/node-test-pull-request/19124/
Last CI https://ci.nodejs.org/job/node-test-pull-request/19211/
Example
Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 3762504530
gyp ERR! stack     at ChildProcess.onExit (c:\workspace\node-test-binary-windows\deps\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Windows_NT 10.0.14393

The real cause seem to be either

(https://ci.nodejs.org/job/node-test-binary-windows/COMPILED_BY=vcbt2015,RUNNER=win10,RUN_SUBSET=0/22176/console)

MSBUILD : error MSB4132: The tools version "2.0" is unrecognized. Available tools versions are "4.0".
18:29:20 gyp ERR! build error 

Or (https://ci.nodejs.org/job/node-test-binary-windows/COMPILED_BY=vs2015,RUNNER=win2016,RUN_SUBSET=1/22176/console)

Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException: MSBuildToolsPath is not specified for the ToolsVersion "14.0" defined at "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0", or the value specified evaluates to the empty string.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions