Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585464 - dev-util/electron-0.36.12-r2: build error due to missing dependency on net-libs/nodejs[ssl]
Summary: dev-util/electron-0.36.12-r2: build error due to missing dependency on net-li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Elvis Pranskevichus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-09 13:15 UTC by Mikhail Krivtsov
Modified: 2016-06-12 22:11 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info.txt,5.28 KB, text/plain)
2016-06-11 10:18 UTC, Mikhail Krivtsov
Details
build.log (build.log,27.72 KB, text/plain)
2016-06-11 10:18 UTC, Mikhail Krivtsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Krivtsov 2016-06-09 13:15:37 UTC
dev-util/electron-0.36.12-r2 fails build complaining about 'openssl' support missing in 'nodejs':

> internal/util.js:90
>     throw new Error('Node.js is not compiled with openssl crypto support');

Changing
> net-libs/nodejs[npm]
in ebuild file to
> net-libs/nodejs[npm,ssl]
fixes it
Comment 1 Coacher 2016-06-10 09:59:24 UTC
Please attach the complete build.log and the output of `emerge --info'.
Comment 2 Mikhail Krivtsov 2016-06-11 10:18:20 UTC
Created attachment 437152 [details]
emerge --info
Comment 3 Mikhail Krivtsov 2016-06-11 10:18:54 UTC
Created attachment 437154 [details]
build.log
Comment 4 Patrice Clement gentoo-dev 2016-06-12 22:11:47 UTC
commit d0e3063815f3a4ae8ea583593f9d4eef3d53e460 (HEAD -> master, origin/master, origin/HEAD)
Author:     Elvis Pranskevichus <elvis@magic.io>
AuthorDate: Sun Jun 12 17:05:27 2016 -0400
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Sun Jun 12 21:41:49 2016 +0000

dev-util/electron: Build node executable, fix automagic cups dependency.

Electron and apps based on it cannot rely on system NodeJS
for compatibility reasons. Fix this by building and using
a nodejs executable based on bundled nodejs code.

Additionally, fix automagic dependency on libcups and remove dependency on
system nodejs

Gentoo-Bug: https://bugs.gentoo.org/585116
Gentoo-Bug: https://bugs.gentoo.org/585490
Gentoo-Bug: https://bugs.gentoo.org/585464

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1664
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

app-editors/atom/atom-1.7.4-r2.ebuild                         | 405 ----------------------------------------------------------
app-editors/atom/atom-1.7.4-r3.ebuild                         | 420 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
dev-util/electron/electron-0.36.12-r2.ebuild                  | 721 -------------------------------------------------------------------------------------------------------
dev-util/electron/electron-0.36.12-r3.ebuild                  | 722 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
dev-util/electron/files/brightray-gentoo-build-fixes-r1.patch |  37 +++++-
dev-util/electron/files/electron-gentoo-build-fixes.patch     | 127 +++++++++++++++++--
dev-util/electron/files/node-external-snapshots.patch         | 116 +++++++++++++++++
dev-util/electron/files/node-gentoo-build-fixes.patch         |  95 +++++++++++---
8 files changed, 1478 insertions(+), 1165 deletions(-)
delete mode 100644 app-editors/atom/atom-1.7.4-r2.ebuild
create mode 100644 app-editors/atom/atom-1.7.4-r3.ebuild
delete mode 100644 dev-util/electron/electron-0.36.12-r2.ebuild
create mode 100644 dev-util/electron/electron-0.36.12-r3.ebuild
create mode 100644 dev-util/electron/files/node-external-snapshots.patch