[Bug 802206] New: [patch] devel:languages:nodejs/nodejs: mixed v8 headers/libs causes symbol errors and failure to run node apps
https://bugzilla.novell.com/show_bug.cgi?id=802206 https://bugzilla.novell.com/show_bug.cgi?id=802206#c0 Summary: [patch] devel:languages:nodejs/nodejs: mixed v8 headers/libs causes symbol errors and failure to run node apps Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: All OS/Version: Other 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: Community User Blocker: --- Dependencies installed via 'npm install' get built with the v8 headers bundled with the node tarball (the default node-gyp behavior) but linked against the libv8 installed from this repo (since nodejs is built with shared-v8). This causes failure to run due to symbol errors, e.g.: ---- node: symbol lookup error: /home/ADaugherity/ec/node_modules/ExportControls/node_modules/ldapjs/node_modules/buffertools/build/Release/buffertools.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPFNS_6HandleINS_5ValueEEERKNS_9ArgumentsEES3_NS1_INS_9SignatureEEE ---- I fixed this by copying a patch from Fedora which patches node-gyp to use the system v8 headers instead of those in the node tarball, and also remove the tarball v8 headers during build so they don't get installed under /usr/include/node. I opened a request via the build service last week but it is still in NEW state and I have not received any feedback on it. https://build.opensuse.org/request/show/150650 This is my first time using osc to branch, submit requests, etc., so if I need to do things differently, please let me know. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802206
https://bugzilla.novell.com/show_bug.cgi?id=802206#c1
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=802206
https://bugzilla.novell.com/show_bug.cgi?id=802206#c2
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=802206
https://bugzilla.novell.com/show_bug.cgi?id=802206#c3
--- Comment #3 from Jordi Massaguer
https://bugzilla.novell.com/show_bug.cgi?id=802206
https://bugzilla.novell.com/show_bug.cgi?id=802206#c4
--- Comment #4 from Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=802206
https://bugzilla.novell.com/show_bug.cgi?id=802206#c5
Jordi Massaguer
https://bugzilla.novell.com/show_bug.cgi?id=802206
https://bugzilla.novell.com/show_bug.cgi?id=802206#c6
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=802206
https://bugzilla.novell.com/show_bug.cgi?id=802206#c7
Jordi Massaguer
https://bugzilla.novell.com/show_bug.cgi?id=802206
https://bugzilla.novell.com/show_bug.cgi?id=802206#c8
--- Comment #8 from Andrew Daugherity
https://bugzilla.novell.com/show_bug.cgi?id=802206
https://bugzilla.novell.com/show_bug.cgi?id=802206#c9
--- Comment #9 from Christian Boltz
If we're including 12.2 in this, then #805253 is definitely a dup of this. I don't know what the policy is on updates for distro packages but Node.JS 0.6 is essentially obsolete at this point and 0.8 is now legacy.
The general rule of thumb is that version updates are OK if a) backporting the fixes is too hard or impossible and b) the version update doesn't break something else. If in doubt, ask maintenance@opensuse.org ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802206
https://bugzilla.novell.com/show_bug.cgi?id=802206#c10
--- Comment #10 from Jordi Massaguer
https://bugzilla.novell.com/show_bug.cgi?id=802206
https://bugzilla.novell.com/show_bug.cgi?id=802206#c11
Jordi Massaguer
participants (1)
-
bugzilla_noreply@novell.com