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

Bug 625450

Summary: www-servers/apache-2.4.27 : ssl_engine_init.c:105:7: error: BN_get_rfc3526_prime_8192 undeclared here (not in a function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED WONTFIX    
Severity: normal CC: roehner, sandino
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
www-servers:apache-2.4.27:20170716-233353.log
unified diff for Apache 2.4.26 (LibreSSL patch)
ebuild for Apache 2.4.27 with LibreSSL patch

Description Toralf Förster gentoo-dev 2017-07-17 17:05:12 UTC
                      ^~~~~~~~~~~
ssl_engine_init.c: At top level:
ssl_engine_init.c:105:7: error: ‘BN_get_rfc3526_prime_8192’ undeclared here (not in a function)
     { BN_get_rfc3526_prime_8192, NULL, 6145 },
       ^~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-plasma_libressl_20170716-132401

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

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

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

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.4.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-07-17 17:05:15 UTC
Created attachment 485334 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-17 17:05:18 UTC
Created attachment 485336 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-07-17 17:05:21 UTC
Created attachment 485338 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-07-17 17:05:24 UTC
Created attachment 485340 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-07-17 17:05:27 UTC
Created attachment 485342 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-17 17:05:30 UTC
Created attachment 485344 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-07-17 17:05:34 UTC
Created attachment 485346 [details]
www-servers:apache-2.4.27:20170716-233353.log
Comment 8 Dirk Best 2017-07-18 10:25:31 UTC
Patch here: https://bz.apache.org/bugzilla/attachment.cgi?id=35070

From: https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

This allows apache-2.4.27 to compile with libressl-2.6.0 on my system.
Comment 9 Sandino Araico Sanchez 2017-07-21 07:17:40 UTC
Created attachment 486254 [details, diff]
unified diff for Apache 2.4.26 (LibreSSL patch)

Patch from ASF bugzilla modified to apply cleanly with patch -p1
https://bz.apache.org/bugzilla/attachment.cgi?id=35070
Comment 10 Sandino Araico Sanchez 2017-07-21 07:22:33 UTC
Created attachment 486256 [details]
ebuild for Apache 2.4.27 with LibreSSL patch

Can you try this ebuild (and accompanied patch)?
It compiled successfully on my machine with LibreSSL 2.6.0 and gcc 6.
Comment 11 Pacho Ramos gentoo-dev 2018-03-20 14:14:43 UTC
*** Bug 643468 has been marked as a duplicate of this bug. ***