Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 455788

Summary: net-libs/nodejs-0.9.3-r1 fails to build against dev-lang/v8-3.16.11.1
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: [OLD] UnspecifiedAssignee: Patrick Lauer <patrick>
Status: RESOLVED WONTFIX    
Severity: normal CC: chromium, ckonstanski, cruzki123, mephinet, moschlar, proxy-maint, schamane
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log

Description Mike Gilbert gentoo-dev 2013-02-06 04:19:22 UTC
Created attachment 338062 [details]
Build log

Looks like the API changed in a non-compatible way.

It also broke older versions of chromium; I'm just going to adjust the dependencies there.
Comment 1 Mike Gilbert gentoo-dev 2013-02-06 04:26:37 UTC
From the ChangeLog:

2013-01-15: Version 3.16.5

        Removed deprecated functions from V8's external API.
Comment 2 Johan Bergström 2013-02-07 00:38:16 UTC
This is known upstream (nodejs). They decided to go with 3.15.xx, and we should explicitly link against it. Let me know if you insist on me finding that commit/discussion.
Comment 3 Johan Bergström 2013-02-07 00:40:02 UTC
And for what it's worth, the same issue is discussed here for node 0.8: https://bugs.gentoo.org/show_bug.cgi?id=453654
Comment 4 Wagner Souza 2013-02-12 13:36:07 UTC
The nodejs-0.9.9 requires v8:0/3.15.11. It works here ;-)
Comment 5 Moritz Schlarb 2013-02-12 16:34:17 UTC
net-libs/nodejs-0.9.9 doesn't compile with dev-lang/v8-3.14.5.3 on x86, indeed.
Comment 6 Mike Gilbert gentoo-dev 2013-02-12 17:08:50 UTC
It is almost a certainty the dev-lang/v8-3.15* will be removed from the tree in the next 6 months or so due to some security bug.

This bug is basically an advance notice that somebody is going to have to deal the nodejs/v8 situation before that point.
Comment 7 mephinet 2013-02-15 08:56:23 UTC
Upgrading v8 from 3.14.5.3 to 3.15.11.15 makes nodejs 0.9.9 builds again.
So wouldn't it be sufficient to add 
>=dev-lang/v8-3.15.11.15 to the net-libs/nodejs-0.9.9 ebuild?
Comment 8 Mike Gilbert gentoo-dev 2013-02-16 18:04:53 UTC
*** Bug 457862 has been marked as a duplicate of this bug. ***
Comment 9 Mike Gilbert gentoo-dev 2013-02-16 18:18:55 UTC
I adjusted the dependency to =dev-lang/v8-3.15*. I think this bug should stay open until we have a better solution.

+  16 Feb 2013; Mike Gilbert <floppym@gentoo.org> nodejs-0.9.3-r1.ebuild,
+  nodejs-0.9.9.ebuild:
+  nodejs-0.9 needs v8-3.15, bugs 457862 and 455788.
+
Comment 10 Johan Bergström 2013-03-07 01:03:01 UTC
We nowadays use the bundled v8, mainly because they went back to 3.14.x for 0.9.x (becoming 0.10 next week). Lets go with this for a while and see how upstream handles future upgrades. See https://github.com/joyent/node/issues/4489 for a possible discussion on this.
Comment 11 Johan Bergström 2013-04-09 00:15:48 UTC
0.9.x is now 0.10.x and we chose to use a in-tree v8. Closing.