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

Bug 673800

Summary: app-emulation/virtualbox-6.0.0 : /.../ssl-openssl.cpp:275:17: error: BIO_up_ref was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal CC: steils
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854    
Attachments: emerge-info.txt
app-emulation:virtualbox-6.0.0:20181227-061650.log.bz2
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
virtualbox-6.0.0-libressl.patch

Description Toralf Förster gentoo-dev 2018-12-27 09:02:51 UTC
/var/tmp/portage/app-emulation/virtualbox-6.0.0/work/VirtualBox-6.0.0/src/VBox/Runtime/common/crypto/ssl-openssl.cpp: In function ‘int RTCrSslCreateSessionForNativeSocket(RTCRSSL, RTHCINTPTR, uint32_t, PRTCRSSLSESSION)’:
/var/tmp/portage/app-emulation/virtualbox-6.0.0/work/VirtualBox-6.0.0/src/VBox/Runtime/common/crypto/ssl-openssl.cpp:275:17: error: ‘BIO_up_ref’ was not declared in this scope
                 BIO_up_ref(pSession->pBio); /* our reference. */
                 ^~~~~~~~~~
/var/tmp/portage/app-emulation/virtualbox-6.0.0/work/VirtualBox-6.0.0/src/VBox/Runtime/common/crypto/ssl-openssl.cpp:275:17: note: suggested alternative: ‘DSA_up_ref’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_libressl-test_20181219-164705

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

  Please see the tracker bug for details.

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

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby24 (with Rubygems)
  [3]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.31.1
  [2]   rust-bin-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 app-emulation/virtualbox
[ebuild  N    ] app-emulation/virtualbox-6.0.0  USE="alsa libressl opengl opus pam qt5 sdk udev -debug -doc -headless -java -lvm -pax_kernel -pulseaudio -python -vboxwebsrv -vnc" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2018-12-27 09:02:54 UTC
Created attachment 558558 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-12-27 09:02:57 UTC
Created attachment 558560 [details]
app-emulation:virtualbox-6.0.0:20181227-061650.log.bz2
Comment 3 Toralf Förster gentoo-dev 2018-12-27 09:02:59 UTC
Created attachment 558562 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-12-27 09:03:02 UTC
Created attachment 558564 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-12-27 09:03:05 UTC
Created attachment 558566 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-12-27 09:03:08 UTC
Created attachment 558568 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-12-27 09:03:11 UTC
Created attachment 558570 [details]
temp.tbz2
Comment 8 Stefan Strogin gentoo-dev 2019-01-16 04:30:26 UTC
Created attachment 561410 [details, diff]
virtualbox-6.0.0-libressl.patch

The patch applies on virtualbox-6.0.2 as well.
I have also sent it upstream: https://www.virtualbox.org/pipermail/vbox-dev/2019-January/015178.html
Comment 9 Larry the Git Cow gentoo-dev 2019-01-16 12:02:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64ef1ea0da5b2f6698afdfd2c2204fa1b40f7e12

commit 64ef1ea0da5b2f6698afdfd2c2204fa1b40f7e12
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-01-16 12:01:30 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-01-16 12:02:39 +0000

    app-emulation/virtualbox: Fixed build against dev-libs/libressl.
    
    Closes: https://bugs.gentoo.org/673800
    Package-Manager: Portage-2.3.56, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../files/virtualbox-6.0.0-libressl.patch          | 24 ++++++++++++++++++++++
 app-emulation/virtualbox/virtualbox-6.0.0.ebuild   |  3 ++-
 app-emulation/virtualbox/virtualbox-6.0.2.ebuild   |  1 +
 3 files changed, 27 insertions(+), 1 deletion(-)