Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

Latest contextify still won't build with IO.js #151

Closed
@kevinmartin

Description

IO.js v1.0.4:

-
> [email protected] install ./node_modules/juice/node_modules/jsdom/node_modules/contextify
> node-gyp rebuild

child_process: customFds option is deprecated, use stdio instead.
make: Entering directory `./node_modules/juice/node_modules/jsdom/node_modules/contextify/build'
CXX(target) Release/obj.target/contextify/src/contextify.o
In file included from ../src/contextify.cc:3:
../node_modules/nan/nan.h:481: error: ‘NanNew’ declared as an ‘inline’ variable
../node_modules/nan/nan.h:481: warning: ‘always_inline’ attribute ignored
../node_modules/nan/nan.h:481: error: ‘v8::Local<v8::String> NanNew’ redeclared as different kind of symbol
../node_modules/nan/nan.h:475: error: previous declaration of ‘v8::Local<v8::String> NanNew(v8::String::ExternalStringResource*)’
../node_modules/nan/nan.h:481: error: ‘ExternalAsciiStringResource’ is not a member of ‘v8::String’
../node_modules/nan/nan.h:481: error: ‘resource’ was not declared in this scope
../node_modules/nan/nan.h: In function ‘bool _NanGetExternalParts(v8::Handle<v8::Value>, const char**, size_t*)’:
../node_modules/nan/nan.h:2103: error: ‘class v8::String’ has no member named ‘IsExternalAscii’
../node_modules/nan/nan.h:2104: error: expected initializer before ‘*’ token
../node_modules/nan/nan.h:2105: error: ‘ext’ was not declared in this scope
../node_modules/nan/nan.h:2105: error: ‘class v8::String’ has no member named ‘GetExternalAsciiStringResource’
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
make: Leaving directory `./node_modules/juice/node_modules/jsdom/node_modules/contextify/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/master/.nvm/versions/io.js/v1.0.4/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:101:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1038:12)
gyp ERR! System Linux 2.6.32-431.29.2.el6.x86_64
gyp ERR! command "node" "/home/master/.nvm/versions/io.js/v1.0.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd ./node_modules/juice/node_modules/jsdom/node_modules/contextify
gyp ERR! node -v v1.0.4
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok 
npm ERR! Linux 2.6.32-431.29.2.el6.x86_64
npm ERR! argv "/home/master/.nvm/versions/io.js/v1.0.4/bin/iojs" "/home/master/.nvm/versions/io.js/v1.0.4/bin/npm" "install" "contextify"
npm ERR! node v1.0.4
npm ERR! npm  v2.3.0
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     ./node_modules/juice/node_modules/jsdom/node_modules/npm-debug.log

IO.js v1.0.3:

-
> [email protected] install ./node_modules/juice/node_modules/jsdom/node_modules/contextify
> node-gyp rebuild

child_process: customFds option is deprecated, use stdio instead.
make: Entering directory `./node_modules/juice/node_modules/jsdom/node_modules/contextify/build'
CXX(target) Release/obj.target/contextify/src/contextify.o
In file included from ../src/contextify.cc:3:
../node_modules/nan/nan.h:481: error: ‘NanNew’ declared as an ‘inline’ variable
../node_modules/nan/nan.h:481: warning: ‘always_inline’ attribute ignored
../node_modules/nan/nan.h:481: error: ‘v8::Local<v8::String> NanNew’ redeclared as different kind of symbol
../node_modules/nan/nan.h:475: error: previous declaration of ‘v8::Local<v8::String> NanNew(v8::String::ExternalStringResource*)’
../node_modules/nan/nan.h:481: error: ‘ExternalAsciiStringResource’ is not a member of ‘v8::String’
../node_modules/nan/nan.h:481: error: ‘resource’ was not declared in this scope
../node_modules/nan/nan.h: In function ‘bool _NanGetExternalParts(v8::Handle<v8::Value>, const char**, size_t*)’:
../node_modules/nan/nan.h:2103: error: ‘class v8::String’ has no member named ‘IsExternalAscii’
../node_modules/nan/nan.h:2104: error: expected initializer before ‘*’ token
../node_modules/nan/nan.h:2105: error: ‘ext’ was not declared in this scope
../node_modules/nan/nan.h:2105: error: ‘class v8::String’ has no member named ‘GetExternalAsciiStringResource’
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
make: Leaving directory `./node_modules/juice/node_modules/jsdom/node_modules/contextify/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/master/.nvm/versions/io.js/v1.0.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1038:12)
gyp ERR! System Linux 2.6.32-431.29.2.el6.x86_64
gyp ERR! command "node" "/home/master/.nvm/versions/io.js/v1.0.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd ./node_modules/juice/node_modules/jsdom/node_modules/contextify
gyp ERR! node -v v1.0.3
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok 
npm ERR! Linux 2.6.32-431.29.2.el6.x86_64
npm ERR! argv "/home/master/.nvm/versions/io.js/v1.0.3/bin/iojs" "/home/master/.nvm/versions/io.js/v1.0.3/bin/npm" "install" "contextify"
npm ERR! node v1.0.3
npm ERR! npm  v2.2.0
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     ./node_modules/juice/node_modules/jsdom/node_modules/npm-debug.log

Works fine on Node v0.11.15

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions