Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609006 - www-client/elinks-0.12_pre6-r2 : socket.c:70:25: error: ‘SSL {aka struct ssl_st}’ has no member named ‘options’
Summary: www-client/elinks-0.12_pre6-r2 : socket.c:70:25: error: ‘SSL {aka struct ssl_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 610698 (view as bug list)
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2017-02-11 21:32 UTC by Toralf Förster
Modified: 2017-10-22 16:55 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.33 KB, text/plain)
2017-02-11 21:32 UTC, Toralf Förster
Details
config.log (config.log,161.39 KB, text/plain)
2017-02-11 21:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,78.69 KB, text/plain)
2017-02-11 21:32 UTC, Toralf Förster
Details
environment (environment,115.00 KB, text/plain)
2017-02-11 21:32 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.93 KB, application/x-bzip)
2017-02-11 21:32 UTC, Toralf Förster
Details
www-client:elinks-0.12_pre6-r2:20170211-212051.log.bz2 (www-client:elinks-0.12_pre6-r2:20170211-212051.log.bz2,161.80 KB, application/x-bzip)
2017-02-11 21:32 UTC, Toralf Förster
Details
The OpenBSD patch for this issue (elinks-0.12_pre6-ssl_socket.patch,495 bytes, patch)
2017-02-16 02:00 UTC, Conway S. Smith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-02-11 21:32:37 UTC
This is an unstable amd64 chroot image (named 13.0-systemd-libressl-unstable-abi32+64_20170210-142202) at a hardened host acting as a tinderbox.
  -----------------------------------------------------------------

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../../.. -I../../.././src  -I/usr/include -I/usr/include -O2 -pipe -march=native -Wall -Wall -Wno-address -fno-strict-overflow -o socket.o -c socket.c 
socket.c: In function ‘ssl_set_no_tls’:
socket.c:70:25: error: ‘SSL {aka struct ssl_st}’ has no member named ‘options’
  ((ssl_t *) socket->ssl)->options |= SSL_OP_NO_TLSv1;
                         ^
In file included from socket.c:19:0:

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config --version:
3.9.1

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)

java-config:
Comment 1 Toralf Förster gentoo-dev 2017-02-11 21:32:40 UTC
Created attachment 463354 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-11 21:32:44 UTC
Created attachment 463356 [details]
config.log
Comment 3 Toralf Förster gentoo-dev 2017-02-11 21:32:47 UTC
Created attachment 463358 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-02-11 21:32:49 UTC
Created attachment 463360 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-02-11 21:32:53 UTC
Created attachment 463362 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-02-11 21:32:56 UTC
Created attachment 463364 [details]
www-client:elinks-0.12_pre6-r2:20170211-212051.log.bz2
Comment 7 Conway S. Smith 2017-02-16 01:58:01 UTC
OpenBSD has a patch for this at http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/www/elinks/patches/patch-src_network_ssl_socket_c?rev=1.1&content-type=text/x-cvsweb-markup

I've confirmed that patch Works For Me.
Comment 8 Conway S. Smith 2017-02-16 02:00:43 UTC
Created attachment 463900 [details, diff]
The OpenBSD patch for this issue
Comment 9 Pacho Ramos gentoo-dev 2017-10-14 07:00:35 UTC
*** Bug 610698 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2017-10-22 16:55:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f93ee632f0a851deddaa347bc933278a48f7f8d

commit 9f93ee632f0a851deddaa347bc933278a48f7f8d
Author:     Felix Janda <felix.janda@posteo.de>
AuthorDate: 2017-10-14 13:43:32 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2017-10-22 16:55:09 +0000

    www-client/elinks-0.12_pre6-r2: fix compilation with libressl.
    
    Closes: https://bugs.gentoo.org/584766
    Closes: https://bugs.gentoo.org/609006

 www-client/elinks/elinks-0.12_pre6-r2.ebuild       |  2 ++
 .../elinks/files/elinks-0.12_pre5-libressl.patch   | 29 ++++++++++++++++++++++
 .../elinks/files/elinks-0.12_pre5-rand-egd.patch   | 20 +++++++++++++++
 3 files changed, 51 insertions(+)