Re: VirtualBox errors when I try to run (dlopen(/usr/local/lib/virtualbox/VBoxRT.so, ))
On Sun, Dec 8, 2013 at 8:15 PM, Mark Felder f...@freebsd.org wrote: On Sat, Dec 7, 2013, at 2:02, Bernhard Fröhlich wrote: Am 06.12.2013 23:24 schrieb Eitan Adler li...@eitanadler.com: On Fri, Dec 6, 2013 at 4:04 PM, Bernhard Fröhlich de...@bluelife.at wrote: Am 06.12.2013 21:45 schrieb Eitan Adler li...@eitanadler.com: I get the following when try to run VirtualBox. VirtualBox: Error -610 in supR3HardenedMainInitRuntime! VirtualBox: dlopen(/usr/local/lib/virtualbox/VBoxRT.so,) failed: /usr/local/lib/compat/libstdc++.so.6: version GLIBCXX_3.4.15 required by /usr/local/lib/virtualbox/VBoxRT.so not found %pkg info -x compat9x compat9x-amd64-9.2.902000.201310 %pkg info -x virtualbox virtualbox-ose-4.2.18_1 virtualbox-ose-kmod-4.2.18 Any ideas how for to fix this? Deinstall the compat port(s) and it will work again. I need the compat port for Java. Is it possible to have VirtualBox ignore the compat libs? why is it looking their anyway? I think it's a similar problem as described in ports/182468 and for some reason rtld seems to pickup libs from compat which might be correct in general but it's causing problems for us. We discussed this in IRC the other day, Bernard. Look at the rpath ( readelf -d )of /usr/local/lib/virtualbox/VBoxRT.so -- it's wrong. It's only listing /usr/local/lib/virtualbox. /usr/ports/emulators/virtualbox-ose make -V LDFLAGS -Wl,-rpath=/usr/local/lib/gcc46 Why aren't the virtualbox binaries ignoring those LDFLAGS? Should be fixed in r336267 now. http://svnweb.freebsd.org/ports?view=revisionrevision=336267 -- Bernhard Froehlich http://www.bluelife.at/ ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: VirtualBox bridged network and 10.0
On Thu, 12 Dec 2013, Mikaël Urankar wrote: You need to have a valid /root/.VirtualBox/VirtualBox.xml file, see my previous mail: http://lists.freebsd.org/pipermail/freebsd-emulation/2013-November/011050.html Thank you, that works! I notice this file also exists on my 9.x system, with contents that indicate it was created by VirtualBox. Maybe the port should create this file? ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: VirtualBox bridged network and 10.0
On Thu, Dec 12, 2013 at 4:45 PM, Warren Block wbl...@wonkity.com wrote: On Thu, 12 Dec 2013, Mikaël Urankar wrote: You need to have a valid /root/.VirtualBox/VirtualBox.xml file, see my previous mail: http://lists.freebsd.org/pipermail/freebsd-emulation/2013-November/011050.html Thank you, that works! I notice this file also exists on my 9.x system, with contents that indicate it was created by VirtualBox. Maybe the port should create this file? No this was a bug and it's fixed in 4.2.20_1. If you are interested in the details: http://svnweb.freebsd.org/ports?view=revisionrevision=336267 -- Bernhard Froehlich http://www.bluelife.at/ ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: VirtualBox bridged network and 10.0
On Thu, 12 Dec 2013, Bernhard Fröhlich wrote: On Thu, Dec 12, 2013 at 4:45 PM, Warren Block wbl...@wonkity.com wrote: On Thu, 12 Dec 2013, Mikaël Urankar wrote: You need to have a valid /root/.VirtualBox/VirtualBox.xml file, see my previous mail: http://lists.freebsd.org/pipermail/freebsd-emulation/2013-November/011050.html Thank you, that works! I notice this file also exists on my 9.x system, with contents that indicate it was created by VirtualBox. Maybe the port should create this file? No this was a bug and it's fixed in 4.2.20_1. If you are interested in the details: http://svnweb.freebsd.org/ports?view=revisionrevision=336267 Excellent! Thank you! ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: [Call for Testers] VirtualBox 4.3.2 : Success
Hi, I just noticed that all programs that use qt4 segfault if they are built with GCC (4.6 or 4.8) and if the QT_PLUGIN_PATH contains /usr/local/kde4/lib/kde4/plugins. The same program built with clang works fine. I'm using current, I don't know if that affects stable or release. Mikaël ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: ports/183085: emulators/virtualbox-ose failed to work on FreeBSD 10-BETA1
Synopsis: emulators/virtualbox-ose failed to work on FreeBSD 10-BETA1 State-Changed-From-To: open-closed State-Changed-By: decke State-Changed-When: Thu Dec 12 15:29:57 UTC 2013 State-Changed-Why: A fix was committed. Thanks for the report! http://www.freebsd.org/cgi/query-pr.cgi?pr=183085 ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: ports/183085: commit references a PR
The following reply was made to PR ports/183085; it has been noted by GNATS. From: dfil...@freebsd.org (dfilter service) To: bug-follo...@freebsd.org Cc: Subject: Re: ports/183085: commit references a PR Date: Thu, 12 Dec 2013 15:29:09 + (UTC) Author: decke Date: Thu Dec 12 15:29:01 2013 New Revision: 336267 URL: http://svnweb.freebsd.org/changeset/ports/336267 Log: - Properly add $_GCC_RUNTIME to RPATH because that variable is evaluated after bsd.port.post.mk so it's hard to test for it. This fixes various issues that look like these ... VirtualBox: Error -610 in supR3HardenedMainInitRuntime! VirtualBox: dlopen(/usr/local/lib/virtualbox/VBoxRT.so,) failed: /usr/local/lib/compat/libstdc++.so.6: version GLIBCXX_3.4.15 required by /usr/local/lib/virtualbox/VBoxRT.so not found Type Manifest File: /root/.VirtualBox/xpti.dat nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded VBoxManage: error: Failed to create the VirtualBox object! VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available) VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start. PR: ports/182468 PR: ports/183085 Submitted by:bapt Modified: head/emulators/virtualbox-ose/Makefile Modified: head/emulators/virtualbox-ose/Makefile == --- head/emulators/virtualbox-ose/Makefile Thu Dec 12 15:24:47 2013 (r336266) +++ head/emulators/virtualbox-ose/Makefile Thu Dec 12 15:29:01 2013 (r336267) @@ -3,6 +3,7 @@ PORTNAME= virtualbox-ose DISTVERSION= 4.2.20 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://download.virtualbox.org/virtualbox/${DISTVERSION}/ \ http://tmp.chruetertee.ch/ \ @@ -46,7 +47,7 @@ HAS_CONFIGURE= yes CONFIGURE_ARGS+=--with-gcc=${CC} --with-g++=${CXX} --passive-mesa USE_LDCONFIG= ${PREFIX}/lib/virtualbox -CONFLICTS=bcc-[0-9]* compat9x-* +CONFLICTS=bcc-[0-9]* CONFLICTS_INSTALL=virtualbox-ose-devel-[3,4]* virtualbox-ose-legacy-[3,4]* virtualbox-ose-additions-[3,4]* virtualbox-ose-additions-devel-[3,4]* VBOXUSER?=vboxusers @@ -176,11 +177,7 @@ pre-everything:: post-patch: @${ECHO} 'VBOX_PATH_APP_PRIVATE_ARCH = ${PREFIX}/lib/virtualbox' ${WRKSRC}/LocalConfig.kmk @${ECHO} 'VBOX_PATH_SHARED_LIBS = ${PREFIX}/lib/virtualbox' ${WRKSRC}/LocalConfig.kmk -.if defined(_GCC_RUNTIME) - @${ECHO} 'VBOX_WITH_RUNPATH = ${_GCC_RUNTIME}:${PREFIX}/lib/virtualbox' ${WRKSRC}/LocalConfig.kmk -.else - @${ECHO} 'VBOX_WITH_RUNPATH = ${PREFIX}/lib/virtualbox' ${WRKSRC}/LocalConfig.kmk -.endif + @var=${_GCC_RUNTIME}; ${ECHO} VBOX_WITH_RUNPATH = $${var:+$${var}:}${PREFIX}/lib/virtualbox ${WRKSRC}/LocalConfig.kmk @${ECHO} 'VBOX_PATH_APP_PRIVATE = ${DATADIR}' ${WRKSRC}/LocalConfig.kmk @${ECHO} 'VBOX_PATH_APP_DOCS = ${DOCSDIR}' ${WRKSRC}/LocalConfig.kmk @${ECHO} 'VBOX_WITH_INSTALLER = 1' ${WRKSRC}/LocalConfig.kmk ___ svn-ports-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to svn-ports-all-unsubscr...@freebsd.org ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: ports/184023: emulators/virtualbox-ose doesn't compile on FreeBSD 11.0-CURRENT
Synopsis: emulators/virtualbox-ose doesn't compile on FreeBSD 11.0-CURRENT State-Changed-From-To: open-closed State-Changed-By: decke State-Changed-When: Thu Dec 12 16:02:20 UTC 2013 State-Changed-Why: Thanks! Patch was send upstream and committed in time for VirtualBox 4.3.4. http://www.freebsd.org/cgi/query-pr.cgi?pr=184023 ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: ports/184163: emulators/virtualbox-ose - failt port instalation
Synopsis: emulators/virtualbox-ose - failt port instalation State-Changed-From-To: open-closed State-Changed-By: decke State-Changed-When: Thu Dec 12 16:04:43 UTC 2013 State-Changed-Why: Closed per user request. http://www.freebsd.org/cgi/query-pr.cgi?pr=184163 ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: [Call for Testers] VirtualBox 4.3.2 : Success
2013/12/12 Bernhard Fröhlich de...@freebsd.org: Could you please do ldd /usr/local/bin/VirtualBox and send me the output? I have just committed a fix to the vbox 4.2.20_1 port that fixes an issue where vbox picks up incompatible libstdc++ and other shared objects which cause it to fail in strange ways (sometimes directly at startup or even at runtime). It could be that this bug is also because of that. You could try to install vbox 4.2.20_1 and see if that works or fails the same. Here are the results: /usr/local/bin/VirtualBox: libthr.so.3 = /lib/libthr.so.3 (0x800821000) libstdc++.so.6 = /usr/local/lib/gcc46/libstdc++.so.6 (0x800a46000) libm.so.5 = /lib/libm.so.5 (0x800d4a000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x800f7) libc.so.7 = /lib/libc.so.7 (0x80117d000) vbox 4.2.20_1 works fine, thanks! I've noticed this problem on misc/qt4-qtdemo, the first time it was built with clang and worked just fine, the second time with GCC (I've put USE_GCC= 4.6 in the Makefile) and one of the qt4-demo (I haven't tested them all) crashed. ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: ports/182468: commit references a PR
The following reply was made to PR ports/182468; it has been noted by GNATS. From: dfil...@freebsd.org (dfilter service) To: bug-follo...@freebsd.org Cc: Subject: Re: ports/182468: commit references a PR Date: Thu, 12 Dec 2013 15:29:09 + (UTC) Author: decke Date: Thu Dec 12 15:29:01 2013 New Revision: 336267 URL: http://svnweb.freebsd.org/changeset/ports/336267 Log: - Properly add $_GCC_RUNTIME to RPATH because that variable is evaluated after bsd.port.post.mk so it's hard to test for it. This fixes various issues that look like these ... VirtualBox: Error -610 in supR3HardenedMainInitRuntime! VirtualBox: dlopen(/usr/local/lib/virtualbox/VBoxRT.so,) failed: /usr/local/lib/compat/libstdc++.so.6: version GLIBCXX_3.4.15 required by /usr/local/lib/virtualbox/VBoxRT.so not found Type Manifest File: /root/.VirtualBox/xpti.dat nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded VBoxManage: error: Failed to create the VirtualBox object! VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available) VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start. PR: ports/182468 PR: ports/183085 Submitted by:bapt Modified: head/emulators/virtualbox-ose/Makefile Modified: head/emulators/virtualbox-ose/Makefile == --- head/emulators/virtualbox-ose/Makefile Thu Dec 12 15:24:47 2013 (r336266) +++ head/emulators/virtualbox-ose/Makefile Thu Dec 12 15:29:01 2013 (r336267) @@ -3,6 +3,7 @@ PORTNAME= virtualbox-ose DISTVERSION= 4.2.20 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://download.virtualbox.org/virtualbox/${DISTVERSION}/ \ http://tmp.chruetertee.ch/ \ @@ -46,7 +47,7 @@ HAS_CONFIGURE= yes CONFIGURE_ARGS+=--with-gcc=${CC} --with-g++=${CXX} --passive-mesa USE_LDCONFIG= ${PREFIX}/lib/virtualbox -CONFLICTS=bcc-[0-9]* compat9x-* +CONFLICTS=bcc-[0-9]* CONFLICTS_INSTALL=virtualbox-ose-devel-[3,4]* virtualbox-ose-legacy-[3,4]* virtualbox-ose-additions-[3,4]* virtualbox-ose-additions-devel-[3,4]* VBOXUSER?=vboxusers @@ -176,11 +177,7 @@ pre-everything:: post-patch: @${ECHO} 'VBOX_PATH_APP_PRIVATE_ARCH = ${PREFIX}/lib/virtualbox' ${WRKSRC}/LocalConfig.kmk @${ECHO} 'VBOX_PATH_SHARED_LIBS = ${PREFIX}/lib/virtualbox' ${WRKSRC}/LocalConfig.kmk -.if defined(_GCC_RUNTIME) - @${ECHO} 'VBOX_WITH_RUNPATH = ${_GCC_RUNTIME}:${PREFIX}/lib/virtualbox' ${WRKSRC}/LocalConfig.kmk -.else - @${ECHO} 'VBOX_WITH_RUNPATH = ${PREFIX}/lib/virtualbox' ${WRKSRC}/LocalConfig.kmk -.endif + @var=${_GCC_RUNTIME}; ${ECHO} VBOX_WITH_RUNPATH = $${var:+$${var}:}${PREFIX}/lib/virtualbox ${WRKSRC}/LocalConfig.kmk @${ECHO} 'VBOX_PATH_APP_PRIVATE = ${DATADIR}' ${WRKSRC}/LocalConfig.kmk @${ECHO} 'VBOX_PATH_APP_DOCS = ${DOCSDIR}' ${WRKSRC}/LocalConfig.kmk @${ECHO} 'VBOX_WITH_INSTALLER = 1' ${WRKSRC}/LocalConfig.kmk ___ svn-ports-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to svn-ports-all-unsubscr...@freebsd.org ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: ports/184012: emulators/virtualbox-ose doesn't compile on 10.0
Synopsis: emulators/virtualbox-ose doesn't compile on 10.0 State-Changed-From-To: open-closed State-Changed-By: decke State-Changed-When: Thu Dec 12 16:03:29 UTC 2013 State-Changed-Why: Committed as part of the 4.2.20 update. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=184012 ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
virtualbox-ose segfaults on 10.0
I cannot get the qt4 interface to start in FreeBSD 10. VboxManage seems to work fine. This was just tested with the latest port a few hours ago after Makefile change 336267 Virtualbox 4.2.20. Below is a backtrace. Joe Maloney [jmaloney@jm-desk-pc] ~% sudo gdb /usr/local/lib/virtualbox/VirtualBox GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as amd64-marcel-freebsd... (gdb) run Starting program: /usr/local/lib/virtualbox/VirtualBox [New LWP 101456] [New Thread 801c06400 (LWP 101456/VirtualBox)] Type Manifest File: /root/.VirtualBox/xpti.dat nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) [New Thread 801c11400 (LWP 100154/VirtualBox)] [New Thread 801c0b400 (LWP 101680/VirtualBox)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 801c06400 (LWP 101456/VirtualBox)] 0x in ?? () (gdb) backtrace #0 0x in ?? () #1 0x000800afc072 in __dynamic_cast (src_ptr=0x7fffc7d0, src_type=0x8080087c0, dst_type=0x808d1cea0, src2dst=0) at ../../.././../gcc-4.6.4/libstdc++-v3/libsupc++/dyncast.cc:61 #2 0x00081142e759 in QtCurve::Style::eventFilter () from /usr/local/lib/qt4/plugins/styles/qtcurve.so #3 0x000807c987cd in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/local/lib/qt4/libQtCore.so.4 #4 0x00080822750a in QApplicationPrivate::notify_helper () from /usr/local/lib/qt4/libQtGui.so.4 #5 0x00080822a1f8 in QApplication::notify () from /usr/local/lib/qt4/libQtGui.so.4 #6 0x000807c984e5 in QCoreApplication::notifyInternal () from /usr/local/lib/qt4/libQtCore.so.4 #7 0x000808266ec8 in QWidgetPrivate::propagatePaletteChange () from /usr/local/lib/qt4/libQtGui.so.4 #8 0x00080826baa1 in QWidget::setBackgroundRole () from /usr/local/lib/qt4/libQtGui.so.4 #9 0x00081142a33f in QtCurve::Style::polish () from /usr/local/lib/qt4/plugins/styles/qtcurve.so #10 0x000808273e21 in QWidget::event () from /usr/local/lib/qt4/libQtGui.so.4 #11 0x00080864567f in QMenuBar::event () from /usr/local/lib/qt4/libQtGui.so.4 #12 0x00080822751b in QApplicationPrivate::notify_helper () from /usr/local/lib/qt4/libQtGui.so.4 #13 0x00080822a1f8 in QApplication::notify () from /usr/local/lib/qt4/libQtGui.so.4 #14 0x000807c984e5 in QCoreApplication::notifyInternal () from /usr/local/lib/qt4/libQtCore.so.4 #15 0x00080826965e in QWidget::ensurePolished () from /usr/local/lib/qt4/libQtGui.so.4 #16 0x00080826970f in QWidget::ensurePolished () from /usr/local/lib/qt4/libQtGui.so.4 #17 0x00080824f39d in QLayout::totalMinimumSize () from /usr/local/lib/qt4/libQtGui.so.4 #18 0x000808273569 in QWidget::minimumSizeHint () from /usr/local/lib/qt4/libQtGui.so.4 #19 0x00080548c8cc in UISelectorWindow::loadSettings (this=0x801ed4000) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp:135 #20 0x000805485d4e in UISelectorWindow (this=0x801ed4000, ppSelf=0x805c98300, pParent=0x0, flags={i = -10976}) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp:102 #21 0x0008053d32fa in VBoxGlobal::selectorWnd (this=0x805c981e0) from /usr/local/lib/virtualbox/VirtualBox.so #22 0x000805367f84 in TrustedMain (argc=1, argv=0x7fffd8b8) at qglobal.h:1510 #23 0x004024cb in SUPR3HardenedMain (pszProgName=0x404d14 VirtualBox, fFlags=1, argc=1, argv=0x7fffd8b8, envp=0x7fffd8c8) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp:346 #24 0x004013cf in main (argc=1, argv=0x7fffd8b8, envp=0x7fffd8c8) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Frontends/VirtualBox/src/hardenedmain.cpp:32 ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org