Port details on branch 2023Q2 |
- virtualbox-ose General-purpose full virtualizer for x86 hardware
- 6.1.44_2 emulators
=0 6.1.50_14Version of this port present on the latest quarterly branch. - Maintainer: vbox@FreeBSD.org
 - Port Added: 2023-05-15 19:00:12
- Last Update: 2023-06-01 14:57:11
- Commit Hash: a26a1d6
- License: GPLv2
- WWW:
- https://www.virtualbox.org/
- Description:
- Oracle VM VirtualBox is a hosted hypervisor for x86 virtualisation.
Supported guests include BSD, Haiku, Linux, OS/2, ReactOS, Solaris and
Windows.
Guest Additions are available from: emulators/virtualbox-ose-additions
For the Extension Pack: FreeBSD is not a supported host platform.
Installation of the Pack will not extend the feature set.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- virtualbox-ose>0:emulators/virtualbox-ose
- Conflicts:
- CONFLICTS_INSTALL:
- virtualbox-ose-additions-*
- virtualbox-ose-devel
- virtualbox-ose-legacy
- virtualbox-ose-lite
- virtualbox-ose-nox11
- To install the port:
- cd /usr/ports/emulators/virtualbox-ose/ && make install clean
- To add the package, run one of these commands:
- pkg install emulators/virtualbox-ose
- pkg install virtualbox-ose
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: virtualbox-ose
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: amd64
- distinfo:
- TIMESTAMP = 1683653391
SHA256 (VirtualBox-6.1.44.tar.bz2) = 34a0235d878165453f6a15e34d74ed19b8878afacbb34e6f3682556f3487a48c
SIZE (VirtualBox-6.1.44.tar.bz2) = 165775421
Packages (timestamps in pop-ups are UTC):
- Slave ports:
-
- emulators/virtualbox-ose-nox11
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- yasm : devel/yasm
- xsltproc : textproc/libxslt
- kmk : devel/kBuild
- gtar : archivers/gtar
- soapcpp2 : devel/gsoap
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.9 : lang/python39
- sdl-config : devel/sdl12
- xorgproto>=0 : x11/xorgproto
- xorgproto>=0 : x11/xorgproto
- xorgproto>=0 : x11/xorgproto
- xcb.pc : x11/libxcb
- x11.pc : x11/libX11
- xcursor.pc : x11/libXcursor
- xext.pc : x11/libXext
- xinerama.pc : x11/libXinerama
- xmu.pc : x11-toolkits/libXmu
- xt.pc : x11-toolkits/libXt
- qt5-buildtools>=5.15 : devel/qt5-buildtools
- lrelease : devel/qt5-linguisttools
- qt5-qmake>=5.15 : devel/qt5-qmake
- Runtime dependencies:
-
- vboxnet : emulators/virtualbox-ose-kmod
- xcb.pc : x11/libxcb
- x11.pc : x11/libX11
- xcursor.pc : x11/libXcursor
- xext.pc : x11/libXext
- xinerama.pc : x11/libXinerama
- xmu.pc : x11-toolkits/libXmu
- xt.pc : x11-toolkits/libXt
- Library dependencies:
-
- libpng.so : graphics/png
- libxslt.so : textproc/libxslt
- libcurl.so : ftp/curl
- libdbus-1.so : devel/dbus
- libvncserver.so : net/libvncserver
- libglib-2.0.so : devel/glib20
- libintl.so : devel/gettext-runtime
- libIDL-2.so : devel/libIDL
- libxml2.so : textproc/libxml2
- libGL.so : graphics/libglvnd
- libGLU.so : graphics/libGLU
- libSDL.so : devel/sdl12
- libQt5Core.so : devel/qt5-core
- libQt5DBus.so : devel/qt5-dbus
- libQt5Gui.so : x11-toolkits/qt5-gui
- libQt5OpenGL.so : graphics/qt5-opengl
- libQt5PrintSupport.so : print/qt5-printsupport
- libQt5Widgets.so : x11-toolkits/qt5-widgets
- libQt5X11Extras.so : x11/qt5-x11extras
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for virtualbox-ose-6.1.44_2:
AIO=on: Enable Asyncronous IO support (check pkg-message)
ALSA=off: ALSA audio architecture support
DBUS=on: D-Bus IPC system support
DEBUG=off: Debug symbols, additional logs and assertions
GUESTADDITIONS=off: Build with Guest Additions
MANUAL=off: Build with user manual
NLS=on: Native language support (requires QT5)
OPUS=off: Use libvpx for audio recording (requires VPX)
PYTHON=off: Python bindings or support
QT5=on: Build with QT5 frontend (requires X11)
R0LOGGING=off: Enable R0 logging (requires DEBUG)
UDPTUNNEL=on: Build with UDP tunnel support
VDE=off: Build with VDE support
VNC=on: Build with VNC support
VPX=off: Use libvpx for video recording
WEBSERVICE=on: Build Webservice
X11=on: X11 (graphics) support
===> Use 'make config' to modify these settings
- Options name:
- emulators_virtualbox-ose
- USES:
- compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2 python:build gl qmake:no_env qt:5 xorg sdl xorg
- pkg-message:
- For install:
- VirtualBox was installed.
You need to load the vboxdrv kernel module via /boot/loader.conf:
vboxdrv_load="YES"
You also have to add all users to your vboxusers group in order to use vbox.
% pw groupmod vboxusers -m jerry
Reboot the machine to load the needed kernel modules.
Bridging Support:
=================
For bridged networking please add the following line to your /etc/rc.conf:
vboxnet_enable="YES"
USB Support:
============
For USB support your user needs to be in the operator group and needs read
and write permissions to the USB device.
% pw groupmod operator -m jerry
Add the following to /etc/devfs.rules (create if it doesn't exist):
[system=10]
add path 'usb/*' mode 0660 group operator
To load these new rule add the following to /etc/rc.conf:
devfs_system_ruleset="system"
Then restart devfs to load the new rules:
% /etc/rc.d/devfs restart
Troubleshooting:
================
Running VirtualBox as non-root user may fail with a fatal error
NS_ERROR_FACTORY_NOT_REGISTERED. In this case delete /tmp/.vbox-*-ipc file.
If you experience "Network: write Failed: Cannot allocate memory" errors
try to increase net.graph.maxdata in /boot/loader.conf
If you are using AIO, then increase these limits (PR#168298):
vfs.aio.max_buf_aio=8192
vfs.aio.max_aio_queue_per_proc=65536
vfs.aio.max_aio_per_proc=8192
vfs.aio.max_aio_queue=65536
To check if AIO is used use: kldstat -v | grep aio
When assigning IP addresses in host-only mode from ranges outside
of VirtualBox's defaults, the respective ranges need to be listed
in /usr/local/etc/vbox/networks.conf (PR#259399).
Check wiki page for known issues and troubleshooting:
http://wiki.freebsd.org/VirtualBox
Please report any problems to emulation@. Thanks!
- If upgrading from < 6.1.22:
- The PULSEAUDIO option has been forcibly disabled since VirtualBox
version 6.1.24 due to a bug in it preventing virtual machines
configured to use it from starting.
When upgrading from a previous version please reconfigure any virtual
machines using the Pulseaudio host audio driver to use another
supported one.
- If upgrading from > 6.1.26 and < 6.1.32_1:
- To comply to hier(7) requirements, networks.conf's location changed
to /usr/local/etc/vbox/networks.conf.
In case /etc/vbox/networks.conf exists, it needs to be moved to
/usr/local/etc/vbox and /etc/vbox should be deleted.
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
6.1.44_2 01 Jun 2023 14:57:11
    |
Vladimir Druzenko (vvd)  |
emulators/virtualbox-ose: on 14 "Failed to construct device 'VMMDev' instance #0
(VERR_INTERNAL_ERROR_3)"
Force llvm from ports from 11 to 14 - by default it'll pick 14.
Use VBOX_LLVM_VER in make.conf to define different llvm.
PR: 270189
Reviewed by: cy, grahamperrin
Tested by: cy, grahamperrin, groenveld@acm.org, rkoberman@gmail.com
Approved by: arrowd
Differential Revision: https://reviews.freebsd.org/D40254
(cherry picked from commit e6b21a9e3f0a605c06d54737a8ff4d6db82dabe5) |
6.1.44 23 May 2023 18:27:50
    |
Vladimir Druzenko (vvd)  |
emulators/virtualbox-ose: error: use of undeclared identifier 'mempcpy'
1. There are no mempcpy on 12, on 13 before 1300513 and on 14 before 1400026.
Log with error is here:
https://lists.freebsd.org/archives/freebsd-pkg-fallout/2023-May/402233.html
2. 12 have llvm11 in base after 1203502 (llvm12 after 1203503 and llvm13
after 1203505), so not need to force build with llvm11 from ports.
Reported
by: https://portsfallout.com/fallout?port=emulators%2Fvirtualbox-ose%24
Reviewed by: rene
Approved by: arrowd (mentor), fuz
Differential Revision: https://reviews.freebsd.org/D40163
(cherry picked from commit a39a00bddf995d665bb4ba4e89d7403d14060a6f) |
6.1.44 15 May 2023 18:56:50
    |
Vladimir Druzenko (vvd)  |
emulators/virtualbox-ose{-*}: Update to 6.1.44
Changes: https://www.virtualbox.org/wiki/Changelog-6.1#v44
Author: lwhsu@FreeBSD.org
Note: BROKEN on 14
PR: 266907
Reported by: Ian Dickens <ian@south-border.com>
Approved by: arrowd (mentor), joneum (ports-secteam)
Differential Revision: https://reviews.freebsd.org/D40088
(cherry picked from commit 1d37fcd8316a078e512852b7c565b5b2cf2dcbcd) |