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

Bug 610808

Summary: net-libs/gloox-1.0.19 : tlsopensslbase.cpp:319:54: error: 'SSL_SESSION_get_protocol_version' was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED UPSTREAM    
Severity: normal CC: holgersson, polynomial-c
Priority: Normal Keywords: NeedPatch
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854    
Attachments: emerge-info.txt
config.log.tbz2
emerge-history.txt
environment
etc.portage.tbz2
net-libs:gloox-1.0.19:20170224-150745.log
net-libs:gloox-1.0.20:20170519-201042.log

Description Toralf Förster gentoo-dev 2017-02-24 15:17:04 UTC
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -pedantic -pipe -Wfloat-equal -Wcast-align -Wsign-compare -Wpointer-arith -Wswitch -Wunknown-pragmas -Wconversion -Wcast-qual -ansi -Wformat-security -Wundef -Wmissing-format-attribute -Wshadow -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wredundant-decls -Wformat=2 -Wold-style-cast -Wno-long-long -Wnon-virtual-dtor -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-shadow -pthread -Werror=terminate -O2 -pipe -march=native -ansi -c tlsopensslbase.cpp  -fPIC -DPIC -o .libs/tlsopensslbase.o
tlsopensslbase.cpp: In member function 'virtual bool gloox::OpenSSLBase::handshake()':
tlsopensslbase.cpp:319:54: error: 'SSL_SESSION_get_protocol_version' was not declared in this scope
       switch( SSL_SESSION_get_protocol_version( sess ) )
                                                      ^
make[3]: *** [Makefile:719: tlsopensslbase.lo] Error 1

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

  This is an unstable amd64 chroot image (named desktop-libressl-abi32+64_20170215-185650) at a hardened host acting as a tinderbox.

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.5 (fallback)
  [3]   python2.7 (fallback)
  [4]   jython2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 7.2.6.8 [icedtea-7]
2)	IcedTea JDK 7.2.6.8 [icedtea-bin-7]
3)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-7  system-vm
  [2]   icedtea-bin-7 
  [3]   icedtea-bin-8
Comment 1 Toralf Förster gentoo-dev 2017-02-24 15:17:08 UTC
Created attachment 465004 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-24 15:17:11 UTC
Created attachment 465006 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-02-24 15:17:14 UTC
Created attachment 465008 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-02-24 15:17:18 UTC
Created attachment 465010 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-02-24 15:17:21 UTC
Created attachment 465012 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-02-24 15:17:24 UTC
Created attachment 465014 [details]
net-libs:gloox-1.0.19:20170224-150745.log
Comment 7 Pacho Ramos gentoo-dev 2017-04-09 11:06:39 UTC
please retry with 1.0.20... anyway, I am unsure this is a gcc6 related issue, it looks related with openssl :/
Comment 8 Toralf Förster gentoo-dev 2017-04-09 11:22:20 UTC
same error with 1.0.20 - and I the removed blocker
Comment 9 Alessandro Barbieri 2017-05-19 20:18:29 UTC
Same here: version 1.0.20 and libressl
Comment 10 Alessandro Barbieri 2017-05-19 20:18:45 UTC
Created attachment 473390 [details]
net-libs:gloox-1.0.20:20170519-201042.log

libressl build failure
Comment 11 juneau_ 2018-12-20 23:50:53 UTC
Ping. Still no workarounds?
Comment 12 Pacho Ramos gentoo-dev 2019-01-12 10:05:54 UTC
Reporting to upstream could help
Comment 13 Stefan Strogin gentoo-dev 2019-08-28 15:44:56 UTC
SSL_SESSION_get_protocol_version is provided since libressl-2.7.