x86_64-pc-linux-gnu-g++ -c -fPIC -O2 -pipe -march=native -Wall -Wno-unused -fexceptions -I.. -I../../../../../../src/lib/omniORB/orbcore/ssl/.. -I../../../../../include/omniORB4/internal -I../../../../../../include/omniORB4/internal -D_OMNIORB_SSL_LIBRARY -D__OMNIORB4__ -I../../../../../stub -D_REENTRANT -I/usr/include -I. -I../../../../../../src/lib/omniORB/orbcore/ssl -I../../../../../include -I../../../../../../include -D__OSVERSION__=2 -D__linux__ -D__x86_64__ -o shared/sslContext.o ../../../../../../src/lib/omniORB/orbcore/ssl/sslContext.cc ../../../../../../src/lib/omniORB/orbcore/ssl/sslContext.cc: In member function ‘virtual void sslContext::set_DH()’: ../../../../../../src/lib/omniORB/orbcore/ssl/sslContext.cc:364:5: error: invalid use of incomplete type ‘DH’ {aka ‘struct dh_st’} 364 | dh->p = BN_bin2bn(dh512_p, sizeof(dh512_p), 0); | ^~ In file included from /usr/include/openssl/crypto.h:25, ------------------------------------------------------------------- This is an stable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-stable-20191112-112641 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 8.0.1 (tags/RELEASE_801/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/8/bin llvm: 8.0.1 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) * Available Rust versions: [1] rust-1.37.0 * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.13.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sat, 16 Nov 2019 22:46:12 +0000 emerge -qpvO net-misc/omniORB [ebuild N ] net-misc/omniORB-4.1.4-r2 USE="ssl -doc -static-libs" PYTHON_TARGETS="python2_7"
Created attachment 596474 [details] emerge-info.txt
Created attachment 596476 [details] emerge-history.txt
Created attachment 596478 [details] environment
Created attachment 596480 [details] etc.portage.tbz2
Created attachment 596482 [details] logs.tbz2
Created attachment 596484 [details] net-misc:omniORB-4.1.4-r2:20191116-235703.log
Created attachment 600610 [details, diff] Patch to solve the problem Here's my patch to solve the problem.