Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bson 0.1.7 failed. #1784

Closed
lygstate opened this issue May 24, 2015 · 8 comments
Closed

bson 0.1.7 failed. #1784

lygstate opened this issue May 24, 2015 · 8 comments

Comments

@lygstate
Copy link

C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext>if not defined npm_config_node_gyp (node "C:\Users\lygstate\AppData\Roaming\npm\node_modules
\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure --fallback-to-build --module=C:\CI-Tools\kexin\node_modules\bson\node_mo
dules\bson-ext\build\Release\bson.node --module_name=bson --module_path=C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\Release )  els
e (configure --fallback-to-build --module=C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\Release\bson.node --module_name=bson --modul
e_path=C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\Release )

C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext>if not defined npm_config_node_gyp (node "C:\Users\lygstate\AppData\Roaming\npm\node_modules
\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" build --fallback-to-build --module=C:\CI-Tools\kexin\node_modules\bson\node_module
s\bson-ext\build\Release\bson.node --module_name=bson --module_path=C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\Release )  else (b
uild --fallback-to-build --module=C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\Release\bson.node --module_name=bson --module_path=C
:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\Release )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  bson.cc
c:\ci-tools\kexin\node_modules\bson\node_modules\bson-ext\node_modules\nan\nan_new.h(208): warning C4244: 'argument' : conversion from 'int64_t' to '
double', possible loss of data [C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj]
          ..\ext\bson.cc(589) : see reference to function template instantiation 'v8::Local<T> NanNew<v8::Number,int64_t>(A0)' being compiled
          with
          [
              T=v8::Number,
              A0=int64_t
          ]
  win_delay_load_hook.c
..\..\..\..\..\..\..\Users\lygstate\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(26): error C2275: 'HMODULE'
: illegal use of this type as an expression [C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj]
          C:\CI-Tools\vs\Microsoft SDKs\Windows\v7.0A\include\windef.h(281) : see declaration of 'HMODULE'
..\..\..\..\..\..\..\Users\lygstate\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(26): error C2146: syntax err
or : missing ';' before identifier 'm' [C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj]
..\..\..\..\..\..\..\Users\lygstate\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(26): error C2065: 'm' : unde
clared identifier [C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj]
..\..\..\..\..\..\..\Users\lygstate\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(26): warning C4047: '=' : 'i
nt' differs in levels of indirection from 'HMODULE' [C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj]
..\..\..\..\..\..\..\Users\lygstate\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(27): error C2065: 'm' : unde
clared identifier [C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\lygstate\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:269:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:169:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1009:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Users\\lygstate\\AppData\\Roaming\\npm\\node.exe" "C:\\Users\\lygstate\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\
node-gyp\\bin\\node-gyp.js" "build" "--fallback-to-build" "--module=C:\\CI-Tools\\kexin\\node_modules\\bson\\node_modules\\bson-ext\\build\\Release\\b
son.node" "--module_name=bson" "--module_path=C:\\CI-Tools\\kexin\\node_modules\\bson\\node_modules\\bson-ext\\build\\Release"
gyp ERR! cwd C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext
gyp ERR! node -v v1.8.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd build --fallback-to-build --module=C:\CI-Tools\kexin\node_modules\bson\node_modules\bso
n-ext\build\Release\bson.node --module_name=bson --module_path=C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\Release' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\node_modules\node-pre-gyp\lib\util\
compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:87:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:169:7)
node-pre-gyp ERR! stack     at maybeClose (child_process.js:953:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1020:5)
node-pre-gyp ERR! System Windows_NT 6.1.7601
node-pre-gyp ERR! command "C:\\Users\\lygstate\\AppData\\Roaming\\npm\\node.exe" "C:\\CI-Tools\\kexin\\node_modules\\bson\\node_modules\\bson-ext\\nod
e_modules\\node-pre-gyp\\bin\\node-pre-gyp.js" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext
node-pre-gyp ERR! node -v v1.8.2
node-pre-gyp ERR! node-pre-gyp -v v0.6.4
node-pre-gyp ERR! not ok
Failed to execute 'node-gyp.cmd build --fallback-to-build --module=C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\Release\bson.node -
-module_name=bson --module_path=C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\Release' (1)

C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext>if not defined npm_config_node_gyp (node "C:\Users\lygstate\AppData\Roaming\npm\node_modules
\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (rebuild)
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  bson.cc
c:\ci-tools\kexin\node_modules\bson\node_modules\bson-ext\node_modules\nan\nan_new.h(208): warning C4244: 'argument' : conversion from 'int64_t' to '
double', possible loss of data [C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj]
          ..\ext\bson.cc(589) : see reference to function template instantiation 'v8::Local<T> NanNew<v8::Number,int64_t>(A0)' being compiled
          with
          [
              T=v8::Number,
              A0=int64_t
          ]
  win_delay_load_hook.c
..\..\..\..\..\..\..\Users\lygstate\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(26): error C2275: 'HMODULE'
: illegal use of this type as an expression [C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj]
          C:\CI-Tools\vs\Microsoft SDKs\Windows\v7.0A\include\windef.h(281) : see declaration of 'HMODULE'
..\..\..\..\..\..\..\Users\lygstate\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(26): error C2146: syntax err
or : missing ';' before identifier 'm' [C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj]
..\..\..\..\..\..\..\Users\lygstate\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(26): error C2065: 'm' : unde
clared identifier [C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj]
..\..\..\..\..\..\..\Users\lygstate\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(26): warning C4047: '=' : 'i
nt' differs in levels of indirection from 'HMODULE' [C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj]
..\..\..\..\..\..\..\Users\lygstate\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(27): error C2065: 'm' : unde
clared identifier [C:\CI-Tools\kexin\node_modules\bson\node_modules\bson-ext\build\bson.vcxproj]
[email protected] node_modules\bson
└── [email protected] ([email protected], [email protected])

C:\CI-Tools\kexin>

@ChALkeR
Copy link
Member

ChALkeR commented May 24, 2015

Could you please format that? And report to bson-ext.

@Fishrock123
Copy link
Contributor

Please report to bson-ext and link to (see below) this issue: #1620

While we are here, this appears to be on windows and with io.js 2.0.2+?

What windows version, and what Visual Studio version?

@Fishrock123
Copy link
Contributor

As mentioned here, it may be because MSVS doesn't support C++ 11 stuff that v8 4.2 uses.

@ChALkeR
Copy link
Member

ChALkeR commented May 24, 2015

@Fishrock123 I think that #1620 is irrelevant here. Why should he link to it? His iojs version is 1.8.2.

@Fishrock123
Copy link
Contributor

Oh, oops. In that case, link to #456

@kkoopa
Copy link

kkoopa commented May 24, 2015

The error is that the bundled version of node-gyp is missing nodejs/node-gyp@c022c80 nodejs/node-gyp#616

@ChALkeR
Copy link
Member

ChALkeR commented May 24, 2015

@kkoopa Should it go to 2.1.1?
Ah, no use if it doesn't build with 2010 at all =).

@kkoopa
Copy link

kkoopa commented May 24, 2015

No, that is fixed in d144e96. The fix should go in 1.8.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants