Bug 218795 - emulators/virtualbox-ose: QT4 based frontend fails to start due unresolved symbols
Summary: emulators/virtualbox-ose: QT4 based frontend fails to start due unresolved sy...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Jung-uk Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-21 15:56 UTC by oleg.nauman
Modified: 2017-04-21 17:50 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (vbox)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 freebsd_triage 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 freebsd_triage 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 freebsd_triage 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.