[Bug 261729] emulators/virtualbox-ose: VBoxSharedClipboard.so required for non-X11 builds
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Feb 2022 04:49:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261729
Bug ID: 261729
Summary: emulators/virtualbox-ose: VBoxSharedClipboard.so
required for non-X11 builds
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: vbox@FreeBSD.org
Reporter: dereks@lifeofadishwasher.com
Assignee: vbox@FreeBSD.org
Flags: maintainer-feedback?(vbox@FreeBSD.org)
When built without X11 support VBoxSharedClipboard.so is not included.
However, when trying to edit a running VM in phpvirtualbox ClipboardMode
setting will fail.
...
00:00:37.304454 SQW03 API method name:
IMachine::COMSETTER(ClipboardMode)
00:00:37.304474 SQW03 API return code: 0x80004005
(NS_ERROR_FAILURE)
...
You can simulate this by running 'VBoxManage controlvm <VM> clipboard mode
disabled':
$ VBoxManage controlvm <VMNAME> clipboard mode disabled
VBoxManage: error: Code NS_ERROR_FAILURE (0x80004005) - Operation failed
(extended info not available)
VBoxManage: error: Context: "COMSETTER(ClipboardMode)(mode)" at line 543 of
file VBoxManageControlVM.cpp
At some point vbox is trying to load VBoxSharedClipboard extension service.
Copying VBoxSharedClipboard.so from the FreeBSD repo package to
/usr/local/lib/virtualbox/ and reload the VM the modify to the running VM
applies without issue. Is is also true when running the above with the package
from FreeBSD pkg repo with the default options (this has X11 set).
With that said should VBoxSharedClipboard.so from pkg-plist be unconditionally
added?
-%%X11%%lib/virtualbox/VBoxSharedClipboard.so
+lib/virtualbox/VBoxSharedClipboard.so
There are ifdefs to not build code for clipboardboard support and make access
to it VERR_NOT_IMPLEMENTED however it appears to still build even with
Config.kmk and LocalConfig.kmk setting VBOX_WITH_SHARED_CLIPBOARD = 0.
--
You are receiving this mail because:
You are the assignee for the bug.