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

Bug 674246

Summary: www-servers/cherokee-1.2.104 : cryptor_libssl_dh_512.c:21:4: error: dereferencing pointer to incomplete type DH {aka struct dh_st }
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED OBSOLETE    
Severity: normal CC: rose, sandino, treecleaner
Priority: Normal Keywords: PATCH, PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/cherokee/webserver/pull/1196
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 592438    
Deadline: 2020-10-09   
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
www-servers:cherokee-1.2.104:20190101-074712.log
OpenSSL 1.1 support #1196 patch
ebuild with openssl-1.1 patch

Description Toralf Förster gentoo-dev 2019-01-01 11:14:53 UTC
In file included from cryptor_libssl.c:56:
cryptor_libssl_dh_512.c: In function ‘get_dh512’:
cryptor_libssl_dh_512.c:21:4: error: dereferencing pointer to incomplete type ‘DH’ {aka ‘struct dh_st’}
  dh->p=BN_bin2bn(dh512_p,sizeof(dh512_p),NULL);
    ^~
cryptor_libssl.c: In function ‘cherokee_cryptor_libssl_find_vserver’:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_20181228-192239

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

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)

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 www-servers/cherokee
[ebuild  N    ] www-servers/cherokee-1.2.104  USE="ipv6 ldap nls pam ssl -admin -debug -ffmpeg -geoip -libressl -mysql -php -rrdtool -static -static-libs" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2019-01-01 11:14:56 UTC
Created attachment 559314 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-01-01 11:14:58 UTC
Created attachment 559316 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-01-01 11:15:01 UTC
Created attachment 559318 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-01-01 11:15:05 UTC
Created attachment 559320 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-01-01 11:15:07 UTC
Created attachment 559322 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-01-01 11:15:10 UTC
Created attachment 559324 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-01-01 11:15:13 UTC
Created attachment 559328 [details]
www-servers:cherokee-1.2.104:20190101-074712.log
Comment 8 Andreas Sturmlechner gentoo-dev 2019-05-04 13:06:58 UTC
git master has had an openssl-1.1 PR merged...
Comment 9 Sandino Araico Sanchez 2019-10-08 09:19:15 UTC
Created attachment 592124 [details, diff]
OpenSSL 1.1 support #1196 patch

Patch from upstream repository https://github.com/cherokee/webserver/pull/1196 fixes OpenSSL 1.1 compilation.
Comment 10 Sandino Araico Sanchez 2019-10-08 09:25:10 UTC
Created attachment 592126 [details]
ebuild with openssl-1.1 patch

Upstream has not tagged a new release, but OpenSSL 1.1 fixes have already been merged in master.
This ebuild just adds the openssl-1.1 patch.

Tested on x86 with dev-libs/openssl-1.1.1d-r1.
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-10-09 07:24:32 UTC
Package removed.