mozilla/browserid — Issue #746: Linux: npm install fails after gpm-devel install
Author: jbonacci
Created: 2011-12-13 02:57:33+00:00
State: open

From the Linux world,

I installed gpm-devel then followed the normal steps, I am seeing the following trying to install BrowserID and run "npm install"

$ npm install
npm WARN node-statsd@0.0.2 package.json: bugs['web'] should probably be bugs['url']

> bcrypt@0.4.1 install /home/mozroot/browserid/node_modules/bcrypt
> make build

rm -f bcrypt_lib.node
rm -Rf build
node-waf configure
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for program gcc or cc : /usr/bin/gcc
Checking for gcc : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
Checking for function RAND_bytes : yes
'configure' finished successfully (0.147s)
node-waf build
Waf: Entering directory `/home/mozroot/browserid/node_modules/bcrypt/build'
[1/4] cxx: src/blowfish.cc -> build/Release/src/blowfish_1.o
[2/4] cxx: src/bcrypt.cc -> build/Release/src/bcrypt_1.o
[3/4] cxx: src/bcrypt_node.cc -> build/Release/src/bcrypt_node_1.o

> bigint@0.3.7 install /home/mozroot/browserid/node_modules/jwcrypto/node_modules/bigint
> node-waf configure build

[4/4] cxx_link: build/Release/src/blowfish_1.o build/Release/src/bcrypt_1.o build/Release/src/bcrypt_node_1.o -> build/Release/bcrypt_lib.node
Waf: Leaving directory `/home/mozroot/browserid/node_modules/bcrypt/build'
'build' finished successfully (1.427s)
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
'configure' finished successfully (0.038s)
Waf: Entering directory `/home/mozroot/browserid/node_modules/jwcrypto/node_modules/bigint/build'
[1/2] cxx: bigint.cc -> build/Release/bigint_1.o
[2/2] cxx_link: build/Release/bigint_1.o -> build/Release/bigint.node
Waf: Leaving directory `/home/mozroot/browserid/node_modules/jwcrypto/node_modules/bigint/build'
'build' finished successfully (0.702s)
npm ERR! Failed unpacking /home/mozroot/.npm/stack-trace/0.0.6/package.tgz
npm ERR! error installing stack-trace@0.0.6 Error: `tar "-zmvxpf" "/home/mozroot/.npm/stack-trace/0.0.6/package.tgz"`
npm ERR! error installing stack-trace@0.0.6 failed with 2
npm ERR! error installing stack-trace@0.0.6 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/tar.js:217:20)
npm ERR! error installing stack-trace@0.0.6 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing stack-trace@0.0.6 at maybeExit (child_process.js:359:16)
npm ERR! error installing stack-trace@0.0.6 at Socket. (child_process.js:464:7)
npm ERR! error installing stack-trace@0.0.6 at Socket.emit (events.js:67:17)
npm ERR! error installing stack-trace@0.0.6 at Array.0 (net.js:300:10)
npm ERR! error installing stack-trace@0.0.6 at EventEmitter._tickCallback (node.js:192:40)
npm ERR! error installing winston@0.5.6 Error: `tar "-zmvxpf" "/home/mozroot/.npm/stack-trace/0.0.6/package.tgz"`
npm ERR! error installing winston@0.5.6 failed with 2
npm ERR! error installing winston@0.5.6 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/tar.js:217:20)
npm ERR! error installing winston@0.5.6 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing winston@0.5.6 at maybeExit (child_process.js:359:16)
npm ERR! error installing winston@0.5.6 at Socket. (child_process.js:464:7)
npm ERR! error installing winston@0.5.6 at Socket.emit (events.js:67:17)
npm ERR! error installing winston@0.5.6 at Array.0 (net.js:300:10)
npm ERR! error installing winston@0.5.6 at EventEmitter._tickCallback (node.js:192:40)
npm ERR! Error: `tar "-zmvxpf" "/home/mozroot/.npm/stack-trace/0.0.6/package.tgz"`
npm ERR! failed with 2
npm ERR! at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/tar.js:217:20)
npm ERR! at ChildProcess.emit (events.js:70:17)
npm ERR! at maybeExit (child_process.js:359:16)
npm ERR! at Socket. (child_process.js:464:7)
npm ERR! at Socket.emit (events.js:67:17)
npm ERR! at Array.0 (net.js:300:10)
npm ERR! at EventEmitter._tickCallback (node.js:192:40)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.32-71.29.1.el6.x86_64
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/mozroot/browserid
npm ERR! node -v v0.6.3
npm ERR! npm -v 1.0.106
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/mozroot/browserid/npm-debug.log
npm not ok