Skip to content

Instantly share code, notes, and snippets.

@tamsler
Created November 21, 2012 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tamsler/4126103 to your computer and use it in GitHub Desktop.
Save tamsler/4126103 to your computer and use it in GitHub Desktop.
nodejitsu deploy error
psl-247 : ~/src/edu-stream/(master) # jitsu deploy
info: Welcome to Nodejitsu tpamsler
info: jitsu v0.11.3, node v0.8.8
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in server.js
info: Checking app availability edu-stream
info: Creating app edu-stream
info: Creating snapshot 0.0.1
info Uploading: [=============================] 100%
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: npm WARN package.json edu-stream@0.0.1 No README.md file found!
npm http GET http://nj-npm.irisnpm.com/config
npm http GET http://nj-npm.irisnpm.com/restify
npm http GET http://nj-npm.irisnpm.com/mongodb
npm http GET http://nj-npm.irisnpm.com/socket.io
npm http GET http://nj-npm.irisnpm.com/redis
npm http GET http://nj-npm.irisnpm.com/hiredis
npm http 200 http://nj-npm.irisnpm.com/config
npm http GET http://nj-npm.irisnpm.com/config/-/config-0.4.18.tgz
npm http 200 http://nj-npm.irisnpm.com/redis
npm http GET http://nj-npm.irisnpm.com/redis/-/redis-0.8.2.tgz
npm http 200 http://nj-npm.irisnpm.com/restify
npm http 200 http://nj-npm.irisnpm.com/config/-/config-0.4.18.tgz
npm http 200 http://nj-npm.irisnpm.com/hiredis
npm http 200 http://nj-npm.irisnpm.com/redis/-/redis-0.8.2.tgz
npm http 200 http://nj-npm.irisnpm.com/socket.io
npm http GET http://nj-npm.irisnpm.com/restify/-/restify-1.4.4.tgz
npm http GET http://nj-npm.irisnpm.com/hiredis/-/hiredis-0.1.14.tgz
npm http GET http://nj-npm.irisnpm.com/socket.io/-/socket.io-0.9.11.tgz
npm http 200 http://nj-npm.irisnpm.com/socket.io/-/socket.io-0.9.11.tgz
npm http 200 http://nj-npm.irisnpm.com/restify/-/restify-1.4.4.tgz
npm http 200 http://nj-npm.irisnpm.com/hiredis/-/hiredis-0.1.14.tgz
npm WARN package.json hiredis@0.1.14 No README.md file found!
npm http 200 http://nj-npm.irisnpm.com/mongodb
npm http GET http://nj-npm.irisnpm.com/mongodb/-/mongodb-1.1.11.tgz
npm http 200 http://nj-npm.irisnpm.com/mongodb/-/mongodb-1.1.11.tgz
> hiredis@0.1.14 preinstall /root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis
> make || gmake
cd deps/hiredis && make static
make[1]: Entering directory `/root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis/deps/hiredis'
cc -std=c99 -pedantic -c -O3 -fPIC -m64 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c
npm http GET http://nj-npm.irisnpm.com/socket.io-client/0.9.11
npm http GET http://nj-npm.irisnpm.com/policyfile/0.0.4
npm http GET http://nj-npm.irisnpm.com/async/0.1.22
npm http GET http://nj-npm.irisnpm.com/bunyan/0.10.0
npm http GET http://nj-npm.irisnpm.com/redis/0.7.3
npm http GET http://nj-npm.irisnpm.com/byline/2.0.2
npm http GET http://nj-npm.irisnpm.com/formidable/1.0.11
npm http GET http://nj-npm.irisnpm.com/dtrace-provider/0.0.9
npm http GET http://nj-npm.irisnpm.com/http-signature/0.9.9
npm http GET http://nj-npm.irisnpm.com/lru-cache/1.1.0
npm http GET http://nj-npm.irisnpm.com/mime/1.2.5
npm http GET http://nj-npm.irisnpm.com/node-uuid/1.3.3
npm http GET http://nj-npm.irisnpm.com/qs/0.5.0
npm http GET http://nj-npm.irisnpm.com/retry/0.6.0
npm http GET http://nj-npm.irisnpm.com/semver/1.0.14
cc -std=c99 -pedantic -c -O3 -fPIC -m64 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c
npm http 200 http://nj-npm.irisnpm.com/policyfile/0.0.4
npm http GET http://nj-npm.irisnpm.com/policyfile/-/policyfile-0.0.4.tgz
npm http 200 http://nj-npm.irisnpm.com/bunyan/0.10.0
npm http GET http://nj-npm.irisnpm.com/bunyan/-/bunyan-0.10.0.tgz
npm http 200 http://nj-npm.irisnpm.com/redis/0.7.3
npm http GET http://nj-npm.irisnpm.com/redis/-/redis-0.7.3.tgz
npm http 200 http://nj-npm.irisnpm.com/socket.io-client/0.9.11
npm http 200 http://nj-npm.irisnpm.com/byline/2.0.2
npm http 200 http://nj-npm.irisnpm.com/http-signature/0.9.9
npm http 200 http://nj-npm.irisnpm.com/dtrace-provider/0.0.9
npm http 200 http://nj-npm.irisnpm.com/async/0.1.22
npm http GET http://nj-npm.irisnpm.com/socket.io-client/-/socket.io-client-0.9.11.tgz
npm http GET http://nj-npm.irisnpm.com/byline/-/byline-2.0.2.tgz
npm http GET http://nj-npm.irisnpm.com/http-signature/-/http-signature-0.9.9.tgz
npm http GET http://nj-npm.irisnpm.com/dtrace-provider/-/dtrace-provider-0.0.9.tgz
npm http GET http://nj-npm.irisnpm.com/async/-/async-0.1.22.tgz
npm http 200 http://nj-npm.irisnpm.com/formidable/1.0.11
npm http GET http://nj-npm.irisnpm.com/formidable/-/formidable-1.0.11.tgz
npm http 200 http://nj-npm.irisnpm.com/lru-cache/1.1.0
npm http GET http://nj-npm.irisnpm.com/lru-cache/-/lru-cache-1.1.0.tgz
npm http 200 http://nj-npm.irisnpm.com/qs/0.5.0
npm http GET http://nj-npm.irisnpm.com/qs/-/qs-0.5.0.tgz
npm http 200 http://nj-npm.irisnpm.com/node-uuid/1.3.3
npm http 200 http://nj-npm.irisnpm.com/policyfile/-/policyfile-0.0.4.tgz
npm http GET http://nj-npm.irisnpm.com/node-uuid/-/node-uuid-1.3.3.tgz
npm http 200 http://nj-npm.irisnpm.com/mime/1.2.5
npm http GET http://nj-npm.irisnpm.com/mime/-/mime-1.2.5.tgz
npm http 200 http://nj-npm.irisnpm.com/bunyan/-/bunyan-0.10.0.tgz
npm http 200 http://nj-npm.irisnpm.com/redis/-/redis-0.7.3.tgz
npm http 200 http://nj-npm.irisnpm.com/retry/0.6.0
npm http GET http://nj-npm.irisnpm.com/retry/-/retry-0.6.0.tgz
npm http 200 http://nj-npm.irisnpm.com/socket.io-client/-/socket.io-client-0.9.11.tgz
npm http 200 http://nj-npm.irisnpm.com/semver/1.0.14
npm http GET http://nj-npm.irisnpm.com/semver/-/semver-1.0.14.tgz
npm http 200 http://nj-npm.irisnpm.com/byline/-/byline-2.0.2.tgz
npm http 200 http://nj-npm.irisnpm.com/dtrace-provider/-/dtrace-provider-0.0.9.tgz
npm http 200 http://nj-npm.irisnpm.com/http-signature/-/http-signature-0.9.9.tgz
cc -std=c99 -pedantic -c -O3 -fPIC -m64 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c
npm http 200 http://nj-npm.irisnpm.com/formidable/-/formidable-1.0.11.tgz
npm http 200 http://nj-npm.irisnpm.com/lru-cache/-/lru-cache-1.1.0.tgz
npm http 200 http://nj-npm.irisnpm.com/qs/-/qs-0.5.0.tgz
npm http 200 http://nj-npm.irisnpm.com/async/-/async-0.1.22.tgz
cc -std=c99 -pedantic -c -O3 -fPIC -m64 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c
async.c: In function '__redisAsyncCommand':
async.c:538:10: warning: 'cstr' may be used uninitialized in this function [-Wuninitialized]
npm http 200 http://nj-npm.irisnpm.com/node-uuid/-/node-uuid-1.3.3.tgz
npm http 200 http://nj-npm.irisnpm.com/mime/-/mime-1.2.5.tgz
npm http 200 http://nj-npm.irisnpm.com/retry/-/retry-0.6.0.tgz
ar rcs libhiredis.a net.o hiredis.o sds.o async.o
make[1]: Leaving directory `/root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis/deps/hiredis'
node-waf configure build
npm http 200 http://nj-npm.irisnpm.com/semver/-/semver-1.0.14.tgz
Setting srcdir to : /root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis
Setting blddir to : /root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis/build
Checking for program g++ or c++ : /opt/local/bin/g++
Checking for program cpp : /opt/local/bin/cpp
Checking for program ar : /opt/local/bin/ar
Checking for program ranlib : /opt/local/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /opt/local
'configure' finished successfully (0.072s)
Waf: Entering directory `/root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis/build'
[1/3] cxx: hiredis.cc -> build/Release/hiredis_1.o
[2/3] cxx: reader.cc -> build/Release/reader_1.o
[3/3] cxx_link: build/Release/hiredis_1.o build/Release/reader_1.o -> build/Release/hiredis.node
ld: fatal: file Release/hiredis_1.o: wrong ELF class: ELFCLASS64
ld: fatal: file processing errors. No output written to /root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis/build/Release/hiredis.node
collect2: ld returned 1 exit status
Waf: Leaving directory `/root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis/build'
Build failed: -> task failed (err #1):
{task: cxx_link hiredis_1.o,reader_1.o -> hiredis.node}
make: *** [all] Error 1
cd deps/hiredis && gmake static
gmake[1]: Entering directory `/root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis/deps/hiredis'
gmake[1]: Nothing to be done for `static'.
gmake[1]: Leaving directory `/root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis/deps/hiredis'
node-waf configure build
> dtrace-provider@0.0.9 install /root/tmp/tmp-5720u2dtskw/build/package/node_modules/restify/node_modules/dtrace-provider
> node-waf clean ; node-waf configure build
Setting srcdir to : /root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis
Setting blddir to : /root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis/build
Checking for program g++ or c++ : /opt/local/bin/g++
npm http GET http://nj-npm.irisnpm.com/asn1/0.1.11
npm http GET http://nj-npm.irisnpm.com/ctype/0.5.0
Checking for program cpp : /opt/local/bin/cpp
Checking for program ar : /opt/local/bin/ar
Checking for program ranlib : /opt/local/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /opt/local
'configure' finished successfully (0.057s)
Waf: Entering directory `/root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis/build'
[3/3] cxx_link: build/Release/hiredis_1.o build/Release/reader_1.o -> build/Release/hiredis.node
ld: fatal: file Release/hiredis_1.o: wrong ELF class: ELFCLASS64
ld: fatal: file processing errors. No output written to /root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis/build/Release/hiredis.node
collect2: ld returned 1 exit status
Waf: Leaving directory `/root/tmp/tmp-5720u2dtskw/build/package/node_modules/hiredis/build'
Build failed: -> task failed (err #1):
{task: cxx_link hiredis_1.o,reader_1.o -> hiredis.node}
gmake: *** [all] Error 1
npm ERR! hiredis@0.1.14 preinstall: `make || gmake`
npm ERR! `sh "-c" "make || gmake"` failed with 2
npm ERR!
npm ERR! Failed at the hiredis@0.1.14 preinstall script.
npm ERR! This is most likely a problem with the hiredis package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! make || gmake
npm ERR! You can get their info via:
npm ERR! npm owner ls hiredis
npm ERR! There is likely additional logging output above.
npm ERR! System SunOS 5.11
npm ERR! command "/opt/local/bin/node" "/opt/local/bin/npm" "install"
npm ERR! cwd /root/tmp/tmp-5720u2dtskw/build/package
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! code ELIFECYCLE
npm http 200 http://nj-npm.irisnpm.com/ctype/0.5.0
npm http GET http://nj-npm.irisnpm.com/ctype/-/ctype-0.5.0.tgz
Nothing to clean (project not configured)
npm http 200 http://nj-npm.irisnpm.com/asn1/0.1.11
npm http GET http://nj-npm.irisnpm.com/asn1/-/asn1-0.1.11.tgz
npm http 200 http://nj-npm.irisnpm.com/asn1/-/asn1-0.1.11.tgz
npm http 200 http://nj-npm.irisnpm.com/ctype/-/ctype-0.5.0.tgz
Checking for program g++ or c++ : /opt/local/bin/g++
Checking for program cpp : /opt/local/bin/cpp
Checking for program ar : /opt/local/bin/ar
Checking for program ranlib : /opt/local/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /opt/local
'configure' finished successfully (0.064s)
Waf: Entering directory `/root/tmp/tmp-5720u2dtskw/build/package/node_modules/restify/node_modules/dtrace-provider/build'
[1/4] cxx: dtrace_provider.cc -> build/Release/dtrace_provider_1.o
[2/4] cxx: dtrace_dof.cc -> build/Release/dtrace_dof_1.o
[3/4] cxx: solaris-i386/dtrace_probe.cc -> build/Release/solaris-i386/dtrace_probe_1.o
../solaris-i386/dtrace_probe.cc: In member function 'void* node::DTraceProbe::Dof()':
../solaris-i386/dtrace_probe.cc:17:41: error: cast from 'void*' to 'uint32_t {aka unsigned int}' loses precision [-fpermissive]
../solaris-i386/dtrace_probe.cc: In member function 'void node::DTraceProbe::Fire(v8::Local<v8::Array>)':
../solaris-i386/dtrace_probe.cc:179:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../solaris-i386/dtrace_probe.cc:185:38: error: cast from 'void*' to 'uint32_t {aka unsigned int}' loses precision [-fpermissive]
../solaris-i386/dtrace_probe.cc:185:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../solaris-i386/dtrace_probe.cc:189:44: error: cast from 'void*' to 'uint32_t {aka unsigned int}' loses precision [-fpermissive]
../solaris-i386/dtrace_probe.cc:189:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../solaris-i386/dtrace_probe.cc:193:52: error: cast from 'void*' to 'uint32_t {aka unsigned int}' loses precision [-fpermissive]
../solaris-i386/dtrace_probe.cc:193:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../solaris-i386/dtrace_probe.cc:197:60: error: cast from 'void*' to 'uint32_t {aka unsigned int}' loses precision [-fpermissive]
../solaris-i386/dtrace_probe.cc:197:86: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../solaris-i386/dtrace_probe.cc:201:68: error: cast from 'void*' to 'uint32_t {aka unsigned int}' loses precision [-fpermissive]
../solaris-i386/dtrace_probe.cc:201:94: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../solaris-i386/dtrace_probe.cc:205:76: error: cast from 'void*' to 'uint32_t {aka unsigned int}' loses precision [-fpermissive]
../solaris-i386/dtrace_probe.cc:205:102: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../solaris-i386/dtrace_probe.cc:209:84: error: cast from 'void*' to 'uint32_t {aka unsigned int}' loses precision [-fpermissive]
../solaris-i386/dtrace_probe.cc:209:110: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Waf: Leaving directory `/root/tmp/tmp-5720u2dtskw/build/package/node_modules/restify/node_modules/dtrace-provider/build'
Build failed: -> task failed (err #1):
{task: cxx dtrace_probe.cc -> dtrace_probe_1.o}
npm WARN optional dep failed, continuing dtrace-provider@0.0.9
npm http GET http://nj-npm.irisnpm.com/bson/0.1.5
npm http 200 http://nj-npm.irisnpm.com/bson/0.1.5
npm http GET http://nj-npm.irisnpm.com/bson/-/bson-0.1.5.tgz
npm http 200 http://nj-npm.irisnpm.com/bson/-/bson-0.1.5.tgz
npm http GET http://nj-npm.irisnpm.com/uglify-js/1.2.5
npm http GET http://nj-npm.irisnpm.com/ws
npm http GET http://nj-npm.irisnpm.com/xmlhttprequest/1.4.2
npm http GET http://nj-npm.irisnpm.com/active-x-obfuscator/0.0.1
npm http 200 http://nj-npm.irisnpm.com/active-x-obfuscator/0.0.1
npm http GET http://nj-npm.irisnpm.com/active-x-obfuscator/-/active-x-obfuscator-0.0.1.tgz
npm http 200 http://nj-npm.irisnpm.com/xmlhttprequest/1.4.2
npm http GET http://nj-npm.irisnpm.com/xmlhttprequest/-/xmlhttprequest-1.4.2.tgz
npm http 200 http://nj-npm.irisnpm.com/uglify-js/1.2.5
npm http GET http://nj-npm.irisnpm.com/uglify-js/-/uglify-js-1.2.5.tgz
npm http 200 http://nj-npm.irisnpm.com/active-x-obfuscator/-/active-x-obfuscator-0.0.1.tgz
npm http 200 http://nj-npm.irisnpm.com/xmlhttprequest/-/xmlhttprequest-1.4.2.tgz
npm http 200 http://nj-npm.irisnpm.com/uglify-js/-/uglify-js-1.2.5.tgz
npm http 200 http://nj-npm.irisnpm.com/ws
npm http GET http://nj-npm.irisnpm.com/ws/-/ws-0.4.23.tgz
npm http 200 http://nj-npm.irisnpm.com/ws/-/ws-0.4.23.tgz
> bson@0.1.5 install /root/tmp/tmp-5720u2dtskw/build/package/node_modules/mongodb/node_modules/bson
> node install.js || (exit 0)
npm http GET http://nj-npm.irisnpm.com/zeparser/0.0.5
npm http 200 http://nj-npm.irisnpm.com/zeparser/0.0.5
npm http GET http://nj-npm.irisnpm.com/zeparser/-/zeparser-0.0.5.tgz
npm http 200 http://nj-npm.irisnpm.com/zeparser/-/zeparser-0.0.5.tgz
npm http GET http://nj-npm.irisnpm.com/commander
================================================================================
= =
= Attempting to build bson c++ extension =
= Windows: no build will be attempted as binaries are prepackaged =
= Unix: on failure the package will still install without the C++ extension =
= =
================================================================================
npm http GET http://nj-npm.irisnpm.com/tinycolor
npm http GET http://nj-npm.irisnpm.com/options
node-gyp clean
npm http 200 http://nj-npm.irisnpm.com/tinycolor
npm http GET http://nj-npm.irisnpm.com/tinycolor/-/tinycolor-0.0.1.tgz
npm http 200 http://nj-npm.irisnpm.com/options
npm http GET http://nj-npm.irisnpm.com/options/-/options-0.0.3.tgz
npm http 200 http://nj-npm.irisnpm.com/tinycolor/-/tinycolor-0.0.1.tgz
npm http 200 http://nj-npm.irisnpm.com/options/-/options-0.0.3.tgz
npm http 200 http://nj-npm.irisnpm.com/commander
npm http GET http://nj-npm.irisnpm.com/commander/-/commander-0.6.1.tgz
node-gyp configure build
npm http 200 http://nj-npm.irisnpm.com/commander/-/commander-0.6.1.tgz
> ws@0.4.23 install /root/tmp/tmp-5720u2dtskw/build/package/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> node install.js
[ws v0.4.23] Attempting to compile blazing fast native extensions.
make[1]: Entering directory `/root/tmp/tmp-5720u2dtskw/build/package/node_modules/mongodb/node_modules/bson/build'
CXX(target) Release/obj.target/bson/ext/bson.o
../ext/bson.cc: In member function 'void DataStream::CheckKey(const v8::Local<v8::String>&)':
../ext/bson.cc:64:52: error: 'alloca' was not declared in this scope
make[1]: *** [Release/obj.target/bson/ext/bson.o] Error 1
make[1]: Leaving directory `/root/tmp/tmp-5720u2dtskw/build/package/node_modules/mongodb/node_modules/bson/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/opt/local/lib/node_modules/node-gyp/lib/build.js:219:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:674:10)
gyp ERR! System SunOS 5.11
gyp ERR! command "node" "/opt/local/bin/node-gyp" "configure" "build"
gyp ERR! cwd /root/tmp/tmp-5720u2dtskw/build/package/node_modules/mongodb/node_modules/bson
gyp ERR! node -v v0.8.8
gyp ERR! node-gyp -v v0.6.10
gyp ERR! not ok
gmake: *** [node_gyp] Error 1
child process exited with code 2
[ws v0.4.23] Native extension compilation successful!
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/tmp/tmp-5720u2dtskw/build/package/npm-debug.log
npm ERR! not ok code 0
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
help: email: <support@nodejitsu.com>
help:
help: Copy and paste this output to a gist (http://gist.github.com/)
info: Nodejitsu not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment