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

Bug 700348

Summary: net-misc/omniORB-4.1.4-r2 : ../.../sslContext.cc:364:5: error: invalid use of incomplete type DH {aka struct dh_st }
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 OBSOLETE    
Severity: normal CC: bkohler, blashyrkh
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-misc:omniORB-4.1.4-r2:20191116-235703.log
Patch to solve the problem

Description Toralf Förster gentoo-dev 2019-11-17 11:56:33 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2019-11-17 11:56:36 UTC
Created attachment 596474 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-11-17 11:56:39 UTC
Created attachment 596476 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-11-17 11:56:42 UTC
Created attachment 596478 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-11-17 11:56:45 UTC
Created attachment 596480 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-11-17 11:56:48 UTC
Created attachment 596482 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-11-17 11:56:50 UTC
Created attachment 596484 [details]
net-misc:omniORB-4.1.4-r2:20191116-235703.log
Comment 7 blashyrkh 2019-12-25 21:57:05 UTC
Created attachment 600610 [details, diff]
Patch to solve the problem

Here's my patch to solve the problem.