[Bug 784736] New: devel:languages:nodejs: Please update libv8 -- npm is broken with the current version
https://bugzilla.novell.com/show_bug.cgi?id=784736
https://bugzilla.novell.com/show_bug.cgi?id=784736#c0
Summary: devel:languages:nodejs: Please update libv8 -- npm is
broken with the current version
Classification: openSUSE
Product: openSUSE.org
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: Major
Priority: P5 - None
Component: 3rd party software
AssignedTo: opensuse-communityscreening@forge.provo.novell.com
ReportedBy: adaugherity@tamu.edu
QAContact: opensuse-communityscreening@forge.provo.novell.com
Found By: ---
Blocker: ---
After adding the devel:languages:nodejs repo and installing nodejs, node itself
runs fine but npm install fails. The problem is with v8 rather than nodejs
itself, as I tested building the latest nodejs upstream tarball from source,
and that works properly with a default configure/make/make install, but also
fails when configured with --shared-v8 and linked against the libv8 from this
repo.
I upgrade the libv8 package to 3.14.1, and now everything works fine. (3.14.2
has since been released, and also works properly.) As they don't release
tarballs, I did a git checkout of v8 and then ran 'svn co
http://gyp.googlecode.com/svn/trunk build/gyp' as directed by build/README.txt,
made a tarball of this and built it with your v8.spec. My tar.lzma is much
bigger (57MB vs. 8.5), so perhaps some parts can be left out.
Also, I had to disable the ARM hardfloat patch, as it no longer applies
cleanly, and appears to have been integrated in a slightly modified form.
Aside from that my only modification to v8.spec was the version number.
npm failure / success after upgrade log:
====
ADaugherity@node-dev:~/dorproto> npm install
git://github.com/mattvoss/dorproto.git
npm WARN package.json application-name@0.0.1 No README.md file found!
npm ERR! tar pack Error reading
/home/ADaugherity/tmp/npm-26506/1349976932511-0.6619394416920841
npm ERR! addLocalDirectory Could not pack
"/home/ADaugherity/tmp/npm-26506/1349976932511-0.6619394416920841" to
"/home/ADaugherity/tmp/npm-26506/1349976934732-0.9297234141267836/tmp.tgz"
npm ERR! Error: Didn't get expected byte count
npm ERR! expect: 1147317
npm ERR! actual: 598016
npm ERR! at decorate
(/usr/lib64/node_modules/npm/node_modules/fstream/lib/abstract.js:67:36)
npm ERR! at FileReader.Abstract.error
(/usr/lib64/node_modules/npm/node_modules/fstream/lib/abstract.js:61:12)
npm ERR! at null.<anonymous>
(/usr/lib64/node_modules/npm/node_modules/fstream/lib/file-reader.js:66:10)
npm ERR! at EventEmitter.emit (events.js:85:17)
npm ERR! at afterRead (fs.js:1324:12)
npm ERR! at Object.wrapper [as oncomplete] (fs.js:362:17)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR!
https://bugzilla.novell.com/show_bug.cgi?id=784736
https://bugzilla.novell.com/show_bug.cgi?id=784736#c1
--- Comment #1 from Andrew Daugherity
https://bugzilla.novell.com/show_bug.cgi?id=784736
https://bugzilla.novell.com/show_bug.cgi?id=784736#c2
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=784736
https://bugzilla.novell.com/show_bug.cgi?id=784736#c3
--- Comment #3 from Marcus Rückert
https://bugzilla.novell.com/show_bug.cgi?id=784736
https://bugzilla.novell.com/show_bug.cgi?id=784736#c4
Marcus Rückert
https://bugzilla.novell.com/show_bug.cgi?id=784736
https://bugzilla.novell.com/show_bug.cgi?id=784736#c5
Andrew Daugherity
https://bugzilla.novell.com/show_bug.cgi?id=784736
https://bugzilla.novell.com/show_bug.cgi?id=784736#c6
Raymond Wooninck
https://bugzilla.novell.com/show_bug.cgi?id=784736
https://bugzilla.novell.com/show_bug.cgi?id=784736#c7
Marcus Rückert
participants (1)
-
bugzilla_noreply@novell.com