Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656420 - net-misc/stunnel-5.45 : ctx.c:(.text+<snip>): undefined reference to SSL_SESSION_up_ref
Summary: net-misc/stunnel-5.45 : ctx.c:(.text+<snip>): undefined reference to SSL_SESS...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: libressl-2.8.0
  Show dependency tree
 
Reported: 2018-05-24 17:09 UTC by Toralf Förster
Modified: 2019-02-27 13:20 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.91 KB, text/plain)
2018-05-24 17:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,399.39 KB, text/plain)
2018-05-24 17:09 UTC, Toralf Förster
Details
environment (environment,70.64 KB, text/plain)
2018-05-24 17:09 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,47.03 KB, application/x-bzip)
2018-05-24 17:09 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,12.75 KB, application/x-bzip)
2018-05-24 17:09 UTC, Toralf Förster
Details
net-misc:stunnel-5.45:20180523-233332.log (net-misc:stunnel-5.45:20180523-233332.log,30.70 KB, text/plain)
2018-05-24 17:09 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.24 KB, application/x-bzip)
2018-05-24 17:09 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-05-24 17:09:22 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -fPIE -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,noexecstack -o stunnel stunnel-tls.o stunnel-str.o stunnel-file.o stunnel-client.o stunnel-log.o stunnel-options.o stunnel-protocol.o stunnel-network.o stunnel-resolver.o stunnel-ssl.o stunnel-ctx.o stunnel-verify.o stunnel-sthreads.o stunnel-fd.o stunnel-dhparam.o stunnel-cron.o stunnel-stunnel.o stunnel-pty.o stunnel-libwrap.o stunnel-ui_unix.o  -L/usr/lib64 -L/usr/lib -lssl -lcrypto -ldl -lutil -lnsl -lwrap -pthread
stunnel-ctx.o: In function `sess_new_cb':
ctx.c:(.text+0xe89): undefined reference to `SSL_SESSION_up_ref'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:539: stunnel] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-misc/stunnel-5.45/work/stunnel-5.45/src'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-developer_libressl_20180512-235059

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.7.0 [icedtea-8]
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm

emerge -qpv net-misc/stunnel
[ebuild  N    ] net-misc/stunnel-5.45  USE="ipv6 libressl ssl tcpd (-selinux) -stunnel3"
Comment 1 Toralf Förster gentoo-dev 2018-05-24 17:09:25 UTC
Created attachment 532842 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-24 17:09:28 UTC
Created attachment 532844 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-05-24 17:09:31 UTC
Created attachment 532846 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-05-24 17:09:35 UTC
Created attachment 532848 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-05-24 17:09:37 UTC
Created attachment 532850 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-05-24 17:09:40 UTC
Created attachment 532852 [details]
net-misc:stunnel-5.45:20180523-233332.log
Comment 7 Toralf Förster gentoo-dev 2018-05-24 17:09:43 UTC
Created attachment 532854 [details]
temp.tbz2
Comment 8 Aaron Bauman (RETIRED) gentoo-dev 2019-02-16 19:39:34 UTC
net-misc/stunnel-5.45 and the latest 5.50 are still broken with =dev-libs/libressl-2.8.3
Comment 9 Larry the Git Cow gentoo-dev 2019-02-26 22:28:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=992eb4bfc2d96201fbc5587b5f29c9d81b278eb5

commit 992eb4bfc2d96201fbc5587b5f29c9d81b278eb5
Author:     Stefan Strogin <stefan.strogin@gmail.com>
AuthorDate: 2019-02-26 20:12:10 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2019-02-26 22:28:20 +0000

    net-misc/stunnel: update patch for LibreSSL support
    
    Probably won't work with <dev-libs/libressl-2.7.0 (if it ever worked).
    
    Closes: https://bugs.gentoo.org/656420
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/11164
    Signed-off-by: Aaron Bauman <bman@gentoo.org>

 net-misc/stunnel/files/stunnel-5.50-libressl.patch | 228 +++++++++++++++++++++
 ...{stunnel-5.50.ebuild => stunnel-5.50-r1.ebuild} |   6 +-
 2 files changed, 231 insertions(+), 3 deletions(-)
Comment 10 Anthony Basile gentoo-dev 2019-02-27 13:20:17 UTC
(In reply to Aaron Bauman from comment #8)
> net-misc/stunnel-5.45 and the latest 5.50 are still broken with
> =dev-libs/libressl-2.8.3

Thanks!  I'll give it a test later.