Bug 218795

Summary: emulators/virtualbox-ose: QT4 based frontend fails to start due unresolved symbols
Product: Ports & Packages Reporter: oleg.nauman
Component: Individual Port(s)Assignee: Jung-uk Kim <jkim>
Status: Closed FIXED    
Severity: Affects Only Me CC: jkim, w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (vbox)
Version: Latest   
Hardware: amd64   
OS: Any   

Description oleg.nauman 2017-04-21 15:56:13 UTC
> VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/local/lib/virtualbox/VirtualBox.so",) failed: /usr/local/lib/virtualbox/VirtualBox.so: Undefined symbol "_ZN13UIMiniToolBar19sltAdjustTransienceEv"

>pkg info virtualbox-ose
virtualbox-ose-5.1.20
Name           : virtualbox-ose
Version        : 5.1.20
Installed on   : Thu Apr 20 09:29:00 2017 EEST
Origin         : emulators/virtualbox-ose
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : emulators
Licenses       : GPLv2
Maintainer     : vbox@FreeBSD.org
WWW            : http://www.virtualbox.org/
Comment        : General-purpose full virtualizer for x86 hardware
Options        :
        ALSA           : off
        DBUS           : on
        DEBUG          : off
        GUESTADDITIONS : off
        MANUAL         : on
        NLS            : off
        PULSEAUDIO     : off
        PYTHON         : on
        QT4            : on
        QT5            : off
        R0LOGGING      : off
        UDPTUNNEL      : off
        VDE            : off
        VNC            : off
        VPX            : off
        WEBSERVICE     : off
        X11            : on
Comment 1 Jung-uk Kim freebsd_committer freebsd_triage 2017-04-21 16:21:12 UTC
My fault.  I'll take it.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-04-21 16:44:10 UTC
A commit references this bug:

Author: jkim
Date: Fri Apr 21 16:43:28 UTC 2017
New revision: 439099
URL: https://svnweb.freebsd.org/changeset/ports/439099

Log:
  Add a forgotten Qt4 patch in the previous commit.

  Pointyhat to:	jkim
  PR:		218795

Changes:
  head/emulators/virtualbox-ose/Makefile
  head/emulators/virtualbox-ose/files/extrapatch-src_VBox_Frontends_VirtualBox_src_widgets_UIMiniToolBar.h
Comment 3 Jung-uk Kim freebsd_committer freebsd_triage 2017-04-21 16:45:44 UTC
Fixed and tested.  Sorry for the breakage.
Comment 4 Walter Schwarzenfeld 2017-04-21 17:09:17 UTC
Ok, but it was my error. Overlooked the UIMiniToolBar.h in the other PR.
Sorry for this.
Comment 5 Walter Schwarzenfeld 2017-04-21 17:34:25 UTC
But it is interesting. The shared library (VirtualBox.so) has still the symbol.
But it started on 10.3 without problem. It should also make a error message.
Comment 6 Walter Schwarzenfeld 2017-04-21 17:37:59 UTC
correct
the shared library had ....
Comment 7 Jung-uk Kim freebsd_committer freebsd_triage 2017-04-21 17:50:43 UTC
Committed.