Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2013 15:30:02 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        vbox@FreeBSD.org
Subject:   Re: ports/183085: commit references a PR
Message-ID:  <201312121530.rBCFU2HE071019@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/183085; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/183085: commit references a PR
Date: Thu, 12 Dec 2013 15:29:09 +0000 (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-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312121530.rBCFU2HE071019>