Re: virtualbox-ose-kmod rc scripts

2014-05-28 Thread Bernhard Fröhlich
On Mon, May 26, 2014 at 4:25 PM, Warren Block wbl...@wonkity.com wrote:
 On Mon, 26 May 2014, Bernhard Fröhlich wrote:

 Am 26.05.2014 01:49 schrieb Dag-Erling Smørgrav d...@des.no:


 First of all, why is there a vboxnet rc script but not a vboxdrv rc
 script?

 Second, there is already support in /etc/rc.subr for checking whether a
 module is loaded, and loading it if it isn't.  Search for load_kld.
 There is no unload_kld, but IMHO you can just kldunload blindly.


 The vboxdrv module needs to be loaded via loader.conf or it can cause
 kernel panics. There are also some features that don't work properly if I
 remember correctly because of the startup order of startscripts so we
 can't
 use a rc script.


 Does it still do that?  Or maybe only on i386?  I've been reloading it after
 a rebuild for a long time now without problems, but maybe that was because
 it was on amd64 or just luck.

It's not quite as easy as that. We tried it two times already (back in
the old vbox
3.x days and last time around 4.0 I guess) and with both tests we ran into panic
reports from various people that we could not reproduce on any of our machines.

I don't remember the exact details about it anymore but there was another issue
with network interfaces coming up before vboxdrv and it was unable to see/use
the interface or so.

So it might be time to give it another try and see if we still run
into that issues.

-- 
Bernhard Fröhlich
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: Error installing 4.3.12_1

2014-05-28 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2014-05-26 16:06:16 -0400, Mike Jakubik wrote:
 Hello,
 
 I am trying to upgrade to the new realease, however the
 installation fails with this error. This is on 10.0-STABLE #0
 r266198.
 
 Thanks.
 
 [root@freebsd /usr/ports/emulators/virtualbox-ose]# make install 
 ===  Installing for virtualbox-ose-4.3.12_1 ===
 virtualbox-ose-4.3.12_1 depends on file: 
 /usr/local/etc/rc.d/vboxnet - found ===   virtualbox-ose-4.3.12_1
 depends on executable: cdrecord - found ===
 virtualbox-ose-4.3.12_1 depends on file: 
 /usr/local/libdata/pkgconfig/xcursor.pc - found ===
 virtualbox-ose-4.3.12_1 depends on file: 
 /usr/local/libdata/pkgconfig/xmu.pc - found ===
 virtualbox-ose-4.3.12_1 depends on file: 
 /usr/local/libdata/pkgconfig/xinerama.pc - found ===
 virtualbox-ose-4.3.12_1 depends on file: 
 /usr/local/lib/qt4/libQtGui.so - found ===
 virtualbox-ose-4.3.12_1 depends on file: 
 /usr/local/lib/qt4/libQtNetwork.so - found ===
 virtualbox-ose-4.3.12_1 depends on file: 
 /usr/local/lib/qt4/libQtOpenGL.so - found ===
 virtualbox-ose-4.3.12_1 depends on executable: 
 gtk-update-icon-cache - found ===   virtualbox-ose-4.3.12_1
 depends on shared library: libpng.so - found
 (/usr/local/lib/libpng15.so.15) ===   virtualbox-ose-4.3.12_1
 depends on shared library: libxslt.so - found
 (/usr/local/lib/libxslt.so.2) ===   virtualbox-ose-4.3.12_1
 depends on shared library: libcurl.so - found
 (/usr/local/lib/libcurl.so.7) ===   virtualbox-ose-4.3.12_1
 depends on shared library: libdbus-1.so - found
 (/usr/local/lib/libdbus-1.so.3.8.3) ===   virtualbox-ose-4.3.12_1
 depends on shared library: libSDL.so - found
 (/usr/local/lib/libSDL-1.2.so.11) ===   virtualbox-ose-4.3.12_1
 depends on shared library: libatk-1.0.so - found
 (/usr/local/lib/libatk-1.0.so.0) ===   virtualbox-ose-4.3.12_1
 depends on shared library: libgdk_pixbuf-2.0.so - found
 (/usr/local/lib/libgdk_pixbuf-2.0.so.0) ===
 virtualbox-ose-4.3.12_1 depends on shared library: libglib-2.0.so -
 found (/usr/local/lib/libglib-2.0.so.0) ===
 virtualbox-ose-4.3.12_1 depends on shared library: libpcre.so - 
 found (/usr/local/lib/libpcre.so.3) ===   virtualbox-ose-4.3.12_1
 depends on shared library: libIDL-2.so - found
 (/usr/local/lib/libIDL-2.so.0.0.0) ===   virtualbox-ose-4.3.12_1
 depends on shared library: libpango-1.0.so - found
 (/usr/local/lib/libpango-1.0.so.0.3400.1) ===  Checking if
 emulators/virtualbox-ose already installed ===   Registering
 installation for virtualbox-ose-4.3.12_1 pkg-static: 
 lstat(/usr/ports/emulators/virtualbox-ose/work/stage/usr/local/share/virtualbox-ose/sdk/bindings/):

 
No such file or directory
 pkg-static: 
 lstat(/usr/ports/emulators/virtualbox-ose/work/stage/usr/local/share/virtualbox-ose/sdk/):

 
No such file or directory
 *** Error code 74
 
 Stop. make[1]: stopped in /usr/ports/emulators/virtualbox-ose ***
 Error code 1
 
 Stop. make: stopped in /usr/ports/emulators/virtualbox-ose

Please try the attached patch.

Thanks,

Jung-uk Kim
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJThjNsAAoJEHyflib82/FGzPEH/icUoEARwYCBuGlPl+azHOzE
1sTWXnPH3DcXXGMiFiqRK/aIgd43IK1e3Xz6CD3cUxY1Bva0AnlB5RT6eWHqUTO2
ndFXCcNIfcFq4C/5E3NiHpsXy+tpF4xf3wz4xXVhSqyoEQZuEEgqZKqWEfcpcw9r
lUKWYbXb4f7719E+Mey/abPObQOYfAV5X0LqR47/v2zXnS3Fm0Zf7r/K19a9BSOQ
LWUJvb4ncKIJcBFFRTXFws6dUxjgxXQNxbF8Wv6WMvT24a+bF9syo4cEvkM5qfXr
C3+X3zjBX88MHf1nCfNMPnlbeJarXspgmAgJK0jV2Bo+ElCzqGl87d8wUp9jvho=
=ZuK1
-END PGP SIGNATURE-
Index: emulators/virtualbox-ose/Makefile
===
--- emulators/virtualbox-ose/Makefile	(revision 355647)
+++ emulators/virtualbox-ose/Makefile	(working copy)
@@ -158,6 +158,12 @@ USE_XORG=	xcursor xmu inputproto xinerama
 VBOX_FRONTENDS+=VBoxSDL
 .endif
 
+.if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE}
+PLIST_SUB+=	SDK=
+.else
+PLIST_SUB+=	SDK=@comment 
+.endif
+
 .if ${ARCH} == i386
 KMK_ARCH=	freebsd.x86
 PLIST_SUB+=	I386=
Index: emulators/virtualbox-ose/pkg-plist
===
--- emulators/virtualbox-ose/pkg-plist	(revision 355647)
+++ emulators/virtualbox-ose/pkg-plist	(working copy)
@@ -658,8 +658,8 @@ lib/virtualbox/components/VirtualBox_XPCOM.xpt
 %%PYTHON%%@dirrm %%DATADIR%%/sdk/bindings/xpcom/python
 %%PYTHON%%@dirrm %%DATADIR%%/sdk/bindings/xpcom
 %%WEBSERVICE%%@dirrm %%DATADIR%%/sdk/bindings/webservice
-@dirrmtry %%DATADIR%%/sdk/bindings
-@dirrmtry %%DATADIR%%/sdk
+%%SDK%%@dirrm %%DATADIR%%/sdk/bindings
+%%SDK%%@dirrm %%DATADIR%%/sdk
 @dirrm %%DATADIR%%/samples
 %%NLS%%@dirrm %%DATADIR%%/nls
 @dirrm %%DATADIR%%/idl
___
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: FreeBSD Port: emulators/virtualbox-ose

2014-05-28 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2014-05-27 22:09:21 -0400, Ron Thomas wrote:
 Virtualbox-ose-4.3.10_1 port won't compile Freebsd 9.2-RELEASE-p4 
 amd64
 
 Make config options: Debus Debug Guestadditions Python Udptunnel 
 Vnc
 
 Ran portmaster -f virtualbox-ose Error: cd 
 /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/out/freebsd.amd64/debug/bin/sdk/bindings/xpcom:

 
No such file or directory
Please try the attached patch.

Thanks,

Jung-uk Kim
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJThjPnAAoJEHyflib82/FGT34H/inVVA0ah1AQDdCbq/yvtSel
I4yr3Zy4whAVC1Db5tnAelgjG4oxvKdm3Wey/lA/NL8zxWimtnj8I7wUtGYkz8XW
yixxDpxtTxbrCzHNjZ3eppj50wIqjtk9yp8sCigNZWbPAPRVu9OzfNbygXDVxss6
YZxhqFY6sypa4XpovnJhvsq3q8txu/ij5Sbq16ykFxdsh5BVkOnznQdU2pE1sLVK
Xk237QDwwxg5wOrGvx87jD8j++TZO/VePGTytL+KUgtH22q2mqqPm6Yu4bJhhwIw
Djoq/PmZPt7jCj6tMTA+RXmgejOEMwOQ3F/vHDSldzAjJWboO2VUmzgc8nCCXWQ=
=E80B
-END PGP SIGNATURE-
Index: emulators/virtualbox-ose/Makefile
===
--- emulators/virtualbox-ose/Makefile	(revision 355647)
+++ emulators/virtualbox-ose/Makefile	(working copy)
@@ -241,12 +241,9 @@ post-patch:
 	@${ECHO} 'VBOX_ICONV_DEFS = LIBICONV_PLUG'  ${WRKSRC}/LocalConfig.kmk
 .endif
 
-pre-build:
-	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/env.sh
-
 do-build:
-	cd ${WRKSRC}  ${SH} env.sh  \
-	${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}
+	cd ${WRKSRC}  \
+	${SH} -c '. env.sh  ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}'
 .if ${PORT_OPTIONS:MPYTHON}
 	${PYTHON_CMD} -mcompileall ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom
 .endif
___
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/190058: emulators/linux-base-f10: kldload linux skipped in script, installing linux-base-f10 package

2014-05-28 Thread linimon
Synopsis: emulators/linux-base-f10: kldload linux skipped in script, installing 
linux-base-f10 package

Responsible-Changed-From-To: freebsd-ports-bugs-freebsd-emulation
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu May 29 04:21:38 UTC 2014
Responsible-Changed-Why: 
Over to maintainer(s).

http://www.freebsd.org/cgi/query-pr.cgi?pr=190058
___
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/190227: emulators/virtualbox-ose: virtualbox-ose-4.3.12_1 make install fails

2014-05-28 Thread edwin
Synopsis: emulators/virtualbox-ose: virtualbox-ose-4.3.12_1 make install fails

Responsible-Changed-From-To: freebsd-ports-bugs-vbox
Responsible-Changed-By: edwin
Responsible-Changed-When: Thu May 29 04:20:05 UTC 2014
Responsible-Changed-Why: 
Over to maintainer (via the GNATS Auto Assign Tool)

http://www.freebsd.org/cgi/query-pr.cgi?pr=190227
___
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