xmppo / node-stringprep

ICU StringPrep profiles for NodeJS
https://github.com/xmppo/node-stringprep
MIT License
38 stars 24 forks source link

Unable to install on fedora 15 #9

Closed Intrepidd closed 11 years ago

Intrepidd commented 13 years ago

Here is my npm-debug.log

info it worked if it ends with ok
verbose cli [ 'node', '/usr/bin/npm', 'install', 'node-stringprep' ]
info using npm@1.0.99
info using node@v0.4.12
verbose config file /home/adrien/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/lib/node_modules/npm/npmrc
silly testEngine { name: 'node-xmpp',
silly testEngine   version: '0.2.11',
silly testEngine   main: './lib/node-xmpp',
silly testEngine   description: 'Idiomatic XMPP client, component & server library for node.js',
silly testEngine   author: { name: 'Stephan Maka' },
silly testEngine   dependencies: { 'node-expat': '>=1.3.1', ltx: '>= 0.0.4' },
silly testEngine   repositories: 
silly testEngine    [ { type: 'git',
silly testEngine        path: 'git://github.com/astro/node-xmpp.git' } ],
silly testEngine   homepage: 'http://github.com/astro/node-xmpp',
silly testEngine   bugs: { name: 'http://github.com/astro/node-xmpp/issues' },
silly testEngine   maintainers: 
silly testEngine    [ { name: 'Astro',
silly testEngine        email: 'astro@spaceboyz.net',
silly testEngine        url: 'http://spaceboyz.net/~astro/' } ],
silly testEngine   contributors: 
silly testEngine    [ { name: 'Stephan Maka' },
silly testEngine      { name: 'Derek Hammer' },
silly testEngine      { name: 'Daniel Zelisko' },
silly testEngine      { name: 'Michael Geers' },
silly testEngine      { name: 'Nolan Darilek' },
silly testEngine      { name: 'Nathan Rajlich' },
silly testEngine      { name: 'Dhruv Matani' },
silly testEngine      { name: 'Camilo Aguilar' },
silly testEngine      { name: 'Henry Chan' },
silly testEngine      { name: 'Justin Campbell' },
silly testEngine      { name: 'Trent Mick' },
silly testEngine      { name: 'Alexey Shamrin' },
silly testEngine      { name: 'Sonny Piers' },
silly testEngine      { name: 'Chaitanya Gupta' },
silly testEngine      { name: 'Иван' } ],
silly testEngine   licenses: [ { type: 'GPLv3' } ],
silly testEngine   engine: 'node >=0.4.0',
silly testEngine   _id: 'node-xmpp@0.2.11',
silly testEngine   devDependencies: {},
silly testEngine   engines: { node: '*' },
silly testEngine   _engineSupported: true,
silly testEngine   _npmVersion: '1.0.99',
silly testEngine   _nodeVersion: 'v0.4.12',
silly testEngine   _defaultsLoaded: true }
verbose caching /tmp/node-xmpp/package.json
verbose loadDefaults node-xmpp@0.2.11
silly testEngine { name: 'ltx',
silly testEngine   version: '0.0.5',
silly testEngine   main: './lib/index',
silly testEngine   description: '<xml for="node.js">',
silly testEngine   author: { name: 'Stephan Maka' },
silly testEngine   dependencies: { 'node-expat': '>=1.2.0' },
silly testEngine   repositories: 
silly testEngine    [ { type: 'git',
silly testEngine        path: 'http://github.com/astro/ltx.git' } ],
silly testEngine   homepage: 'http://github.com/astro/ltx',
silly testEngine   bugs: { name: 'http://github.com/astro/ltx/issues' },
silly testEngine   maintainers: 
silly testEngine    [ { name: 'Astro',
silly testEngine        email: 'astro@spaceboyz.net',
silly testEngine        url: 'http://spaceboyz.net/~astro/' } ],
silly testEngine   contributors: [ { name: 'Stephan Maka' } ],
silly testEngine   licenses: [ { type: 'GPLv3' } ],
silly testEngine   engine: 'node',
silly testEngine   _id: 'ltx@0.0.5',
silly testEngine   devDependencies: {},
silly testEngine   engines: { node: '*' },
silly testEngine   _engineSupported: true,
silly testEngine   _npmVersion: '1.0.99',
silly testEngine   _nodeVersion: 'v0.4.12',
silly testEngine   _defaultsLoaded: true }
verbose caching /tmp/node-xmpp/node_modules/ltx/package.json
verbose loadDefaults ltx@0.0.5
verbose has wscript [ undefined,
verbose has wscript   { file: '/tmp/node-xmpp/node_modules/node-expat/package.json',
verbose has wscript     contributors: false,
verbose has wscript     serverjs: false,
verbose has wscript     wscript: true } ]
silly testEngine { name: 'node-expat',
silly testEngine   version: '1.4.0',
silly testEngine   main: './lib/node-expat',
silly testEngine   description: 'NodeJS binding for fast XML parsing.',
silly testEngine   scripts: 
silly testEngine    { install: 'node-waf configure build',
silly testEngine      update: 'node-waf build',
silly testEngine      test: 'node test.js' },
silly testEngine   dependencies: {},
silly testEngine   devDependencies: { vows: '' },
silly testEngine   repositories: 
silly testEngine    [ { type: 'git',
silly testEngine        path: 'git://github.com/astro/node-expat.git' } ],
silly testEngine   homepage: 'http://github.com/astro/node-expat',
silly testEngine   bugs: { name: 'http://github.com/astro/node-expat/issues' },
silly testEngine   maintainers: 
silly testEngine    [ { name: 'Astro',
silly testEngine        email: 'astro@spaceboyz.net',
silly testEngine        url: 'http://spaceboyz.net/~astro/' } ],
silly testEngine   contributors: 
silly testEngine    [ { name: 'Stephan Maka' },
silly testEngine      { name: 'Derek Hammer' },
silly testEngine      { name: 'Iein Valdez' },
silly testEngine      { name: 'Peter Körner' },
silly testEngine      { name: 'Camilo Aguilar' } ],
silly testEngine   licenses: [ { type: 'MIT' } ],
silly testEngine   engine: 'node',
silly testEngine   _id: 'node-expat@1.4.0',
silly testEngine   engines: { node: '*' },
silly testEngine   _engineSupported: true,
silly testEngine   _npmVersion: '1.0.99',
silly testEngine   _nodeVersion: 'v0.4.12',
silly testEngine   _defaultsLoaded: true }
verbose caching /tmp/node-xmpp/node_modules/node-expat/package.json
verbose loadDefaults node-expat@1.4.0
verbose from cache /tmp/node-xmpp/package.json
verbose into /tmp/node-xmpp [ 'node-stringprep' ]
verbose cache add node-stringprep
verbose cache add [ 'node-stringprep', null ]
silly cache add: name, spec, args [ undefined,
silly cache add: name, spec, args   'node-stringprep',
silly cache add: name, spec, args   [ 'node-stringprep', null ] ]
verbose parsed url { pathname: 'node-stringprep',
verbose parsed url   href: 'node-stringprep' }
info addNamed [ 'node-stringprep', '' ]
verbose addNamed [ null, '' ]
verbose GET node-stringprep
verbose raw, before any munging node-stringprep
verbose url resolving [ 'https://registry.npmjs.org/', './node-stringprep' ]
verbose url resolved https://registry.npmjs.org/node-stringprep
verbose etag "DRQ2GELG442QYVF64D9175EJU"
silly get cb [ 304,
silly get cb   { server: 'CouchDB/1.1.0 (Erlang OTP/R14B03)',
silly get cb     etag: '"DRQ2GELG442QYVF64D9175EJU"',
silly get cb     date: 'Sun, 16 Oct 2011 18:00:22 GMT',
silly get cb     'content-length': '0' } ]
verbose etag node-stringprep from cache
verbose GET node-stringprep/0.0.5
verbose raw, before any munging node-stringprep/0.0.5
verbose url resolving [ 'https://registry.npmjs.org/',
verbose url resolving   './node-stringprep/0.0.5' ]
verbose url resolved https://registry.npmjs.org/node-stringprep/0.0.5
verbose etag "DRQ2GELG442QYVF64D9175EJU"
silly get cb [ 304,
silly get cb   { server: 'CouchDB/1.1.0 (Erlang OTP/R14B03)',
silly get cb     etag: '"DRQ2GELG442QYVF64D9175EJU"',
silly get cb     date: 'Sun, 16 Oct 2011 18:00:23 GMT',
silly get cb     'content-length': '0' } ]
verbose etag node-stringprep/0.0.5 from cache
verbose bin dist [ '0.4-ares1.7.4-ev4.4-openssl1.0.0e-fips-v83.1.8.26-linux-2.6.40.6-0.fc15.x86_64',
verbose bin dist   { shasum: '09f2bb008d16120f003a4ad0770c66fdfc4471ca',
verbose bin dist     bin: 
verbose bin dist      { '0.4-ares1.7.4-ev4.4-openssl1.0.0d-v83.1.8.10-linux-2.6.39.1': 
verbose bin dist         { shasum: '0b196bef6e269ff32b8be22587f072c172d7f745',
verbose bin dist           tarball: 'http://registry.npmjs.org/node-stringprep/-/node-stringprep-0.0.5-0.4-ares1.7.4-ev4.4-openssl1.0.0d-v83.1.8.10-linux-2.6.39.1.tgz' } },
verbose bin dist     tarball: 'http://registry.npmjs.org/node-stringprep/-/node-stringprep-0.0.5.tgz' } ]
verbose has wscript [ undefined,
verbose has wscript   { file: '/home/adrien/.npm/node-stringprep/0.0.5/package/package.json',
verbose has wscript     contributors: false,
verbose has wscript     serverjs: false,
verbose has wscript     wscript: true } ]
silly testEngine { name: 'node-stringprep',
silly testEngine   version: '0.0.5',
silly testEngine   main: './build/default/node-stringprep',
silly testEngine   description: 'ICU StringPrep profiles',
silly testEngine   scripts: { install: './install.sh' },
silly testEngine   dependencies: {},
silly testEngine   repositories: 
silly testEngine    [ { type: 'git',
silly testEngine        path: 'git://github.com/astro/node-stringprep.git' } ],
silly testEngine   homepage: 'http://github.com/astro/node-stringprep',
silly testEngine   bugs: { name: 'http://github.com/astro/node-stringprep/issues' },
silly testEngine   maintainers: 
silly testEngine    [ { name: 'Astro',
silly testEngine        email: 'astro@spaceboyz.net',
silly testEngine        url: 'http://spaceboyz.net/~astro/' } ],
silly testEngine   licenses: [ { type: 'MIT' } ],
silly testEngine   engine: 'node',
silly testEngine   _id: 'node-stringprep@0.0.5',
silly testEngine   devDependencies: {},
silly testEngine   engines: { node: '*' },
silly testEngine   _engineSupported: true,
silly testEngine   _npmVersion: '1.0.99',
silly testEngine   _nodeVersion: 'v0.4.12',
silly testEngine   _defaultsLoaded: true }
verbose caching /home/adrien/.npm/node-stringprep/0.0.5/package/package.json
verbose loadDefaults node-stringprep@0.0.5
silly resolved [ { name: 'node-stringprep',
silly resolved     version: '0.0.5',
silly resolved     main: './build/default/node-stringprep',
silly resolved     description: 'ICU StringPrep profiles',
silly resolved     scripts: { install: './install.sh' },
silly resolved     dependencies: {},
silly resolved     repositories: 
silly resolved      [ { type: 'git',
silly resolved          path: 'git://github.com/astro/node-stringprep.git' } ],
silly resolved     homepage: 'http://github.com/astro/node-stringprep',
silly resolved     bugs: { name: 'http://github.com/astro/node-stringprep/issues' },
silly resolved     maintainers: 
silly resolved      [ { name: 'Astro',
silly resolved          email: 'astro@spaceboyz.net',
silly resolved          url: 'http://spaceboyz.net/~astro/' } ],
silly resolved     licenses: [ { type: 'MIT' } ],
silly resolved     engine: 'node',
silly resolved     _id: 'node-stringprep@0.0.5',
silly resolved     devDependencies: {},
silly resolved     engines: { node: '*' },
silly resolved     _engineSupported: true,
silly resolved     _npmVersion: '1.0.99',
silly resolved     _nodeVersion: 'v0.4.12',
silly resolved     _defaultsLoaded: true } ]
info into /tmp/node-xmpp node-stringprep@0.0.5
info installOne node-stringprep@0.0.5
info unbuild /tmp/node-xmpp/node_modules/node-stringprep
verbose from cache /home/adrien/.npm/node-stringprep/0.0.5/package/package.json
verbose mkdir (expected) error ENOENT, No such file or directory '/tmp/node-xmpp/node_modules/___node-stringprep.npm'
verbose mkdir done: /tmp/node-xmpp/node_modules/___node-stringprep.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget /tmp/node-xmpp/node_modules/node-stringprep
silly gunzTarPerm modes [ '755', '644' ]
silly spawning [ 'tar',
silly spawning   [ '-zmvxpf',
silly spawning     '/home/adrien/.npm/node-stringprep/0.0.5/package.tgz',
silly spawning     '-o' ],
silly spawning   '/tmp/node-xmpp/node_modules/___node-stringprep.npm' ]
silly tar out package/package.json
silly tar out package/README.markdown
silly tar out package/wscript
silly tar out package/install.sh
silly tar out package/leakcheck.js
silly tar out package/node-stringprep.cc
silly tar out package/LICENSE
silly tar out package/.gitignore
silly asyncMap in gTP /tmp/node-xmpp/node_modules/___node-stringprep.npm/package
silly asyncMap in gTP /tmp/node-xmpp/node_modules/___node-stringprep.npm/package/package.json
silly asyncMap in gTP /tmp/node-xmpp/node_modules/___node-stringprep.npm/package/README.markdown
silly asyncMap in gTP /tmp/node-xmpp/node_modules/___node-stringprep.npm/package/wscript
silly asyncMap in gTP /tmp/node-xmpp/node_modules/___node-stringprep.npm/package/install.sh
silly asyncMap in gTP /tmp/node-xmpp/node_modules/___node-stringprep.npm/package/leakcheck.js
silly asyncMap in gTP /tmp/node-xmpp/node_modules/___node-stringprep.npm/package/node-stringprep.cc
silly asyncMap in gTP /tmp/node-xmpp/node_modules/___node-stringprep.npm/package/LICENSE
silly asyncMap in gTP /tmp/node-xmpp/node_modules/___node-stringprep.npm/package/.gitignore
silly chmod package 755
verbose gunzed /tmp/node-xmpp/node_modules/___node-stringprep.npm/package
verbose rm'ed /tmp/node-xmpp/node_modules/node-stringprep
verbose renamed [ '/tmp/node-xmpp/node_modules/___node-stringprep.npm/package',
verbose renamed   '/tmp/node-xmpp/node_modules/node-stringprep' ]
verbose has wscript [ undefined,
verbose has wscript   { file: '/tmp/node-xmpp/node_modules/node-stringprep/package.json',
verbose has wscript     contributors: false,
verbose has wscript     serverjs: false,
verbose has wscript     wscript: true } ]
silly testEngine { name: 'node-stringprep',
silly testEngine   version: '0.0.5',
silly testEngine   main: './build/default/node-stringprep',
silly testEngine   description: 'ICU StringPrep profiles',
silly testEngine   scripts: { install: './install.sh' },
silly testEngine   dependencies: {},
silly testEngine   repositories: 
silly testEngine    [ { type: 'git',
silly testEngine        path: 'git://github.com/astro/node-stringprep.git' } ],
silly testEngine   homepage: 'http://github.com/astro/node-stringprep',
silly testEngine   bugs: { name: 'http://github.com/astro/node-stringprep/issues' },
silly testEngine   maintainers: 
silly testEngine    [ { name: 'Astro',
silly testEngine        email: 'astro@spaceboyz.net',
silly testEngine        url: 'http://spaceboyz.net/~astro/' } ],
silly testEngine   licenses: [ { type: 'MIT' } ],
silly testEngine   engine: 'node',
silly testEngine   _id: 'node-stringprep@0.0.5',
silly testEngine   devDependencies: {},
silly testEngine   engines: { node: '*' },
silly testEngine   _engineSupported: true,
silly testEngine   _npmVersion: '1.0.99',
silly testEngine   _nodeVersion: 'v0.4.12',
silly testEngine   _defaultsLoaded: true }
verbose caching /tmp/node-xmpp/node_modules/node-stringprep/package.json
verbose loadDefaults node-stringprep@0.0.5
info preinstall node-stringprep@0.0.5
verbose from cache /tmp/node-xmpp/node_modules/node-stringprep/package.json
verbose into /tmp/node-xmpp/node_modules/node-stringprep []
silly resolved []
verbose about to build /tmp/node-xmpp/node_modules/node-stringprep
info build /tmp/node-xmpp/node_modules/node-stringprep
verbose from cache /tmp/node-xmpp/node_modules/node-stringprep/package.json
verbose linkStuff [ false, false, false, '/tmp/node-xmpp/node_modules' ]
info linkStuff node-stringprep@0.0.5
verbose linkBins node-stringprep@0.0.5
verbose linkMans node-stringprep@0.0.5
verbose rebuildBundles node-stringprep@0.0.5
info install node-stringprep@0.0.5
verbose unsafe-perm in lifecycle true
silly exec sh "-c" "./install.sh"
silly spawning [ 'sh',
silly spawning   [ '-c', './install.sh' ],
silly spawning   '/tmp/node-xmpp/node_modules/node-stringprep' ]
info node-stringprep@0.0.5 Failed to exec install script
ERR! error installing node-stringprep@0.0.5 Error: node-stringprep@0.0.5 install: `./install.sh`
ERR! error installing node-stringprep@0.0.5 `sh "-c" "./install.sh"` failed with 1
ERR! error installing node-stringprep@0.0.5     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/exec.js:49:20)
ERR! error installing node-stringprep@0.0.5     at ChildProcess.emit (events.js:67:17)
ERR! error installing node-stringprep@0.0.5     at ChildProcess.onexit (child_process.js:192:12)
info unbuild /tmp/node-xmpp/node_modules/node-stringprep
verbose from cache /tmp/node-xmpp/node_modules/node-stringprep/package.json
info preuninstall node-stringprep@0.0.5
info uninstall node-stringprep@0.0.5
verbose unbuild node-stringprep@0.0.5 [ false,
verbose unbuild node-stringprep@0.0.5   '/usr/local/lib/node_modules',
verbose unbuild node-stringprep@0.0.5   '/tmp/node-xmpp/node_modules' ]
info postuninstall node-stringprep@0.0.5
verbose installOne cb node-stringprep@0.0.5
ERR! node-stringprep@0.0.5 install: `./install.sh`
ERR! `sh "-c" "./install.sh"` failed with 1
ERR! 
ERR! Failed at the node-stringprep@0.0.5 install script.
ERR! This is most likely a problem with the node-stringprep package,
ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR!     ./install.sh
ERR! You can get their info via:
ERR!     npm owner ls node-stringprep
ERR! There is likely additional logging output above.
ERR! 
ERR! System Linux 2.6.40.6-0.fc15.x86_64
ERR! command "node" "/usr/bin/npm" "install" "node-stringprep"
ERR! cwd /tmp/node-xmpp/examples
ERR! node -v v0.4.12
ERR! npm -v 1.0.99
ERR! code ELIFECYCLE
verbose exit [ 1, true ]

Thanks.

astro commented 13 years ago

I don't see the error message. Can it find icu?

It should happen somewhere in between these lines:

silly exec sh "-c" "./install.sh"
silly spawning [ 'sh',
silly spawning   [ '-c', './install.sh' ],
silly spawning   '/tmp/node-xmpp/node_modules/node-stringprep' ]
info node-stringprep@0.0.5 Failed to exec install script
ERR! error installing node-stringprep@0.0.5 Error: node-stringprep@0.0.5 install: `./install.sh`
ERR! error installing node-stringprep@0.0.5 `sh "-c" "./install.sh"` failed with 1
ERR! error installing node-stringprep@0.0.5     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/exec.js:49:20)
ERR! error installing node-stringprep@0.0.5     at ChildProcess.emit (events.js:67:17)
ERR! error installing node-stringprep@0.0.5     at ChildProcess.onexit (child_process.js:192:12)
lloydwatkin commented 11 years ago

Closing due to inactivity. If issue still exists please open a new issue.