Gentoo Archives: gentoo-user

From: Damo Brisbane <dhatchett2@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] electron and sslv3
Date: Mon, 04 Sep 2017 06:23:58
Message-Id: CAE5cDqP2nDWU9F0iO7gWuZL6KV9sgjJ1zb6M49f5KuNiwHP-Ng@mail.gmail.com
In Reply to: Re: [gentoo-user] electron and sslv3 by Adam Carter
1 Emerge -pv openssl:
2
3 [ebuild R ] dev-libs/openssl-1.0.2l::gentoo USE="asm sslv3
4 tls-heartbeat zlib -bindist -gmp -kerberos -rfc3779 -sctp -sslv2
5 -static-libs {-test} -vanilla"...
6
7 I figured ssl better off without it; I think the issue with this package is
8 it builds it's own version of chromium as part of the emerge, and I think
9 this is where the ssl dependency comes in. Right though, I think package
10 maintainer is where I need to head to next.
11
12 Thanks
13
14 On Sat, Sep 2, 2017 at 11:40 AM, Adam Carter <adamcarter3@×××××.com> wrote:
15
16 > On Sat, Sep 2, 2017 at 6:26 AM, Damo Brisbane <dhatchett2@×××××.com>
17 > wrote:
18 >
19 >> Hello,
20 >>
21 >> I am having troubles installing dev-util/electron, related to linking in
22 >> "ssl3" in the final step of the ebuild, from build log:
23 >>
24 >> /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
25 >> cannot find -lssl3
26 >>
27 >>
28 >> FYI on ssl, I only want a "working/current" ssl and/or tls installation
29 >> and I don't care for the details around the installation other than I would
30 >> like - as much as possible - "ssl" to be future proof and compatible with
31 >> current and new installs; in this case I just want electron, and I can't
32 >> install the package because of this linking error. I can successfully build
33 >> by hacking the final link step and simply remove the reference to "-lssl",
34 >> below:
35 >>
36 >>
37 >> > cd $PORTAGE_TMPDIR/dev-util/electron-1.3.13-r1/work/chromium-
38 >> 52.0.2743.82/out/R
39 >> > x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--a ....obj/atom/app/electron.atom_main.o obj/libelectron_lib.a
40 >> o... lib/libnode.so lib/libv8.so -lz -lhttp_parser -lssl -lcrypto -
41 >>
42 >>
43 >> and compiles fine.
44 >>
45 >> There are no "ssl" use flags on electron?:
46 >>
47 >
48 > My first guess would be that your openssl is not compiled with sslv3. The
49 > ebuild for electron only asks for >=dev-libs/openssl-1.0.2g:0=[-bindist]
50 > not openssl[sslv3]. If that's the problem then there's a bug in electrons
51 > ebuild.
52 >
53 > What does emerge -pv openssl show for use flags?
54 >
55 > However, ssl is pretty much deprecated these days due to security issues,
56 > so unless you have a need to support something that cant do TLS, you're
57 > better off leaving it out. Another issue may be that -lssl may be a loose
58 > term for SSL+TLS...
59 >

Replies

Subject Author
Re: [gentoo-user] electron and sslv3 Damo Brisbane <dhatchett2@×××××.com>