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

Bug 697684

Summary: =net-libs/nodejs-8.16.2 should not depend on =dev-libs/openssl-1.0.2*:0=
Product: Gentoo Linux Reporter: Tomáš Mózes <hydrapolic>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tomáš Mózes 2019-10-14 06:00:39 UTC
During a routine $(emerge -uDNva1 @world) portage wants to downgrade nodejs to 8.12.0 because it doesn't require openssl-1.0.2 as 8.16.2 does. Version 8.16.2 builds fine with openssl 1.1.1.d-r2.

# diff nodejs-8.12.0.ebuild nodejs-8.16.2.ebuild 
<       ssl? ( >=dev-libs/openssl-1.0.2n:0=[-bindist] )
---
>       ssl? ( =dev-libs/openssl-1.0.2*:0=[-bindist] )
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-10-14 06:07:52 UTC
(In reply to Tomáš Mózes from comment #0)
> During a routine $(emerge -uDNva1 @world) portage wants to downgrade nodejs
> to 8.12.0 because it doesn't require openssl-1.0.2 as 8.16.2 does. Version
> 8.16.2 builds fine with openssl 1.1.1.d-r2.

It builds fine but it causes problems at run time. How do you intend to fix those?
Comment 2 Tomáš Mózes 2019-10-14 08:14:01 UTC
According to the changelog (https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#8.12.0), both 1.0.2 and 1.1.0 are supported, while 1.1.0 is compatible with 1.1.1.
Comment 3 Tomáš Mózes 2019-10-14 08:14:56 UTC
Sorry, in this version: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#8.10.0

crypto:
    Support both OpenSSL 1.1.0 and 1.0.2 (David Benjamin) #16130
Comment 4 Tomáš Mózes 2019-10-28 07:49:07 UTC
Version 8.x is eol soon, so let's focus on 10.x instead.