Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455788 - net-libs/nodejs-0.9.3-r1 fails to build against dev-lang/v8-3.16.11.1
Summary: net-libs/nodejs-0.9.3-r1 fails to build against dev-lang/v8-3.16.11.1
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-06 04:19 UTC by Mike Gilbert
Modified: 2016-05-21 12:37 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (net-libs:nodejs-0.9.3-r1:20130206-041430.log,88.33 KB, text/plain)
2013-02-06 04:19 UTC, Mike Gilbert
Details

Note You need to log in before you can comment on or make changes to this bug.
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.