libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -O2 -pipe -march=native -c ssl.cpp -fPIC -DPIC -o .libs/ssl.o ssl.cpp: In member function ‘bool ost::SSLStream::getSession()’: ssl.cpp:358:23: error: ‘SSLv3_client_method’ was not declared in this scope ctx = SSL_CTX_new(SSLv3_client_method()); ^~~~~~~~~~~~~~~~~~~ ssl.cpp:358:23: note: suggested alternative: ‘SSLv23_client_method’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-developer_20181229-151642 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) [3] ruby26 (with Rubygems) * Available Rust versions: [1] rust-1.31.1 * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.9.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpvO dev-cpp/commoncpp2 [ebuild N ] dev-cpp/commoncpp2-1.8.1-r3 USE="ipv6 ssl -debug -doc -examples -gnutls -static-libs"
Created attachment 559594 [details] emerge-info.txt
Created attachment 559596 [details] dev-cpp:commoncpp2-1.8.1-r3:20190103-000708.log
Created attachment 559598 [details] emerge-history.txt
Created attachment 559600 [details] environment
Created attachment 559602 [details] etc.portage.tbz2
Created attachment 559604 [details] logs.tbz2
Created attachment 559606 [details] temp.tbz2
Exactly the same error with libressl-2.8.3. Can we add it to the tracker 651228? libtool: link: x86_64-pc-linux-gnu-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/crtbeginS.o .libs/thread.o .libs/mutex.o .libs/semaphore.o .libs/threadkey.o .libs/friends.o .libs/event.o .libs/slog.o .libs/dir.o .libs/file.o .libs/inaddr.o .libs/peer.o .libs/timer.o .libs/socket.o .libs/strchar.o .libs/simplesocket.o .libs/mempager.o .libs/keydata.o .libs/dso.o .libs/exception.o .libs/missing.o .libs/process.o .libs/string.o .libs/in6addr.o .libs/buffer.o .libs/lockfile.o .libs/nat.o .libs/runlist.o .libs/assoc.o .libs/pointer.o .libs/linked.o .libs/map.o .libs/cidr.o -Wl,--as-needed -lrt -lpthread -ldl -lssl -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../lib64/crtn.o -march=skylake -O2 -Wl,-O1 -pthread -pthread -Wl,-soname -Wl,libccgnu2-1.8.so.0 -o .libs/libccgnu2-1.8.so.0.0.1 ssl.cpp: In member function ‘bool ost::SSLStream::getSession()’: ssl.cpp:358:23: error: ‘SSLv3_client_method’ was not declared in this scope ctx = SSL_CTX_new(SSLv3_client_method()); ^~~~~~~~~~~~~~~~~~~ ssl.cpp:358:23: note: suggested alternative: ‘SSLv23_client_method’ ctx = SSL_CTX_new(SSLv3_client_method()); ^~~~~~~~~~~~~~~~~~~ SSLv23_client_method libtool: link: (cd ".libs" && rm -f "libccgnu2-1.8.so.0" && ln -s "libccgnu2-1.8.so.0.0.1" "libccgnu2-1.8.so.0") libtool: link: (cd ".libs" && rm -f "libccgnu2.so" && ln -s "libccgnu2-1.8.so.0.0.1" "libccgnu2.so") libtool: link: ( cd ".libs" && rm -f "libccgnu2.la" && ln -s "../libccgnu2.la" "libccgnu2.la" ) make[2]: *** [Makefile:708: ssl.lo] Error 1
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88ff70ab3b857a8e6aa63061028d8475b63816bc commit 88ff70ab3b857a8e6aa63061028d8475b63816bc Author: Stefan Strogin <stefan.strogin@gmail.com> AuthorDate: 2019-02-20 21:37:45 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2019-02-22 23:36:28 +0000 dev-cpp/commoncpp2: add patch for openssl-1.1 and libressl support SSLv3_client_method() is deprecated in openssl-1.1 and libressl. They suggest to use SSLv23_client_method. Closes: https://bugs.gentoo.org/674416 Package-Manager: Portage-2.3.61, Repoman-2.3.12 Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11120 Signed-off-by: Aaron Bauman <bman@gentoo.org> dev-cpp/commoncpp2/commoncpp2-1.8.1-r4.ebuild | 73 +++++++++++++++++++++++++++ dev-cpp/commoncpp2/files/1.8.1-libressl.patch | 15 ++++++ 2 files changed, 88 insertions(+)
I see that this was resolved for libressl, but I am seeing this issue right now with openssl-1.1.0j-r1. Did the patch miss this?
Never mind; sorry about that. The issue was there with the stable version (dev-cpp/commoncpp2-1.8.1-r3). Removing restriction for r4 to resolve the issue.