Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610908 - www-client/chromium depends on nodejs.
Summary: www-client/chromium depends on nodejs.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
: 610910 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-25 19:20 UTC by Rok Kralj
Modified: 2017-04-23 19:56 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rok Kralj 2017-02-25 19:20:27 UTC
Nodejs and chromium both contain the V8 javascript engine (or at least some javascript engine). Add two versions of gjs for people that run gnome and we have 4 javascript engines installed on a single machine.

This means two javascript engines for one browser. I think that dependency on nodejs is unjustified and could be done without.
Comment 1 Rok Kralj 2017-02-25 19:22:08 UTC
*** Bug 610910 has been marked as a duplicate of this bug. ***
Comment 2 Mike Gilbert gentoo-dev 2017-02-25 22:54:48 UTC
In theory, all of the packages could share one copy of V8, but the developers offer no API stability, and don't really support it as a shared library.

Anyway, chromium needs nodejs to build; that's not magically going to change.
Comment 3 Rok Kralj 2017-02-26 12:05:29 UTC
Do we know what exactly is requiring this sudden dependency change with chromium 58 and put it behind a use flag?

Doubling chromium compile time seems absurd.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2017-02-26 15:07:24 UTC
(In reply to Rok Kralj from comment #3)
> Do we know what exactly is requiring this sudden dependency change with
> chromium 58 and put it behind a use flag?

See https://groups.google.com/a/chromium.org/d/msg/chromium-dev/H2IqgqwdUqs/4yOxBWIJDQAJ for some context. Without it the build fails, so it's not an optional dependency.

> Doubling chromium compile time seems absurd.

Do you have data do back what seems an exaggeration? These are build time results for me, as returned by qlop -t -H :

chromium: 33 minutes, 41 seconds for 137 merges
nodejs: 2 minutes, 5 seconds for 2 merges

Also note it's not obvious what could we do at Gentoo side. Build time concerns could be valid, but they may be better directed upstream.
Comment 5 Dylan Carlson 2017-04-23 19:56:17 UTC
Just adding to this bug -- this new nodejs rdep is a showstopper for people who run libressl.  Since the nodejs people are apparently uninterested in addressing libressl with or without outside contributions, I don't expect this to be fixed in nodejs anytime soon.